Function at 0x4a13d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x22a8
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x22a4], eax
mov eax, dword [esp + 0x22ac]
mov ecx, dword [esp + 0x22b4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x22bc]
mov dword [esp + 8], eax
movzx eax, word [ecx]
mov byte [esp + 3], 0
mov edx, eax
cmp eax, 0x2b
jne 0x4a1420
movzx edx, word [ecx + 2]
add ecx, 2
mov byte [esp + 3], 1
test dx, dx
jne 0x4a142a
mov ecx, str.yyyymmddhhmmss
push ebx
push ebp
push esi
push edi
push 0x80
push ecx
lea eax, [esp + 0xbc]
push eax
call fcn.004bd090
xor cl, cl
xor ebp, ebp
xor ebx, ebx
mov byte [esp + 0x12], cl
mov dword [esp + 0x14], ebp
cmp word [esp + 0xb4], bx
je 0x4a14a8
lea edi, [ebp + 0x49]
lea esp, [esp]
lea esi, [esp + 0xb4]
movzx eax, word [esi + ebx*2]
lea esi, [esi + ebx*2]
cmp eax, 0x7b
je 0x4a15c6
cmp eax, 0x7d
je 0x4a15c3
test cl, cl
jne 0x4a149c
push eax
call fcn.004c10e0
cmp eax, 0x48
jne 0x4a14ea
mov ebp, 2
mov dword [esp + 0x14], ebp
mov cl, byte [esp + 0x12]
inc ebx
cmp word [esp + ebx*2 + 0xb4], 0
jne 0x4a1460
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004be820
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
call fcn.004be260
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x4a15d2
xor eax, eax
mov word [esp + 0x12b4], ax
jmp 0x4a15f3
cmp eax, 0x44
je 0x4a1503
cmp eax, 0x59
je 0x4a1503
test ebp, ebp
je 0x4a1509
cmp eax, 0x4d
jne 0x4a1509
mov word [esi], di
dec ebp
jmp 0x4a1494
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp eax, 0x4e
jne 0x4a1498
push dword [esp + 0x22c8]
call fcn.004bc8a0
movzx ecx, word [esi]
mov ebp, eax
push ecx
xor edi, edi
call fcn.004c10e0
cmp eax, 0x4e
jne 0x4a154d
lea esp, [esp]
movzx eax, word [esi + 2]
lea esi, [esi + 2]
push eax
inc edi
call fcn.004c10e0
cmp eax, 0x4e
je 0x4a1530
lea esi, [esp + 0xb4]
lea esi, [esi + ebx*2]
cmp edi, ebp
jae 0x4a15a9
lea eax, [edi + ebx]
lea edx, [esp + 0xb4]
lea edx, [edx + eax*2]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1563
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea ecx, [esp + 0xb8]
lea eax, [ebx + ebp]
push edx
lea eax, [ecx + eax*2]
push eax
call fcn.00531230
add esp, 0xc
test ebp, ebp
je 0x4a15ab
mov ecx, ebp
mov eax, 0x4e004e
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x4a15ab
mov ebp, edi
mov eax, dword [esp + 0x18]
dec ebp
add ebx, ebp
mov edi, 0x49
mov ebp, dword [esp + 0x14]
mov byte [eax], 1
jmp 0x4a1498
cmp eax, 0x7b
sete cl
mov byte [esp + 0x12], cl
jmp 0x4a149c
push ebp
call fcn.004a2d90
push 0x2e
push eax
call fcn.00531a1b
mov esi, eax
add esp, 8
xor eax, eax
mov word [esp + 0x12b4], ax
test esi, esi
jne 0x4a161e
push ebp
call fcn.004a2d90
cmp word [eax], 0
mov eax, 0x557b94
je 0x4a1609
mov eax, 0x557718
push 0x800
push eax
lea eax, [esp + 0x12bc]
push eax
call fcn.004bd090
jmp 0x4a1636
push 0x800
push esi
lea eax, [esp + 0x12bc]
push eax
call fcn.004bd090
xor eax, eax
mov word [esi], ax
mov eax, dword [esp + 0x48]
mov edi, 6
test eax, eax
je 0x4a1646
lea edi, [eax - 1]
mov esi, dword [esp + 0x4c]
sub esi, edi
jns 0x4a1671
cmp esi, 0xfffffffc
jg 0x4a17f6
mov eax, dword [esp + 0x2c]
dec eax
push eax
call fcn.004be690
xor ecx, ecx
test al, al
setne cl
add ecx, 0x16d
add esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
lea ebx, [ecx + 1]
sub esi, eax
cmp esi, 4
jl 0x4a169a
lea ebx, [ecx + 2]
push dword [esp + 0x2c]
lea eax, [esp + 0x7c]
push str._04u
push eax
call fcn.004634b0
push dword [esp + 0x3c]
lea eax, [esp + 0x8e]
push str._02u
push eax
call fcn.004634b0
push dword [esp + 0x4c]
lea eax, [esp + 0xa0]
push str._02u
push eax
call fcn.004634b0
push dword [esp + 0x5c]
lea eax, [esp + 0xb2]
push str._02u
push eax
call fcn.004634b0
push dword [esp + 0x6c]
lea eax, [esp + 0xc4]
push str._02u
push eax
call fcn.004634b0
push dword [esp + 0x7c]
lea eax, [esp + 0xd6]
push str._02u
push eax
call fcn.004634b0
add esp, 0x48
lea eax, [esp + 0x9c]
push ebx
push str._02u
push eax
call fcn.004634b0
lea eax, [edi + 1]
push eax
lea eax, [esp + 0xb2]
push 0x567578
push eax
call fcn.004634b0
mov eax, dword [esp + 0x64]
inc eax
push eax
lea eax, [esp + 0xc4]
push str._03u
push eax
call fcn.004634b0
push dword [esp + 0x22ec]
lea eax, [esp + 0xd6]
push str._05u
push eax
call fcn.004634b0
xor eax, eax
add esp, 0x30
mov dword [esp + 0x50], eax
xor bl, bl
mov dword [esp + 0x54], eax
xor esi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov ax, word [esp + 0xb4]
test ax, ax
je 0x4a181e
movzx ecx, ax
lea esp, [esp]
movzx eax, cx
cmp eax, 0x7b
je 0x4a1803
cmp eax, 0x7d
je 0x4a1800
test bl, bl
jne 0x4a1806
push eax
call fcn.004c10e0
push eax
push str.YMDHISWAEN
call fcn.00530cd5
add esp, 8
test eax, eax
je 0x4a1806
sub eax, str.YMDHISWAEN
sar eax, 1
inc dword [esp + eax*4 + 0x50]
jmp 0x4a1806
mov ebx, 1
jmp 0x4a169a
cmp eax, 0x7b
sete bl
movzx eax, word [esp + esi*2 + 0xb6]
inc esi
mov ecx, eax
test ax, ax
jne 0x4a17c0
mov ax, word [esp + 0xb4]
xor ecx, ecx
xor esi, esi
mov word [esp + 0x1b4], cx
mov byte [esp + 0x12], cl
test ax, ax
je 0x4a19bd
lea edi, [esp + 0xb6]
lea ebx, [esp + 0xb4]
mov dword [esp + 0x14], edi
lea ebp, [esp + 0xb8]
cmp esi, 0x7f
jae 0x4a19b9
movzx eax, word [ebx]
cmp eax, 0x7b
je 0x4a199d
cmp eax, 0x7d
je 0x4a199a
push eax
call fcn.004c10e0
push eax
push str.YMDHISWAEN
call fcn.00530cd5
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4a1962
cmp byte [esp + 0x12], 0
jne 0x4a1962
sub ecx, str.YMDHISWAEN
lea edi, [esp + 0x78]
sar ecx, 1
lea edx, [ecx + ecx*2]
add edx, edx
add edi, edx
mov dword [esp + 0x18], edx
lea eax, [edi + 1]
mov dword [esp + 0x20], eax
mov al, byte [edi]
inc edi
test al, al
jne 0x4a18b5
sub edi, dword [esp + 0x20]
mov eax, dword [esp + ecx*4 + 0x50]
sub edi, eax
dec eax
mov dword [esp + ecx*4 + 0x50], eax
cmp ecx, 1
jne 0x4a1946
cmp eax, 2
jne 0x4a1946
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
push eax
call fcn.004c10e0
cmp eax, 0x4d
jne 0x4a1942
movzx eax, word [ebp]
push eax
call fcn.004c10e0
cmp eax, 0x4d
jne 0x4a1942
mov eax, 0x80
sub eax, esi
push eax
mov eax, dword [esp + 0x34]
dec eax
push eax
call fcn.004be490
push eax
lea eax, [esp + 0x1bc]
lea eax, [eax + esi*2]
push eax
call fcn.004bd090
lea esi, [esp + 0x1b4]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a1924
mov edi, dword [esp + 0x14]
sub esi, ecx
sar esi, 1
add edi, 4
add ebp, 4
add ebx, 4
jmp 0x4a19a2
mov edx, dword [esp + 0x18]
test edi, edi
jns 0x4a1953
mov ax, word [ebx]
mov edi, dword [esp + 0x14]
jmp 0x4a1977
lea eax, [edx + edi]
mov edi, dword [esp + 0x14]
movsx ax, byte [esp + eax + 0x78]
jmp 0x4a1977
movzx eax, word [ebx]
mov word [esp + esi*2 + 0x1b4], ax
cmp eax, 0x3a
jne 0x4a197f
mov eax, 0x5f
mov word [esp + esi*2 + 0x1b4], ax
inc esi
lea eax, [esi + esi]
cmp eax, 0x100
jae 0x4a1ace
xor ecx, ecx
mov word [esp + eax + 0x1b4], cx
jmp 0x4a19a2
cmp eax, 0x7b
sete byte [esp + 0x12]
add ebx, 2
add edi, 2
add ebp, 2
mov dword [esp + 0x14], edi
cmp word [ebx], 0
jne 0x4a1850
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x13], 0
je 0x4a1a8e
push ebp
call fcn.004a2d90
sub eax, ebp
sar eax, 1
cmp eax, 0x7ff
jbe 0x4a19e0
mov esi, 0x7ff
jmp 0x4a19ec
push ebp
call fcn.004a2d90
mov esi, eax
sub esi, ebp
sar esi, 1
push esi
lea eax, [esp + 0x2b8]
push ebp
push eax
call fcn.00538bb7
add esp, 0xc
lea ecx, [esp + 0x2b4]
xor eax, eax
lea edx, [ecx + 2]
mov word [esp + esi*2 + 0x2b4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1a12
sub ecx, edx
sar ecx, 1
je 0x4a1a43
cmp word [esp + ecx*2 + 0x2b2], 0x5c
je 0x4a1a43
lea eax, [ecx + 1]
cmp eax, 0x800
jae 0x4a1a43
mov dword [esp + ecx*2 + 0x2b4], 0x5c
push 0x800
lea eax, [esp + 0x1b8]
push eax
lea eax, [esp + 0x2bc]
push eax
call fcn.004bd030
push 0x800
push ebp
call fcn.004a2d90
push eax
lea eax, [esp + 0x2bc]
push eax
call fcn.004bd030
mov esi, dword [esp + 0x22c0]
lea eax, [esp + 0x2b4]
push esi
push eax
push ebp
call fcn.004bd090
jmp 0x4a1aa4
mov esi, dword [esp + 0x22c0]
lea eax, [esp + 0x1b4]
push esi
push eax
push ebp
call fcn.004bd030
push esi
lea eax, [esp + 0x12b8]
push eax
push ebp
call fcn.004bd030
mov ecx, dword [esp + 0x22b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x22a8
ret 0x14
call fcn.0052f62d
int3