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

Disassembly:
push 0xffffffffffffffff
push 0x494b36
mov eax, dword fs:[0]
push eax
mov eax, 0x40d8
call fcn.00464810
mov eax, dword [0x4b7a40]
xor eax, esp
mov dword [esp + 0x40d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7a40]
xor eax, esp
push eax
lea eax, [esp + 0x40ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40fc]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov edi, 7
xor edx, edx
mov eax, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x430285
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00405e60
lea ecx, [esp + 0x38]
lea esi, [esp + 0xa8]
mov dword [esp + 0x40f4], ebx
call fcn.00425810
mov byte [esp + 0x40f4], 2
cmp dword [esp + 0x50], 8
jb 0x4302d2
mov eax, dword [esp + 0x3c]
push eax
call fcn.00441318
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0x50], edi
xor ecx, ecx
mov edi, 0x10
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
mov dword [esp + 0x14], 0x434870
mov dword [esp + 0x18], 0x41a7e0
mov dword [esp + 0x30], 0x434870
mov dword [esp + 0x34], 0x41a7e0
cmp dword [esp + 0xc0], edi
jae 0x430321
lea eax, [esp + 0xac]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x43036e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x43036e
cmp dword [esp + 0xc0], edi
jb 0x430364
mov edx, dword [esp + 0xac]
push edx
call fcn.00441318
add esp, 4
mov eax, 1
jmp 0x4304db
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x434820
mov dword [esp + 0x20], 0x434850
mov dword [esp + 0xc4], 0x437170
mov dword [esp + 0xc8], 0x4371d0
mov dword [esp + 0xcc], 0x4371e0
mov dword [esp + 0xd0], 0x437240
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], ebx
call fcn.00437260
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
call fcn.00436ab0
add esp, 8
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x43044d
lea edi, [esp + 0x14]
lea eax, [esp + 0x54]
call fcn.00434a70
jmp 0x430483
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jbe 0x430476
mov eax, dword [esp + 0x64]
add eax, 8
lea esp, [esp]
cmp byte [eax + 0x11], bl
jne 0x43046e
mov edx, dword [eax]
add esi, edx
mov edx, dword [eax + 4]
adc ebp, edx
add eax, 0x20
sub ecx, 1
jne 0x430460
lea eax, [esp + 0x14]
push ebx
push eax
call dword [esp + 0x20]
add esp, 8
lea edi, [esp + 0x14]
lea eax, [esp + 0x54]
call fcn.00434a70
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x4304b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4304ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4304b4
mov dword [esp + 0x24], 0xffffffff
cmp dword [esp + 0xc0], 0x10
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov dword [eax + 4], ebp
jb 0x4304d7
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00441318
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40d0]
xor ecx, esp
call fcn.0045ff59
add esp, 0x40e4
ret