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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x468fcd
mov esi, dword [edi + 0x20]
mov dword [edi + 0x18], 0
test esi, esi
jne 0x468c5b
mov dword [edi + 0x28], esi
mov esi, 0x46e3a0
mov dword [edi + 0x20], 0x46e3a0
cmp dword [edi + 0x24], 0
jne 0x468c68
mov dword [edi + 0x24], 0x46e3c0
cmp edx, 0xffffffff
mov ebp, 6
cmovne ebp, edx
cmp ebp, 9
ja 0x468fcd
push 0x16c4
cmp esi, 0x46e3a0
jne 0x468c93
call fcn.00492d51
add esp, 4
jmp 0x468ca5
push 1
push dword [edi + 0x28]
mov ecx, esi
call dword [0x4c83a0]
call esi
add esp, 0xc
mov esi, eax
test esi, esi
je 0x468fc3
mov dword [edi + 0x1c], esi
mov dword [esi], edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0x8000
mov dword [esi + 0x34], 0x7fff
mov dword [esi + 0x50], 0xf
mov dword [esi + 0x4c], 0x8000
mov dword [esi + 0x54], 0x7fff
mov dword [esi + 0x58], 5
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x28]
cmp ebx, 0x46e3a0
jne 0x468d10
push 0x10000
call fcn.00492d51
add esp, 4
jmp 0x468d25
push 2
push 0x8000
push eax
mov ecx, ebx
call dword [0x4c83a0]
call ebx
add esp, 0xc
mov dword [esi + 0x38], eax
mov ebx, dword [edi + 0x20]
mov eax, dword [esi + 0x2c]
cmp ebx, 0x46e3a0
jne 0x468d43
add eax, eax
push eax
call fcn.00492d51
add esp, 4
jmp 0x468d56
push 2
push eax
push dword [edi + 0x28]
mov ecx, ebx
call dword [0x4c83a0]
call ebx
add esp, 0xc
mov dword [esi + 0x40], eax
mov ebx, dword [edi + 0x20]
mov eax, dword [esi + 0x4c]
cmp ebx, 0x46e3a0
jne 0x468d74
add eax, eax
push eax
call fcn.00492d51
add esp, 4
jmp 0x468d87
push 2
push eax
push dword [edi + 0x28]
mov ecx, ebx
call dword [0x4c83a0]
call ebx
add esp, 0xc
mov dword [esi + 0x44], eax
mov dword [esi + 0x16c0], 0
mov dword [esi + 0x169c], 0x4000
mov ebx, dword [edi + 0x20]
cmp ebx, 0x46e3a0
jne 0x468db8
push 0x10000
call fcn.00492d51
add esp, 4
jmp 0x468dcf
push 4
push 0x4000
push dword [edi + 0x28]
mov ecx, ebx
call dword [0x4c83a0]
call ebx
add esp, 0xc
cmp dword [esi + 0x38], 0
mov ecx, eax
mov edx, dword [esi + 0x169c]
mov dword [esi + 8], ecx
lea eax, [edx*4]
mov dword [esi + 0xc], eax
je 0x468fae
cmp dword [esi + 0x40], 0
je 0x468fae
cmp dword [esi + 0x44], 0
je 0x468fae
test ecx, ecx
je 0x468fae
mov eax, edx
mov dword [esi + 0x84], ebp
shr eax, 1
mov dword [esi + 0x88], 0
mov byte [esi + 0x24], 8
lea eax, [ecx + eax*2]
mov dword [esi + 0x16a4], eax
lea eax, [ecx + edx*2]
add eax, edx
mov dword [esi + 0x1698], eax
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x468fa2
cmp dword [edi + 0x20], 0
je 0x468fa2
cmp dword [edi + 0x24], 0
je 0x468fa2
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 2
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 8]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], eax
test edx, edx
jns 0x468e8a
neg edx
mov dword [ecx + 0x18], edx
test edx, edx
mov eax, 0x71
mov esi, 0x2a
cmovne eax, esi
mov dword [ecx + 4], eax
xor eax, eax
cmp edx, 2
setne al
mov dword [edi + 0x30], eax
lea eax, [ecx + 0x94]
mov dword [ecx + 0xb18], eax
lea eax, [ecx + 0x988]
mov dword [ecx + 0xb24], eax
lea eax, [ecx + 0xa7c]
mov dword [ecx + 0xb30], eax
xor eax, eax
mov dword [ecx + 0x28], 0
mov dword [ecx + 0xb20], 0x4f6ce4
mov dword [ecx + 0xb2c], 0x4f6cbc
mov dword [ecx + 0xb38], 0x4f6cd0
mov word [ecx + 0x16b8], ax
mov dword [ecx + 0x16bc], eax
call fcn.0046c9a0
mov esi, dword [edi + 0x1c]
xor edx, edx
xor ebx, ebx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.004883f0
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x4d5f12]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x4d5f10]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x4d5f14]
mov dword [esi + 0x90], eax
movzx eax, word [ecx*4 + 0x4d5f16]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x16b4], ebx
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], ebx
mov dword [esi + 0x48], ebx
call fcn.004ae9f4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
pop edi
pop esi
mov ebx, 0xfffffffe
pop ebp
mov eax, ebx
pop ebx
ret
mov dword [esi + 4], 0x29a
mov ecx, edi
mov dword [edi + 0x18], str.insufficient_memory
call fcn.00469a70
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret