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

Disassembly:
mov eax, 0x22dc
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x22d8], eax
mov eax, dword [esp + 0x22e0]
mov ecx, dword [esp + 0x22e8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x22f0]
mov dword [esp + 8], eax
movzx eax, word [ecx]
mov byte [esp + 3], 0
mov edx, eax
cmp eax, 0x2b
jne 0x4a1dd0
movzx edx, word [ecx + 2]
add ecx, 2
mov byte [esp + 3], 1
test dx, dx
jne 0x4a1dda
mov ecx, str.yyyymmddhhmmss
push ebx
push ebp
push esi
push edi
push 0x80
push ecx
lea eax, [esp + 0xf0]
push eax
call fcn.004bdae0
xor cl, cl
xor ebp, ebp
xor ebx, ebx
mov byte [esp + 0x12], cl
mov dword [esp + 0x14], ebp
cmp word [esp + 0xe8], bx
je 0x4a1e58
lea edi, [ebp + 0x49]
lea esp, [esp]
lea esi, [esp + 0xe8]
movzx eax, word [esi + ebx*2]
lea esi, [esi + ebx*2]
cmp eax, 0x7b
je 0x4a1fa3
cmp eax, 0x7d
je 0x4a1fa0
test cl, cl
jne 0x4a1e4c
push eax
call fcn.004c1b20
cmp eax, 0x48
jne 0x4a1e9a
mov ebp, 2
mov dword [esp + 0x14], ebp
mov cl, byte [esp + 0x12]
inc ebx
cmp word [esp + ebx*2 + 0xe8], 0
jne 0x4a1e10
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004bf260
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
call fcn.004beca0
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x4a1faf
xor eax, eax
mov word [esp + 0x12e8], ax
jmp 0x4a1fd0
cmp eax, 0x44
je 0x4a1eb3
cmp eax, 0x59
je 0x4a1eb3
test ebp, ebp
je 0x4a1eb9
cmp eax, 0x4d
jne 0x4a1eb9
mov word [esi], di
dec ebp
jmp 0x4a1e44
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp eax, 0x4e
jne 0x4a1e48
push dword [esp + 0x22fc]
call fcn.004bd2f0
movzx ecx, word [esi]
mov ebp, eax
push ecx
xor edi, edi
call fcn.004c1b20
cmp eax, 0x4e
jne 0x4a1efd
lea esp, [esp]
movzx eax, word [esi + 2]
lea esi, [esi + 2]
push eax
inc edi
call fcn.004c1b20
cmp eax, 0x4e
je 0x4a1ee0
lea esi, [esp + 0xe8]
lea esi, [esi + ebx*2]
cmp edi, ebp
jae 0x4a1f86
lea ecx, [esp + 0xe8]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1f10
sub ecx, edx
sar ecx, 1
sub ecx, edi
add ecx, ebp
cmp ecx, 0x80
jae 0x4a1f88
lea eax, [edi + ebx]
lea edx, [esp + 0xe8]
lea edx, [edx + eax*2]
mov ecx, edx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1f40
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea ecx, [esp + 0xec]
lea eax, [ebx + ebp]
push edx
lea eax, [ecx + eax*2]
push eax
call fcn.00531d40
add esp, 0xc
test ebp, ebp
je 0x4a1f88
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 0x4a1f88
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 0x4a1e48
cmp eax, 0x7b
sete cl
mov byte [esp + 0x12], cl
jmp 0x4a1e4c
push ebp
call fcn.004a3770
push 0x2e
push eax
call fcn.0053252b
mov esi, eax
add esp, 8
xor eax, eax
mov word [esp + 0x12e8], ax
test esi, esi
jne 0x4a1ffb
push ebp
call fcn.004a3770
cmp word [eax], 0
mov eax, 0x558b94
je 0x4a1fe6
mov eax, 0x558718
push 0x800
push eax
lea eax, [esp + 0x12f0]
push eax
call fcn.004bdae0
jmp 0x4a2013
push 0x800
push esi
lea eax, [esp + 0x12f0]
push eax
call fcn.004bdae0
xor eax, eax
mov word [esi], ax
mov eax, dword [esp + 0x48]
mov edi, 6
test eax, eax
je 0x4a2023
lea edi, [eax - 1]
mov esi, dword [esp + 0x4c]
sub esi, edi
jns 0x4a204e
cmp esi, 0xfffffffc
jg 0x4a21cc
mov eax, dword [esp + 0x2c]
dec eax
push eax
call fcn.004bf0d0
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 0x4a2077
lea ebx, [ecx + 2]
push dword [esp + 0x2c]
lea eax, [esp + 0x7c]
push str._04u
push eax
call fcn.00463c80
push dword [esp + 0x3c]
lea eax, [esp + 0x93]
push str._02u
push eax
call fcn.00463c80
push dword [esp + 0x4c]
lea eax, [esp + 0xaa]
push str._02u
push eax
call fcn.00463c80
push dword [esp + 0x5c]
lea eax, [esp + 0xc1]
push str._02u
push eax
call fcn.00463c80
push dword [esp + 0x6c]
lea eax, [esp + 0xd8]
push str._02u
push eax
call fcn.00463c80
push dword [esp + 0x7c]
lea eax, [esp + 0xef]
push str._02u
push eax
call fcn.00463c80
add esp, 0x48
lea eax, [esp + 0xba]
push ebx
push str._02u
push eax
call fcn.00463c80
lea eax, [edi + 1]
push eax
lea eax, [esp + 0xd5]
push 0x568778
push eax
call fcn.00463c80
mov eax, dword [esp + 0x64]
inc eax
push eax
lea eax, [esp + 0xec]
push str._03u
push eax
call fcn.00463c80
push dword [esp + 0x2320]
lea eax, [esp + 0x103]
push str._05u
push eax
call fcn.00463c80
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 + 0xe8]
test ax, ax
je 0x4a21f4
movzx ecx, ax
movzx eax, cx
cmp eax, 0x7b
je 0x4a21d9
cmp eax, 0x7d
je 0x4a21d6
test bl, bl
jne 0x4a21dc
push eax
call fcn.004c1b20
push eax
push str.YMDHISWAEN
call fcn.005317e5
add esp, 8
test eax, eax
je 0x4a21dc
sub eax, str.YMDHISWAEN
sar eax, 1
inc dword [esp + eax*4 + 0x50]
jmp 0x4a21dc
mov ebx, 1
jmp 0x4a2077
cmp eax, 0x7b
sete bl
movzx eax, word [esp + esi*2 + 0xea]
inc esi
mov ecx, eax
test ax, ax
jne 0x4a2196
mov ax, word [esp + 0xe8]
xor ecx, ecx
xor esi, esi
mov word [esp + 0x1e8], cx
mov byte [esp + 0x12], cl
test ax, ax
je 0x4a2399
lea edi, [esp + 0xea]
lea ebx, [esp + 0xe8]
mov dword [esp + 0x14], edi
lea ebp, [esp + 0xec]
cmp esi, 0x7f
jae 0x4a2395
movzx eax, word [ebx]
cmp eax, 0x7b
je 0x4a2379
cmp eax, 0x7d
je 0x4a2376
push eax
call fcn.004c1b20
push eax
push str.YMDHISWAEN
call fcn.005317e5
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4a233e
cmp byte [esp + 0x12], 0
jne 0x4a233e
sub ecx, str.YMDHISWAEN
lea edi, [esp + 0x78]
sar ecx, 1
imul edx, ecx, 0xb
add edi, edx
mov dword [esp + 0x18], edx
lea eax, [edi + 1]
mov dword [esp + 0x20], eax
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x4a2290
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 0x4a2322
cmp eax, 2
jne 0x4a2322
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
push eax
call fcn.004c1b20
cmp eax, 0x4d
jne 0x4a231e
movzx eax, word [ebp]
push eax
call fcn.004c1b20
cmp eax, 0x4d
jne 0x4a231e
mov eax, 0x80
sub eax, esi
push eax
mov eax, dword [esp + 0x34]
dec eax
push eax
call fcn.004beed0
push eax
lea eax, [esp + 0x1f0]
lea eax, [eax + esi*2]
push eax
call fcn.004bdae0
lea esi, [esp + 0x1e8]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a2300
mov edi, dword [esp + 0x14]
sub esi, ecx
sar esi, 1
add edi, 4
add ebp, 4
add ebx, 4
jmp 0x4a237e
mov edx, dword [esp + 0x18]
test edi, edi
jns 0x4a232f
mov ax, word [ebx]
mov edi, dword [esp + 0x14]
jmp 0x4a2353
lea eax, [edx + edi]
mov edi, dword [esp + 0x14]
movsx ax, byte [esp + eax + 0x78]
jmp 0x4a2353
movzx eax, word [ebx]
mov word [esp + esi*2 + 0x1e8], ax
cmp eax, 0x3a
jne 0x4a235b
mov eax, 0x5f
mov word [esp + esi*2 + 0x1e8], ax
inc esi
lea eax, [esi + esi]
cmp eax, 0x100
jae 0x4a24ac
xor ecx, ecx
mov word [esp + eax + 0x1e8], cx
jmp 0x4a237e
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 0x4a2226
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x13], 0
je 0x4a246c
push ebp
call fcn.004a3770
sub eax, ebp
sar eax, 1
cmp eax, 0x7ff
jbe 0x4a23bc
mov esi, 0x7ff
jmp 0x4a23c8
push ebp
call fcn.004a3770
mov esi, eax
sub esi, ebp
sar esi, 1
push esi
lea eax, [esp + 0x2ec]
push ebp
push eax
call fcn.005396c7
add esp, 0xc
lea ecx, [esp + 0x2e8]
xor eax, eax
lea edx, [ecx + 2]
mov word [esp + esi*2 + 0x2e8], ax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a23f0
sub ecx, edx
sar ecx, 1
je 0x4a2421
cmp word [esp + ecx*2 + 0x2e6], 0x5c
je 0x4a2421
lea eax, [ecx + 1]
cmp eax, 0x800
jae 0x4a2421
mov dword [esp + ecx*2 + 0x2e8], 0x5c
push 0x800
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0x2f0]
push eax
call fcn.004bda80
push 0x800
push ebp
call fcn.004a3770
push eax
lea eax, [esp + 0x2f0]
push eax
call fcn.004bda80
mov esi, dword [esp + 0x22f4]
lea eax, [esp + 0x2e8]
push esi
push eax
push ebp
call fcn.004bdae0
jmp 0x4a2482
mov esi, dword [esp + 0x22f4]
lea eax, [esp + 0x1e8]
push esi
push eax
push ebp
call fcn.004bda80
push esi
lea eax, [esp + 0x12ec]
push eax
push ebp
call fcn.004bda80
mov ecx, dword [esp + 0x22e8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x22dc
ret 0x14
call fcn.0053013d
int3