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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00453287
mov dword [esp + 0x58], eax
lea eax, str.kernel32.dll
mov dword [esp], 0x7328f505
mov dword [esp + 4], eax
call fcn.0044ac90
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x104
call eax
sub esp, 0xc
mov dword [esp + 0x50], 0
mov dword [esp], 0x18
mov dword [esp + 4], 1
call fcn.00453287
mov dword [esp + 0x38], eax
mov dword [esp], 8
mov dword [esp + 4], 1
call fcn.00453287
mov dword [esp + 0x4c], eax
mov dword [esp], 8
mov dword [esp + 4], 1
call fcn.00453287
mov dword [esp + 0x5c], eax
mov dword [esp], 0x118
mov dword [esp + 4], 2
call fcn.00453287
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
lea ecx, str.___
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 + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
shl eax, 1
mov ecx, dword [esp + 0x4c]
mov word [ecx], ax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
mov edx, eax
xor edx, 0xffffffff
xor edx, 0xffffffff
xor edx, 2
and edx, 2
mov esi, eax
add esi, 1
mov ecx, eax
xor ecx, 0xffffffff
or ecx, 0xfffffffd
add ecx, esi
mov esi, ecx
xor esi, 0xffffffff
mov edi, edx
and edi, esi
mov esi, edx
xor esi, 0xffffffff
mov ebx, ecx
and ebx, esi
imul ebx, edi
mov esi, ecx
and esi, edx
or ecx, edx
imul ecx, esi
add ecx, ebx
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
add eax, ecx
xor ecx, ecx
sub ecx, eax
mov eax, ecx
and eax, 0xfffffffe
shl eax, 1
xor ecx, 0xfffffffe
add ecx, eax
xor eax, eax
sub eax, ecx
mov ecx, dword [esp + 0x4c]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], 0x18
mov eax, dword [esp + 0x38]
mov dword [eax + 4], 0
mov eax, dword [esp + 0x38]
mov dword [eax + 0xc], 0x40
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x38]
mov dword [eax + 0x14], 0
lea eax, str.ntdll.dll
mov dword [esp], 0xb5ca9f40
mov dword [esp + 4], eax
call fcn.0044ac90
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
lea esi, [esp + 0x50]
xor edi, edi
mov dword [esp], esi
mov dword [esp + 4], 0x100001
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x4021
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call eax
sub esp, 0x2c
mov dword [esp + 0x54], eax
cmp dword [esp + 0x54], 0
jge 0x40a935
jmp 0x40a928
mov dword [esp + 0x30], 1
jmp 0x40ae3a
mov dword [esp], 8
mov dword [esp + 4], 1
call fcn.00453287
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
mov ecx, eax
add ecx, 1
mov edx, eax
xor edx, 0xffffffff
or edx, 0xfffffffd
add edx, ecx
mov ecx, eax
and ecx, 0xfffffffd
xor ecx, 0xffffffff
mov esi, eax
add esi, 0xfffffffd
add esi, 1
add esi, ecx
mov ecx, esi
xor ecx, 0xffffffff
and ecx, 0x232e86e2
and esi, 0xdcd1791d
or ecx, esi
xor ecx, 0xdcd1791d
imul ecx, edx
mov edx, eax
xor edx, 0xffffffff
mov esi, eax
xor esi, 0xffffffff
and edx, esi
or edx, 0xfffffffd
xor edx, 0xffffffff
mov edi, eax
xor edi, 0xffffffff
mov esi, edi
and esi, 0x9988ced5
and eax, 0x6677312a
or esi, eax
xor esi, 0x9988ced7
or edi, 0xfffffffd
xor edi, 0xffffffff
and edi, 0xffffffff
or esi, edi
imul esi, edx
add esi, ecx
mov eax, dword [esp + 0x48]
mov word [eax], si
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0xdb866953
mov edx, eax
and edx, 0x247996ac
or ecx, edx
xor ecx, 0x247996ac
mov edx, ecx
xor edx, 0xffffffff
xor ecx, 0xffffffff
and edx, ecx
or edx, 0xfffffffd
xor edx, 0xffffffff
mov ecx, eax
xor ecx, 0xffffffff
or ecx, 2
xor ecx, 0xffffffff
and ecx, 0xffffffff
mov esi, ecx
xor esi, 0xffffffff
mov edi, edx
and edi, esi
mov esi, edx
xor esi, 0xffffffff
mov ebx, ecx
and ebx, esi
imul ebx, edi
mov esi, ecx
and esi, edx
or ecx, edx
imul ecx, esi
add ecx, ebx
mov esi, eax
and esi, 2
mov edi, eax
xor edi, 0xffffffff
mov edx, edi
and edx, 0xa66c77a6
and eax, 0x59938859
or edx, eax
xor edx, 0xa66c77a4
or edi, 0xfffffffd
xor edi, 0xffffffff
and edi, 0xffffffff
or edx, edi
mov eax, esi
xor eax, 0xffffffff
mov edi, edx
and edi, eax
mov ebx, edx
or ebx, eax
xor ebx, 0xffffffff
imul ebx, edi
mov eax, edx
and eax, esi
or edx, esi
imul edx, eax
add edx, ebx
add edx, ecx
add edx, 2
mov eax, dword [esp + 0x48]
mov word [eax + 2], dx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [esp], 0x4800
mov dword [esp + 4], 1
call fcn.00453287
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0
jne 0x40aada
jmp 0x40aacd
mov dword [esp + 0x30], 1
jmp 0x40ae3a
lea eax, str.ntdll.dll
mov dword [esp], 0x5a10633e
mov dword [esp + 4], eax
call fcn.0044ac90
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x50]
xor ebx, ebx
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0x4800
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
call eax
sub esp, 0x2c
mov dword [esp + 0x54], eax
cmp dword [esp + 0x54], 0
jge 0x40ab66
mov dword [esp + 0x30], 1
jmp 0x40ae3a
jmp 0x40ab68
jmp 0x40ab6a
jmp 0x40ab6c
jmp 0x40ab6e
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00453287
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add ecx, 0x44
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044dcd0
cmp dword [esp + 0x34], 0
jne 0x40abca
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
jmp 0x40adf6
mov eax, dword [esp + 0x34]
lea ecx, [0x46676e]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
cmp eax, 0
jne 0x40ac04
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
jmp 0x40adf6
mov eax, dword [esp + 0x34]
lea ecx, [0x46676e]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
cmp eax, 0
jne 0x40ac2c
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
je 0x40ac5d
jmp 0x40ac2e
mov eax, dword [esp + 0x34]
lea ecx, [0x466772]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
cmp eax, 0
setne al
test al, 1
jne 0x40ac6a
jmp 0x40ac54
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
jne 0x40ac6a
mov dword [esp + 0x30], 3
jmp 0x40adf6
mov eax, dword [esp + 0x34]
lea ecx, [0x466772]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
cmp eax, 0
jne 0x40aca4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
jmp 0x40adf6
mov eax, dword [esp + 0x34]
lea ecx, [0x466778]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
sub esp, 8
cmp eax, 0
jne 0x40ace0
jmp 0x40acc5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
jmp 0x40adf6
mov dword [esp], 0x104
mov dword [esp + 4], 2
call fcn.00453287
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x44]
lea ecx, [0x46613a]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
sub esp, 8
mov dword [esp], 0x10
call fcn.00453774
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x38]
and eax, 0x10
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
shl ecx, 4
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
add ecx, 0x259e7cde
add ecx, 1
add ecx, 0xda618321
add ecx, 1
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
jne 0x40addc
mov dword [esp + 0x30], 3
jmp 0x40adf6
jmp 0x40adde
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
jmp 0x40adf6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40ae0e
jmp 0x40ae00
sub eax, 2
je 0x40ae09
jmp 0x40ae07
jmp 0x40ae10
jmp 0x40ab68
jmp 0x40ae09
lea eax, str.ntdll.dll
mov dword [esp], 0xee81f141
mov dword [esp + 4], eax
call fcn.0044ac90
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [esp + 0x30], 0
jmp 0x40ae3c
jmp 0x40ae3e
add esp, 0x60
pop esi
pop edi
pop ebx
ret