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

Disassembly:
sub esp, 0x914
mov eax, dword [0x473354]
xor eax, esp
mov dword [esp + 0x910], eax
mov eax, dword [esp + 0x924]
mov ecx, dword [esp + 0x928]
mov edx, dword [esp + 0x92c]
push ebx
push ebp
mov ebp, dword [esp + 0x938]
push esi
mov esi, dword [esp + 0x928]
push edi
mov edi, dword [esp + 0x928]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0x14
mov ebx, 0x800b0100
test ebp, ebp
je 0x42719e
mov dword [ebp], 0
push 0x5c
push edi
call fcn.004309b8
add esp, 8
test eax, eax
je 0x4271b8
push 0x5c
push edi
call fcn.004309b8
add esp, 8
mov eax, dword [0x4750e4]
test eax, eax
je 0x427476
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call eax
test esi, esi
je 0x427217
push esi
lea ecx, [esp + 0x30]
call fcn.00406500
mov eax, dword [eax]
test eax, eax
je 0x4271e8
mov eax, dword [eax]
jmp 0x4271ea
xor eax, eax
mov edx, dword [esp + 0x10]
push 0
push 0
push eax
push edx
call dword [0x4750cc]
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.004095d0
test esi, esi
je 0x427217
mov eax, dword [esp + 0x10]
push 0
push esi
push eax
call dword [0x4750d4]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x427459
push 0
lea ecx, [esp + 0x2a4]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
call dword [0x4750c4]
push esi
test eax, eax
jne 0x427261
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427459
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x14]
xor esi, esi
test ebp, ebp
jbe 0x4272a9
lea edi, [esp + 0x2b4]
jmp 0x427280
movzx eax, byte [esp + esi + 0x2a0]
push eax
push str._02X
push 3
push edi
call fcn.004335ef
mov ebp, dword [esp + 0x24]
inc esi
add esp, 0x10
add edi, 4
cmp esi, ebp
jb 0x427280
mov edi, dword [esp + 0x28]
push 0x20c
lea ecx, [esp + 0x98]
push 0
push ecx
call fcn.0042f790
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push ebp
lea edx, [esp + 0x2ac]
push edx
push eax
mov dword [esp + 0xa8], 0x20c
call dword [0x4750e0]
mov esi, eax
test esi, esi
je 0x427459
lea ecx, [ecx]
push 0
lea ecx, [esp + 0x98]
push ecx
push esi
call dword [0x4750c8]
test eax, eax
jne 0x427339
mov edx, dword [esp + 0x10]
push eax
push esi
push edx
call dword [0x4750d4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0
push 0
push eax
lea ecx, [esp + 0x2ac]
push ecx
push edx
call dword [0x4750e0]
mov esi, eax
test esi, esi
jne 0x4272f0
jmp 0x427459
xor eax, eax
push 0x410
lea ecx, [esp + 0x514]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
push ecx
lea eax, [esp + 0xa0]
push edi
mov dword [esp + 0x3c], 0x24
mov dword [esp + 0x44], eax
call fcn.00427010
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c0]
lea edx, [esp + 0x51c]
push 0x30
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
lea eax, [esp + 0x74]
lea edx, [esp + 0x2b0]
push 0
push eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
call fcn.0042f790
add esp, 0x18
xor ecx, ecx
cmp byte [esp + 0x930], cl
mov eax, 2
mov dword [esp + 0x70], eax
setne cl
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
push 0x473234
lea edx, [esp + 0x38]
push 0
mov dword [esp + 0x70], 0x30
mov dword [esp + 0x80], ecx
mov dword [esp + 0x8c], 1
mov dword [esp + 0x88], edx
call dword [0x4750d8]
mov ecx, dword [esp + 0x10]
push 0
push esi
push ecx
mov ebx, eax
call dword [0x4750d4]
test ebx, ebx
jne 0x427459
cmp dword [esp + 0x18], ebx
je 0x427459
push 0x208
lea edx, [esp + 0x30c]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00426fd0
lea ecx, [esp + 0x314]
push ecx
call fcn.0042f484
mov edx, dword [esp + 0x28]
add esp, 0x10
mov dword [edx], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42746a
push 0
push eax
call dword [0x4750bc]
test ebx, ebx
je 0x427528
mov ebp, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push 0x410
lea eax, [esp + 0x514]
push eax
push edi
mov dword [esp + 0x60], 0x10
call fcn.00427010
push 0x30
lea edx, [esp + 0x74]
lea ecx, [esp + 0x520]
push 0
push edx
mov dword [esp + 0x70], ecx
call fcn.0042f790
movzx eax, byte [esp + 0x948]
add esp, 0x18
neg eax
sbb eax, eax
lea edx, [esp + 0x64]
and eax, 0x40
push edx
mov dword [esp + 0x78], eax
mov eax, 1
push 0x473234
lea ecx, [esp + 0x5c]
push 0
mov dword [esp + 0x70], 0x30
mov dword [esp + 0x7c], 2
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
call dword [0x4750d8]
mov ebx, eax
test ebx, ebx
jne 0x42756a
test ebp, ebp
je 0x427528
push edi
call fcn.0042f484
add esp, 4
mov dword [ebp], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42754b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.00426de0
add esp, 0x10
lea eax, [esp + 0x64]
push eax
push 0x473234
push 0
mov dword [esp + 0x8c], 2
call dword [0x4750d8]
jmp 0x427578
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x427578
mov dword [eax], 0
mov ecx, dword [esp + 0x920]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00430430
add esp, 0x914
ret