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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ebx + 0xc]
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x20], eax
add eax, 1
mov dword [esp + 0x1c], eax
add eax, 1
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x18]
test eax, eax
push edi
mov dword [esp + 0x10], 0xffff8000
je 0x4648ec
mov ecx, dword [edx + 0x10]
add ecx, 0xc
cmp dword [ecx], eax
mov dword [esp + 0x10], 0
je 0x4648ec
nop
add dword [esp + 0x10], 1
add ecx, 0x10
cmp dword [ecx], eax
jne 0x4648e0
mov edi, dword [esp + 0x10]
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx]
shl edi, 4
mov edx, dword [ecx + edi]
push edx
push 0
push eax
push 0x1b
mov eax, esi
call fcn.0045f990
add esp, 0x10
test eax, eax
jne 0x464d8a
mov ecx, dword [esp + 0x10]
cmp ecx, 1
je 0x464943
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + edi + 4]
cmp byte [edx + 9], 0
je 0x464943
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [eax + 0x14]
push edx
push 1
push eax
push ecx
mov eax, esi
call fcn.0045fa20
add esp, 0x10
mov edi, dword [esi + 8]
test edi, edi
je 0x464950
mov dword [esp + 0x28], edi
jmp 0x464972
cmp dword [esi + 0x78], 0
jne 0x464962
mov ecx, dword [esi]
test byte [ecx + 0x50], 8
jne 0x464962
mov byte [esi + 0x17], 1
mov ebx, esi
call fcn.0043c140
mov ebx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov edi, eax
test edi, edi
je 0x464d8a
mov eax, dword [ebp + 0xc]
test eax, eax
jl 0x464987
mov dword [esp + 0x2c], eax
jmp 0x46498e
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x2c], edx
push ebx
push esi
call fcn.004671c0
mov ecx, dword [esi + 0x28]
add esp, 8
test eax, eax
lea edx, [ecx + 1]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x28], edx
je 0x4649b0
add dword [eax], 1
movzx eax, word [ebx + 0x32]
push eax
push 0
push ecx
push 0x77
push edi
call fcn.0043c3f0
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x57], 0
je 0x4649db
mov eax, dword [esp + 0x14]
mov edx, 0xfffffff8
call fcn.0043cde0
jmp 0x464a1a
test eax, eax
jge 0x4649e5
mov eax, dword [edi + 0x6c]
sub eax, 1
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
cmp byte [ecx + eax*4 + 1], 0
lea ecx, [ecx + eax*4]
je 0x464a0b
mov edx, dword [esp + 0x14]
push edx
mov eax, 0xfffffff8
mov edx, edi
call fcn.0043ced0
add esp, 4
jmp 0x464a1a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x464a1a
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], pe_nt_image_headers32
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
push 0x70
push eax
mov eax, dword [esp + 0x38]
push esi
call fcn.0046f0f0
mov ebx, dword [esp + 0x30]
add esp, 0xc
push 0
push 0
push ebx
push 0x24
push edi
call fcn.0043c3f0
mov dword [esp + 0x44], eax
mov al, byte [esi + 0x13]
add esp, 0x14
test al, al
jne 0x464a5e
add dword [esi + 0x2c], 1
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x18], ecx
jmp 0x464a71
sub al, 1
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x464a7a
mov eax, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
push 0
push 0
push 0
push ecx
mov byte [eax + 0x14], 1
push ebx
push edx
lea eax, [esp + 0x4c]
call fcn.00469140
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push 0
push eax
push ecx
push 0x8b
push edi
call fcn.0043c3f0
mov eax, dword [esp + 0x60]
add esp, 0x2c
test eax, eax
je 0x464ae4
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ecx + 0x3c]
add ebx, dword [ecx + 0x38]
not eax
jns 0x464adb
push eax
push edx
mov edi, ecx
call fcn.0043ca00
mov edi, dword [esp + 0x30]
add esp, 8
jmp 0x464ae4
mov ecx, dword [ecx + 0x40]
mov edx, dword [edx + 0x6c]
mov dword [ecx + eax*4], edx
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push 0
lea eax, [ebx + 1]
push eax
push ecx
push 0x27
push edi
call fcn.0043c3f0
mov edx, dword [edi]
mov ecx, dword [edi + 0x6c]
add esp, 0x14
cmp byte [edx + 0x57], 0
je 0x464b10
mov eax, 0x4d6798
jmp 0x464b19
mov edx, dword [edi + 0x68]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
mov dword [eax + 8], ecx
jge 0x464b3d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push 0
push eax
push ecx
push 0x91
push edi
call fcn.0043c3f0
add esp, 0x14
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push 0x71
push edi
call fcn.0043c3f0
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x57], 0
je 0x464b6f
mov eax, dword [esp + 0x14]
mov edx, 0xfffffff8
call fcn.0043cde0
jmp 0x464bae
test eax, eax
jge 0x464b79
mov eax, dword [edi + 0x6c]
sub eax, 1
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
cmp byte [eax + edx*4 + 1], 0
lea ecx, [eax + edx*4]
je 0x464b9f
mov edx, dword [esp + 0x14]
push edx
mov eax, 0xfffffff8
mov edx, edi
call fcn.0043ced0
add esp, 4
jmp 0x464bae
mov eax, dword [esp + 0x14]
test eax, eax
je 0x464bae
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], pe_nt_image_headers32
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x464bd1
xor ecx, ecx
test ebx, ebx
setl cl
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
sub ecx, 1
and ecx, 0x10
or cx, 1
mov word [eax + edx*4 - 0x12], cx
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
push 0x22
push edi
call fcn.0043c3f0
mov edx, dword [ebp + 8]
add esp, 0x14
cmp byte [edx + 0x36], 0
mov dword [esp + 0x30], eax
je 0x464c82
push 0
push 1
push 0
push 9
push edi
call fcn.0043c3f0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x32]
mov ecx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [edi + 0x6c]
add esp, 0x14
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push eax
push ebx
push ecx
push 0x84
push edi
mov dword [esp + 0x48], edx
call fcn.0043c3f0
mov edx, dword [edi]
add esp, 0x14
cmp byte [edx + 0x57], 0
jne 0x464c50
mov ecx, dword [edi + 0x68]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
push eax
push 2
push esi
call fcn.00466c50
mov edx, dword [edi]
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp byte [edx + 0x57], 0
je 0x464c74
mov eax, 0x4d6798
mov dword [eax + 8], ecx
jmp 0x464c96
mov edx, dword [edi + 0x68]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
jmp 0x464c96
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x464c8b
mov eax, esi
mov byte [eax + 0x15], 1
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push ebx
push edx
push 0x85
push edi
call fcn.0043c3f0
mov eax, dword [ebp + 8]
add esp, 0x14
test dword [eax + 0x38], 0x200
jne 0x464cd6
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
push 0x89
push edi
call fcn.0043c3f0
add esp, 0x14
mov edx, dword [esp + 0x20]
push 0
push ebx
push edx
push 0x8a
push edi
call fcn.0043c3f0
mov eax, dword [edi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x464d00
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0x10
test ebx, ebx
je 0x464d19
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x464d19
movzx edx, al
mov dword [esi + edx*4 + 0xa0], ebx
add byte [esi + 0x13], 1
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push 0
push eax
push esi
push 0x25
push edi
call fcn.0043c3f0
mov edx, dword [edi]
mov ecx, dword [edi + 0x6c]
add esp, 0x14
cmp byte [edx + 0x57], 0
je 0x464d42
mov eax, 0x4d6798
jmp 0x464d4f
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
push 0
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x28]
push 0
push eax
push 0x7a
push edi
call fcn.0043c3f0
mov ecx, dword [esp + 0x34]
add esp, 0x14
push 0
push 0
push ecx
push 0x7a
push edi
call fcn.0043c3f0
add esp, 0x14
push 0
push 0
push esi
push 0x7a
push edi
call fcn.0043c3f0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret