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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00453287
mov dword [esp + 0x34], eax
lea eax, str.kernel32.dll
mov dword [esp], 0x7328f505
mov dword [esp + 4], eax
call fcn.0044ac90
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x104
call eax
sub esp, 0xc
mov dword [esp], 0x1000
mov dword [esp + 4], 1
call fcn.00453287
mov dword [esp + 0x30], eax
mov dword [esp], 0x1000
mov dword [esp + 4], 1
call fcn.00453287
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x34]
lea esi, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.0040a6d0
mov dword [esp + 0x28], 0
jmp 0x40af52
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
setb al
test al, 1
jne 0x40af72
jmp 0x40af63
jmp 0x40af65
mov dword [esp + 0x18], 2
jmp 0x40b0bf
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
shl ecx, 4
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x88]
seta al
test al, 1
jne 0x40afae
jmp 0x40afbb
mov dword [esp + 0x18], 4
jmp 0x40b07d
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040a4c0
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00453287
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x24]
lea ecx, [0x4660f0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x8c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0042d530
mov dword [esp + 0x18], 0
jmp 0x40b07d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40b091
jmp 0x40b087
sub eax, 4
je 0x40b093
jmp 0x40b29c
jmp 0x40b093
jmp 0x40b095
mov eax, dword [esp + 0x28]
mov ecx, eax
xor ecx, 0xffffffff
or ecx, 0xfffffffe
mov edx, eax
and edx, 1
xor edx, 0xffffffff
xor ecx, 0xffffffff
xor edx, 0xffffffff
or ecx, edx
or eax, 1
add ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x40af50
jmp 0x40b0c1
cmp dword [esp + 0x84], 0
setle al
test al, 1
jne 0x40b0d2
jmp 0x40b0f7
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004536d5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004536d5
mov dword [esp + 0x18], 1
jmp 0x40b293
jmp 0x40b0f9
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
lea edx, [0x466136]
lea esi, [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.0040a6d0
mov dword [esp + 0x20], 0
jmp 0x40b129
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x40]
jb 0x40b140
mov dword [esp + 0x18], 5
jmp 0x40b273
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
shl ecx, 4
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
cmp dword [esp + 0x54], 0
jne 0x40b17c
mov dword [esp + 0x18], 7
jmp 0x40b249
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00453287
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x1c]
lea ecx, [0x4660f0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0040ae50
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
sub edx, 0x37ad67cf
sub edx, 1
add edx, 0x37ad67cf
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.0040ae70
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.004536d5
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40b25a
jmp 0x40b253
sub eax, 7
je 0x40b25c
jmp 0x40b29a
jmp 0x40b25c
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 1
or eax, 1
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x40b129
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004536d5
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004536d5
mov dword [esp + 0x18], 0
add esp, 0x68
pop esi
pop edi
pop ebx
ret
jmp 0x40b29e
jmp 0x40b29e
int3