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

Disassembly:
push 0xffffffffffffffff
push 0x4978b6
mov eax, dword fs:[0]
push eax
mov eax, 0x40d8
call fcn.004675b0
mov eax, dword [0x4bba40]
xor eax, esp
mov dword [esp + 0x40d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bba40]
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 0x430f45
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004055f0
lea ecx, [esp + 0x38]
lea esi, [esp + 0xa8]
mov dword [esp + 0x40f4], ebx
call fcn.00426320
mov byte [esp + 0x40f4], 2
cmp dword [esp + 0x50], 8
jb 0x430f92
mov eax, dword [esp + 0x3c]
push eax
call fcn.004440dd
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], 0x435a90
mov dword [esp + 0x18], 0x435ab0
mov dword [esp + 0x30], 0x435a90
mov dword [esp + 0x34], 0x435ab0
cmp dword [esp + 0xc0], edi
jae 0x430fe1
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 0x43102e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x43102e
cmp dword [esp + 0xc0], edi
jb 0x431024
mov edx, dword [esp + 0xac]
push edx
call fcn.004440dd
add esp, 4
mov eax, 1
jmp 0x43119b
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x435a40
mov dword [esp + 0x20], 0x435a70
mov dword [esp + 0xc4], 0x4383a0
mov dword [esp + 0xc8], 0x438400
mov dword [esp + 0xcc], 0x438410
mov dword [esp + 0xd0], 0x438470
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], ebx
call fcn.00438490
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.00437ce0
add esp, 8
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x43110d
lea edi, [esp + 0x14]
lea eax, [esp + 0x54]
call fcn.00435ca0
jmp 0x431143
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jbe 0x431136
mov eax, dword [esp + 0x64]
add eax, 8
lea esp, [esp]
cmp byte [eax + 0x11], bl
jne 0x43112e
mov edx, dword [eax]
add esi, edx
mov edx, dword [eax + 4]
adc ebp, edx
add eax, 0x20
sub ecx, 1
jne 0x431120
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.00435ca0
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x431174
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x43116c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x431174
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 0x431197
mov ecx, dword [esp + 0xac]
push ecx
call fcn.004440dd
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.00462d06
add esp, 0x40e4
ret