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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x423c81
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x42f050]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x80], edi
lea ebx, [esp + 0x17]
lea esi, [esp + 0x54]
mov byte [esp + 0x17], 0x43
call fcn.0040d01a
lea ecx, [esp + 0x28]
call fcn.0040be36
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], edi
jle 0x40bfdc
push 0x3a
push eax
call fcn.0040e2b1
cmp eax, edi
pop ecx
pop ecx
je 0x40bfdc
mov ecx, dword [esp + 0x28]
sub eax, ecx
sar eax, 1
cmp eax, edi
jle 0x40bfdc
dec eax
cmp eax, edi
jl 0x40c3d5
cmp eax, dword [ecx - 0xc]
jg 0x40c3d5
movzx eax, word [ecx + eax*2]
cmp al, 0x43
mov byte [esp + 0x17], al
je 0x40bfdc
cmp al, 0x63
je 0x40bfdc
lea ebx, [esp + 0x17]
call fcn.0040d01a
mov eax, dword [0x4312e4]
mov ebx, 0x4312e4
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x80], 2
mov eax, dword [0x4312e4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x80], 3
mov eax, dword [0x4312e4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x80], 4
mov eax, dword [0x4312e4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x80], 5
mov eax, dword [0x4312e4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x80], 6
mov eax, dword [0x4312e4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x8c], 7
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
call fcn.0040c3e0
add esp, 0x10
test dword [esp + 0x2c], 0x40000
lea eax, [esp + 0x1c]
je 0x40c0cc
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x40]
push str._08X_08X_08X
call fcn.004044fa
add esp, 0x10
jmp 0x40c0d7
push 0x428ad8
push eax
call fcn.00403776
lea esi, [esp + 0x1c]
call fcn.0040c45e
xor esi, esi
cmp dword [esp + 0x58], edi
je 0x40c111
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
cmp esi, eax
jae 0x40c111
mov eax, dword [esp + 0x58]
add eax, esi
movzx eax, byte [eax]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040c50b
test eax, eax
pop ecx
pop ecx
jne 0x40c111
inc esi
jmp 0x40c0e2
lea esi, [esp + 0x18]
call fcn.0040c45e
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0x28
jle 0x40c154
lea ecx, [esp + 0x38]
mov eax, esi
call fcn.0040cf40
mov edi, esi
mov byte [esp + 0x80], 8
call fcn.00403735
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.00404c04
xor edi, edi
xor esi, esi
cmp dword [esp + 0x58], edi
je 0x40c185
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
cmp esi, eax
jae 0x40c185
mov eax, dword [esp + 0x58]
add eax, esi
movzx eax, byte [eax]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040c7b3
test eax, eax
pop ecx
pop ecx
jne 0x40c185
inc esi
jmp 0x40c156
lea esi, [esp + 0x20]
call fcn.0040c45e
lea eax, [esp + 0x24]
push eax
call fcn.0040c478
pop ecx
lea esi, [esp + 0x24]
call fcn.0040c45e
push 0x42a2e8
lea eax, [esp + 0x4c]
push eax
call fcn.004036aa
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov byte [esp + 0x88], 9
call fcn.004037d4
lea ecx, [esp + 0x48]
push 0x42a2e4
push ecx
mov ecx, eax
mov byte [esp + 0x90], 0xa
call fcn.0040cf76
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
mov byte [esp + 0x98], 0xb
call fcn.004037d4
lea ecx, [esp + 0x44]
push 0x42a2e0
push ecx
mov ecx, eax
mov byte [esp + 0xa0], 0xc
call fcn.0040cf76
mov ecx, esi
push ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
mov byte [esp + 0xa8], 0xd
call fcn.004037d4
lea ecx, [esp + 0x5c]
push 0x42a2dc
push ecx
mov ecx, eax
mov byte [esp + 0xb0], 0xe
call fcn.0040cf76
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
mov byte [esp + 0xb8], 0xf
call fcn.004037d4
add esp, 0x38
mov edi, dword [ebp + 8]
mov byte [esp + 0x80], 0x10
call fcn.00403735
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.00404c04
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [0x4312e4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x84], 0x11
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
movzx eax, word [esp + 0x76]
push eax
movzx eax, word [esp + 0x78]
push eax
movzx eax, word [esp + 0x7a]
push eax
movzx eax, word [esp + 0x7a]
push eax
movzx eax, word [esp + 0x7c]
push eax
push str._04d_02d_02d_02d_02d_02d_03d
lea eax, [esp + 0x58]
call fcn.004044fa
add esp, 0x20
push 0x42a30c
push edi
call fcn.004037a5
mov esi, dword [esp + 0x38]
push dword [esi - 0xc]
mov eax, edi
push esi
call fcn.0040436d
lea eax, [esi - 0x10]
call fcn.00404c04
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.00404c04
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00404c04
cmp dword [esp + 0x58], 0
je 0x40c3bf
push dword [esp + 0x58]
call fcn.0040db23
pop ecx
xor eax, eax
inc eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00405073
int3