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

Disassembly:
mov eax, 0x22a8
call fcn.0051dcc0
mov eax, dword [0x572844]
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 0x493ed0
movzx edx, word [ecx + 2]
add ecx, 2
mov byte [esp + 3], 1
test dx, dx
jne 0x493eda
mov ecx, str.yyyymmddhhmmss
push ebx
push ebp
push esi
push edi
push 0x80
push ecx
lea eax, [esp + 0xbc]
push eax
call fcn.004b0360
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 0x493f58
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 0x494076
cmp eax, 0x7d
je 0x494073
test cl, cl
jne 0x493f4c
push eax
call fcn.004b4390
cmp eax, 0x48
jne 0x493f9a
mov ebp, 2
mov dword [esp + 0x14], ebp
mov cl, byte [esp + 0x12]
inc ebx
cmp word [esp + ebx*2 + 0xb4], 0
jne 0x493f10
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004b1af0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
call fcn.004b1530
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x494082
xor eax, eax
mov word [esp + 0x12b4], ax
jmp 0x4940a3
cmp eax, 0x44
je 0x493fb3
cmp eax, 0x59
je 0x493fb3
test ebp, ebp
je 0x493fb9
cmp eax, 0x4d
jne 0x493fb9
mov word [esi], di
dec ebp
jmp 0x493f44
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp eax, 0x4e
jne 0x493f48
push dword [esp + 0x22c8]
call fcn.004afb70
movzx ecx, word [esi]
mov ebp, eax
push ecx
xor edi, edi
call fcn.004b4390
cmp eax, 0x4e
jne 0x493ffd
lea esp, [esp]
movzx eax, word [esi + 2]
lea esi, [esi + 2]
push eax
inc edi
call fcn.004b4390
cmp eax, 0x4e
je 0x493fe0
lea esi, [esp + 0xb4]
lea esi, [esi + ebx*2]
cmp edi, ebp
jae 0x494059
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 0x494013
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.0051f6b0
add esp, 0xc
test ebp, ebp
je 0x49405b
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 0x49405b
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 0x493f48
cmp eax, 0x7b
sete cl
mov byte [esp + 0x12], cl
jmp 0x493f4c
push ebp
call fcn.00495850
push 0x2e
push eax
call fcn.0051ff1b
mov esi, eax
add esp, 8
xor eax, eax
mov word [esp + 0x12b4], ax
test esi, esi
jne 0x4940ce
push ebp
call fcn.00495850
cmp word [eax], 0
mov eax, 0x542b1c
je 0x4940b9
mov eax, 0x54266c
push 0x800
push eax
lea eax, [esp + 0x12bc]
push eax
call fcn.004b0360
jmp 0x4940e6
push 0x800
push esi
lea eax, [esp + 0x12bc]
push eax
call fcn.004b0360
xor eax, eax
mov word [esi], ax
mov eax, dword [esp + 0x48]
mov edi, 6
test eax, eax
je 0x4940f6
lea edi, [eax - 1]
mov esi, dword [esp + 0x4c]
sub esi, edi
jns 0x494121
cmp esi, 0xfffffffc
jg 0x4942a6
mov eax, dword [esp + 0x2c]
dec eax
push eax
call fcn.004b1960
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 0x49414a
lea ebx, [ecx + 2]
push dword [esp + 0x2c]
lea eax, [esp + 0x7c]
push str._04u
push eax
call fcn.00458fd0
push dword [esp + 0x3c]
lea eax, [esp + 0x8e]
push str._02u
push eax
call fcn.00458fd0
push dword [esp + 0x4c]
lea eax, [esp + 0xa0]
push str._02u
push eax
call fcn.00458fd0
push dword [esp + 0x5c]
lea eax, [esp + 0xb2]
push str._02u
push eax
call fcn.00458fd0
push dword [esp + 0x6c]
lea eax, [esp + 0xc4]
push str._02u
push eax
call fcn.00458fd0
push dword [esp + 0x7c]
lea eax, [esp + 0xd6]
push str._02u
push eax
call fcn.00458fd0
add esp, 0x48
lea eax, [esp + 0x9c]
push ebx
push str._02u
push eax
call fcn.00458fd0
lea eax, [edi + 1]
push eax
lea eax, [esp + 0xb2]
push 0x5522f8
push eax
call fcn.00458fd0
mov eax, dword [esp + 0x64]
inc eax
push eax
lea eax, [esp + 0xc4]
push str._03u
push eax
call fcn.00458fd0
push dword [esp + 0x22ec]
lea eax, [esp + 0xd6]
push str._05u
push eax
call fcn.00458fd0
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 0x4942ce
movzx ecx, ax
lea esp, [esp]
movzx eax, cx
cmp eax, 0x7b
je 0x4942b3
cmp eax, 0x7d
je 0x4942b0
test bl, bl
jne 0x4942b6
push eax
call fcn.004b4390
push eax
push str.YMDHISWAEN
call fcn.0051f225
add esp, 8
test eax, eax
je 0x4942b6
sub eax, str.YMDHISWAEN
sar eax, 1
inc dword [esp + eax*4 + 0x50]
jmp 0x4942b6
mov ebx, 1
jmp 0x49414a
cmp eax, 0x7b
sete bl
movzx eax, word [esp + esi*2 + 0xb6]
inc esi
mov ecx, eax
test ax, ax
jne 0x494270
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 0x49446d
lea edi, [esp + 0xb6]
lea ebx, [esp + 0xb4]
mov dword [esp + 0x14], edi
lea ebp, [esp + 0xb8]
cmp esi, 0x7f
jae 0x494469
movzx eax, word [ebx]
cmp eax, 0x7b
je 0x49444d
cmp eax, 0x7d
je 0x49444a
push eax
call fcn.004b4390
push eax
push str.YMDHISWAEN
call fcn.0051f225
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x494412
cmp byte [esp + 0x12], 0
jne 0x494412
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 0x494365
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 0x4943f6
cmp eax, 2
jne 0x4943f6
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
push eax
call fcn.004b4390
cmp eax, 0x4d
jne 0x4943f2
movzx eax, word [ebp]
push eax
call fcn.004b4390
cmp eax, 0x4d
jne 0x4943f2
mov eax, 0x80
sub eax, esi
push eax
mov eax, dword [esp + 0x34]
dec eax
push eax
call fcn.004b1760
push eax
lea eax, [esp + 0x1bc]
lea eax, [eax + esi*2]
push eax
call fcn.004b0360
lea esi, [esp + 0x1b4]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4943d4
mov edi, dword [esp + 0x14]
sub esi, ecx
sar esi, 1
add edi, 4
add ebp, 4
add ebx, 4
jmp 0x494452
mov edx, dword [esp + 0x18]
test edi, edi
jns 0x494403
mov ax, word [ebx]
mov edi, dword [esp + 0x14]
jmp 0x494427
lea eax, [edx + edi]
mov edi, dword [esp + 0x14]
movsx ax, byte [esp + eax + 0x78]
jmp 0x494427
movzx eax, word [ebx]
mov word [esp + esi*2 + 0x1b4], ax
cmp eax, 0x3a
jne 0x49442f
mov eax, 0x5f
mov word [esp + esi*2 + 0x1b4], ax
inc esi
lea eax, [esi + esi]
cmp eax, 0x100
jae 0x49457e
xor ecx, ecx
mov word [esp + eax + 0x1b4], cx
jmp 0x494452
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 0x494300
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x13], 0
je 0x49453e
push ebp
call fcn.00495850
sub eax, ebp
sar eax, 1
cmp eax, 0x7ff
jbe 0x494490
mov esi, 0x7ff
jmp 0x49449c
push ebp
call fcn.00495850
mov esi, eax
sub esi, ebp
sar esi, 1
push esi
lea eax, [esp + 0x2b8]
push ebp
push eax
call fcn.005267b2
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 0x4944c2
sub ecx, edx
sar ecx, 1
je 0x4944f3
cmp word [esp + ecx*2 + 0x2b2], 0x5c
je 0x4944f3
lea eax, [ecx + 1]
cmp eax, 0x800
jae 0x4944f3
mov dword [esp + ecx*2 + 0x2b4], 0x5c
push 0x800
lea eax, [esp + 0x1b8]
push eax
lea eax, [esp + 0x2bc]
push eax
call fcn.004b0300
push 0x800
push ebp
call fcn.00495850
push eax
lea eax, [esp + 0x2bc]
push eax
call fcn.004b0300
mov esi, dword [esp + 0x22c0]
lea eax, [esp + 0x2b4]
push esi
push eax
push ebp
call fcn.004b0360
jmp 0x494554
mov esi, dword [esp + 0x22c0]
lea eax, [esp + 0x1b4]
push esi
push eax
push ebp
call fcn.004b0300
push esi
lea eax, [esp + 0x12b8]
push eax
push ebp
call fcn.004b0300
mov ecx, dword [esp + 0x22b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0051dca8
add esp, 0x22a8
ret 0x14
call fcn.0051dbcd
int3