Function at 0x40aad0
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.00455217
mov dword [esp + 0x34], eax
lea eax, str.kernel32.dll
mov dword [esp], 0x7328f505
mov dword [esp + 4], eax
call fcn.0044cd00
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.00455217
mov dword [esp + 0x30], eax
mov dword [esp], 0x1000
mov dword [esp + 4], 1
call fcn.00455217
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.0040a3d0
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x44]
jb 0x40abc7
mov dword [esp + 0x18], 2
jmp 0x40acef
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]
jbe 0x40ac09
mov dword [esp + 0x18], 4
jmp 0x40acc9
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.0040a2c0
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00455217
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, [0x4680f2]
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.0042f330
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40acdd
jmp 0x40acd3
sub eax, 4
je 0x40acdf
jmp 0x40aed3
jmp 0x40acdf
mov eax, dword [esp + 0x28]
add eax, 1
mov dword [esp + 0x28], eax
jmp 0x40abb0
jmp 0x40acf1
cmp dword [esp + 0x84], 0
setle al
test al, 1
jne 0x40ad02
jmp 0x40ad27
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00455665
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00455665
mov dword [esp + 0x18], 1
jmp 0x40aec6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
lea edx, [0x468138]
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.0040a3d0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x40]
jb 0x40ad6c
mov dword [esp + 0x18], 5
jmp 0x40aea6
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 0x40adaa
jmp 0x40ad9d
mov dword [esp + 0x18], 7
jmp 0x40ae83
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00455217
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, [0x4680f2]
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.0040aa60
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]
mov esi, edx
and esi, 0xffffffff
shl esi, 1
mov edi, edx
add edi, 0xffffffff
sub edi, esi
and edi, 1
and edx, 0xfffffffe
xor esi, esi
sub esi, edi
add edx, esi
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.0040aad0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00455665
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40ae94
jmp 0x40ae8d
sub eax, 7
je 0x40ae96
jmp 0x40aed1
jmp 0x40ae96
mov eax, dword [esp + 0x20]
sub eax, 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x40ad55
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00455665
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00455665
mov dword [esp + 0x18], 0
jmp 0x40aec8
jmp 0x40aeca
add esp, 0x68
pop esi
pop edi
pop ebx
ret
jmp 0x40aed5
jmp 0x40aed5
int3