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

Disassembly:
push 0xffffffffffffffff
push 0x4c8230
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
cmp eax, 0xffffffff
jne 0x40adec
mov eax, dword [esp + 0x7c]
cmp eax, 0xfffffffe
jne 0x40ade0
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
jmp 0x40adf0
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x18], eax
jmp 0x40adf0
mov dword [esp + 0x18], eax
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov byte [edi], 0
test al, 2
je 0x40ae16
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push eax
push ecx
push str._s__d__:
push edi
call esi
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
test al, 1
je 0x40af74
mov edx, dword [ebx + 0x48]
or edx, dword [ebx + 0x4c]
mov dword [esp + 0x24], 0
je 0x40aefe
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0
push 0x989680
push ecx
push edx
call fcn.004c6240
mov ecx, dword [ebx + 0x4c]
push ecx
mov ecx, dword [ebx + 0x48]
push ecx
push edx
push eax
call fcn.004c6280
mov esi, eax
add esi, dword [ebx + 0x50]
mov edi, edx
adc edi, dword [ebx + 0x54]
test dword [esp + 0x18], 0x10000
je 0x40ae8e
push 0
push 0xa
push edi
push esi
call fcn.004c6280
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [esp + 0x24], edx
push 0
push 0x2710
push edi
push esi
call fcn.004c6280
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0
push 0x989680
push edi
push esi
mov ebx, edx
call fcn.004c6280
xor edx, edx
mov ecx, 0x3c
div ecx
push 0
push 0x23c34600
push edi
push esi
mov dword [esp + 0x40], edx
call fcn.004c6280
xor edx, edx
mov ecx, 0x3c
div ecx
push 8
push 0x61c46800
push edi
push esi
mov dword [esp + 0x38], edx
call fcn.004c6280
mov ecx, 0x18
xor edx, edx
div ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
jmp 0x40af1d
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ebx, word [esp + 0x3e]
movzx eax, word [esp + 0x3c]
movzx ecx, word [esp + 0x3a]
movzx edx, word [esp + 0x38]
test dword [esp + 0x18], 0x10000
je 0x40af47
mov esi, dword [esp + 0x24]
push esi
push ebx
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
add eax, ebp
push str._02d:_02d:_02d:_03d._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
jmp 0x40af60
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
add ecx, ebp
push str._02d:_02d:_02d._03d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0xc
je 0x40afec
cmp ecx, 0xc
jne 0x40afb5
mov dword [esp + 0x20], str.__04X__04X_
test eax, 0x20000
jne 0x40af97
mov dword [esp + 0x20], str.__05u__05u_
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x24]
push eax
push edx
lea eax, [edi + ebp]
push eax
call esi
add esp, 0x10
jmp 0x40afe6
test al, 4
je 0x40afc1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jmp 0x40afc7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test dword [esp + 0x18], 0x20000
mov ecx, str.__04X_
jne 0x40afdb
mov ecx, str.__05u_
push eax
push ecx
lea ecx, [edi + ebp]
push ecx
call esi
add esp, 0xc
add ebp, eax
mov eax, dword [esp + 0x18]
mov edx, eax
and edx, 0x30
je 0x40b113
mov ecx, eax
shr ecx, 6
and cl, 1
mov byte [esp + 0x1c], cl
test eax, 0x10000
je 0x40b013
mov byte [esp + 0x17], 1
test cl, cl
je 0x40b018
mov byte [esp + 0x17], 0
cmp edx, 0x30
jne 0x40b09b
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.00405920
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.00405990
cmp byte [esp + 0x17], 0
je 0x40b07f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push eax
push ecx
push edx
lea ecx, [edi + ebp]
push str._04u:_03u._03u__04u:_03u._03u
push ecx
call esi
add esp, 0x20
jmp 0x40b10d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push eax
push ecx
lea edx, [edi + ebp]
push str._04u._03u__04u._03u
push edx
call esi
add esp, 0x18
jmp 0x40b10d
test al, 0x10
je 0x40b0bc
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.00405990
jmp 0x40b0d7
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.00405920
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
je 0x40b0fd
mov edx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edx, [edi + ebp]
push str._04u:_03u._03u
push edx
call esi
add esp, 0x14
jmp 0x40b10d
push eax
push ecx
lea edx, [edi + ebp]
push str._04u._03u
push edx
call esi
add esp, 0x10
add ebp, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
mov esi, dword [ebx + 0x8c]
mov ecx, edx
shr ecx, 0xe
and ecx, 3
add ecx, dword [esi]
and edx, 0xffff3fff
jne 0x40b139
and eax, 0x1cbf00
mov edx, eax
test edx, 0x700
je 0x40b245
push ecx
push edx
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call fcn.0040ab90
mov ecx, dword [esp + 0x5c]
xor eax, eax
lea edx, [ecx + ebp + 3]
mov dword [esp + 0x74], eax
cmp edx, 0x400
jb 0x40b186
cmp dword [esp + 0x60], 0x10
jb 0x40b278
mov eax, dword [esp + 0x4c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x40b278
mov edx, dword [esp + 0x4c]
mov ebx, 0x10
cmp dword [esp + 0x60], ebx
jae 0x40b199
lea edx, [esp + 0x4c]
mov dword [esp + 0x40], eax
mov byte [esp + 0x30], al
mov eax, edx
mov dword [esp + 0x44], 0xf
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b1b0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00406dc0
mov ecx, dword [esp + 0x40]
inc ecx
push ecx
mov byte [esp + 0x78], 1
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x40b1e7
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esp + 0x44], ebx
jb 0x40b202
mov edx, dword [esp + 0x30]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
lea eax, [edi + ebp]
push str._s_:
push eax
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
call dword [sym.imp.USER32.dll_wsprintfA]
push esi
add ebp, eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 0x10
cmp dword [esp + 0x60], ebx
jb 0x40b245
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
test ebp, ebp
je 0x40b262
cmp byte [edi + ebp - 2], 0x3a
lea eax, [edi + ebp]
je 0x40b262
push 0x4d2890
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add ebp, 2
mov edx, dword [esp + 0x2c]
push edx
push 0x4d25d8
add edi, ebp
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004c6212
add esp, 0x64
ret 0x14