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

Disassembly:
push 0xffffffffffffffff
push 0x444a31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x74]
call fcn.0042ba73
mov eax, dword [0x453250]
mov dword [esp + 0x98], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 3
call fcn.0043b0ec
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 4
call fcn.0043b0ec
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0043b0ec
mov eax, dword [0x453250]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [0x452290]
mov byte [esp + 0x98], 9
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x40409c
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x40409c
push eax
lea ecx, [esp + 0x20]
call fcn.0043c05f
push esi
lea ecx, [esp + 0x1c]
call fcn.0043c05f
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410ac0
lea edx, [esp + 0x1c]
push edx
call fcn.00410ac0
mov edi, dword [esp + 0xac]
add esp, 8
xor esi, esi
test edi, edi
je 0x403ddb
mov eax, dword [edi + 8]
test eax, eax
jle 0x403ddb
mov esi, 1
or ebp, 0xffffffff
lea ecx, [esp + 0x38]
push ebp
push 0
call fcn.0043b17f
test esi, esi
je 0x403dfa
push edi
lea ecx, [esp + 0x3c]
call fcn.0043b328
jmp 0x403e0d
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.0043b350
push ebp
push 0
lea ecx, [esp + 0x54]
call fcn.0043b17f
push ebp
push 0
lea ecx, [esp + 0x68]
call fcn.0043b17f
mov eax, dword [esp + 0x40]
xor edi, edi
test eax, eax
jle 0x403f23
mov bl, 0xb
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
call fcn.0043c00f
lea eax, [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x40]
call fcn.00401200
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0xa
call fcn.0043c2ee
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 9
call fcn.0043bf22
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x7c]
call fcn.0042bb36
test eax, eax
je 0x403f75
lea ecx, [esp + 0x74]
call fcn.0042bd56
lea ecx, [esp + 0x74]
mov esi, eax
call fcn.0042bd1d
test eax, eax
jne 0x403f09
lea edx, [esp + 0x30]
lea ecx, [esp + 0x74]
push edx
call fcn.0042bf4e
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], bl
call fcn.0043c00f
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 9
call fcn.0043bf22
mov eax, dword [esp + 0x74]
push 0x10
lea ecx, [esp + 0x78]
call dword [eax + 0x38]
test eax, eax
je 0x403ef6
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x54]
jmp 0x403f04
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.0043b37c
test esi, esi
jne 0x403e8d
lea ecx, [esp + 0x74]
call fcn.0042baec
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
jl 0x403e35
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x28], esi
jle 0x404180
mov ebx, dword [esp + 0xac]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.0043c00f
test esi, esi
jne 0x404028
test ebx, ebx
je 0x404028
push ebx
lea ecx, [esp + 0x14]
call fcn.0043c2b2
jmp 0x40405a
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 8
call fcn.0043bf22
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 7
call fcn.0043bf22
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 6
call fcn.0043bf22
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0043b11f
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 4
call fcn.0043b11f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 3
call fcn.0043b11f
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 2
call fcn.0043bf22
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 1
call fcn.0043bf22
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0
call fcn.0043bf22
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], ebp
call fcn.0042bab0
mov eax, 0xfffffffe
jmp 0x40414c
lea eax, [esp + 0x30]
push esi
push eax
lea ecx, [esp + 0x68]
call fcn.00401200
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 0xc
call fcn.0043c2ee
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 9
call fcn.0043bf22
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00410b40
add esp, 4
test eax, eax
je 0x404170
mov edx, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push edx
call edi
cmp eax, 0xffffffff
jne 0x404165
call ebp
cmp eax, 0x20
jne 0x40416c
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 8
call fcn.0043bf22
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 7
call fcn.0043bf22
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 6
call fcn.0043bf22
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0043b11f
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 4
call fcn.0043b11f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 3
call fcn.0043b11f
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 2
call fcn.0043bf22
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 1
call fcn.0043bf22
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0
call fcn.0043bf22
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], 0xffffffff
call fcn.0042bab0
or eax, 0xffffffff
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x68]
inc esi
cmp esi, eax
jl 0x403f48
or ebp, 0xffffffff
mov eax, dword [esp + 0x54]
xor esi, esi
test eax, eax
jle 0x40425b
mov bl, 0xe
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
call fcn.0043c00f
lea ecx, [esp + 0x30]
push esi
push ecx
lea ecx, [esp + 0x54]
call fcn.00401200
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0xd
call fcn.0043c2ee
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 9
call fcn.0043bf22
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.0043c00f
lea eax, [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0x54]
call fcn.00401200
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], bl
call fcn.0043c2ee
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 9
call fcn.0043bf22
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004032b0
add esp, 4
test eax, eax
je 0x40430d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push edx
push 0
push eax
call fcn.00403ce0
mov edi, eax
add esp, 0x10
test edi, edi
jl 0x4043bd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
add edx, edi
inc esi
cmp esi, eax
mov dword [esp + 0x28], edx
jl 0x404190
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 8
call fcn.0043bf22
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 7
call fcn.0043bf22
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 6
call fcn.0043bf22
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0043b11f
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 4
call fcn.0043b11f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 3
call fcn.0043b11f
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 2
call fcn.0043bf22
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 1
call fcn.0043bf22
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0
call fcn.0043bf22
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], ebp
call fcn.0042bab0
mov eax, dword [esp + 0x28]
jmp 0x40414c
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 8
call fcn.0043bf22
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 7
call fcn.0043bf22
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 6
call fcn.0043bf22
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0043b11f
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 4
call fcn.0043b11f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 3
call fcn.0043b11f
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 2
call fcn.0043bf22
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 1
call fcn.0043bf22
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0
call fcn.0043bf22
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], ebp
call fcn.0042bab0
mov eax, ebp
jmp 0x40414c
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 8
call fcn.0043bf22
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 7
call fcn.0043bf22
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 6
call fcn.0043bf22
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 5
call fcn.0043b11f
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 4
call fcn.0043b11f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 3
call fcn.0043b11f
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 2
call fcn.0043bf22
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 1
call fcn.0043bf22
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0
call fcn.0043bf22
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], ebp
call fcn.0042bab0
mov eax, edi
jmp 0x40414c