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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x10]
mov esi, dword [edi - 0xbc]
push esi
mov dword [esp + 0x1c], esi
call fcn.004690d0
mov edx, dword [esi]
add esp, 0xc
mov esi, dword [ebp + 0x10]
shl esi, 4
add esi, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], esi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x464983
nop dword [eax + eax]
movzx edi, cx
shl edi, 4
add edi, edx
mov dword [esp + 0xc], edi
mov ecx, dword [edi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x464960
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, edi
call fcn.00471b90
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov edx, eax
shr edx, 0x1c
cmp edx, 2
je 0x464ee9
test eax, 0xfc000000
jne 0x4649c0
cmp ecx, 4
je 0x464ee9
cmp ecx, 8
je 0x464ee9
mov edx, eax
mov esi, 0x7fff
and edx, 0x100000
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
je 0x464a94
mov eax, dword [edi + 0x64]
mov edx, dword [eax + 4]
test edx, edx
je 0x464f6e
cmp dword [eax + 8], 0
jne 0x464f6e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
add ecx, 0x90
mov eax, dword [eax]
add eax, 8
push eax
push edx
push 0
push ecx
push edi
call fcn.00466d80
push 0
push dword [esp + 0x24]
mov esi, eax
push dword [esp + 0x2c]
call fcn.00469840
push 1
push dword [esp + 0x30]
mov edi, eax
push dword [esp + 0x38]
call fcn.00469840
mov ecx, dword [ebp + 8]
add esp, 0x2c
sub eax, edi
mov edx, eax
call fcn.00471b90
mov ecx, dword [ebp + 8]
mov edx, 0x3793
movzx eax, ax
mov word [ecx + 0x7c], dx
mov word [ecx + 0x78], si
mov word [ecx + 0x7a], ax
call fcn.0047ba80
mov edx, edi
mov esi, eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00471b90
movzx ecx, ax
mov eax, 0x3593
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x78], si
call fcn.0047ba80
mov ecx, dword [edi + 0x64]
mov dword [ecx + 4], 0
jmp 0x464aa9
and eax, 0xf0000
cmp eax, 0x30000
jbe 0x464aaf
mov edx, ecx
mov ecx, edi
call fcn.00471b90
mov esi, eax
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x24]
mov eax, 0x528a
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x7a], si
call fcn.0047ba80
cmp dword [esp + 0x14], 0x80
mov dword [esp + 0x18], eax
ja 0x464e2f
cmp dword [esp + 0x1c], 0
jne 0x464e2f
mov ecx, dword [edi + 0x64]
cmp dword [ecx + 4], 0
je 0x464b19
cmp dword [ecx + 8], 0
jne 0x464b19
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
add eax, 8
push eax
push esi
push dword [esp + 0x18]
call fcn.0045c9b0
add esp, 0xc
test eax, eax
je 0x464db3
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, edx
shr eax, 0x1c
cmp eax, 3
jne 0x464c54
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
movzx esi, dx
shl esi, 4
add esi, ecx
mov edx, dword [esi]
mov eax, edx
shr eax, 0x1c
cmp eax, 8
je 0x464b33
mov edx, dword [esi + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], edx
xorps xmm0, xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
movlpd qword [esp + 0x30], xmm0
test eax, eax
je 0x464b74
cmp eax, 2
jne 0x464e2b
mov ecx, dword [esp + 0x14]
mov eax, edx
shl eax, 4
cmp eax, ecx
jb 0x464e2b
xor eax, eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x464eb4
nop dword [eax + eax]
lea edx, [eax + 8]
mov ecx, edi
call fcn.00471b90
mov ecx, 0x2905
movzx eax, ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x18]
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0047ba80
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x464bf2
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
lea ecx, [ecx + eax*8]
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jmp 0x464c25
cmp eax, 2
je 0x464c21
cmp dword [esi], 0x10000000
jae 0x464c12
xor edx, edx
mov ecx, edi
call fcn.00471b90
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x464c29
mov ecx, dword [esp + 0x1c]
mov eax, 0x7fff
mov dword [esp + 0xc], eax
jmp 0x464c29
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
push ecx
push eax
push dword [esp + 0x30]
push esi
push edi
call fcn.00466d80
mov eax, dword [esp + 0x38]
add esp, 0x14
add eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x14]
jb 0x464ba0
jmp 0x464eb4
cmp eax, 1
jne 0x464daf
movzx eax, word [ecx + 8]
test eax, eax
je 0x464eb4
mov dword [esp + 0x1c], 8
mov dword [esp + 0x24], 4
nop dword [eax]
mov ecx, dword [esp + 0x10]
add eax, eax
mov edx, dword [ecx]
lea esi, [edx + eax*8]
movzx eax, word [esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x1c
mov dword [esp + 0x2c], esi
cmp ecx, 9
jne 0x464d95
cmp dword [esi + 0xc], 0
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
movsd qword [esp + 0x38], xmm0
je 0x464d9e
movzx esi, ax
shl esi, 4
add esi, edx
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x1c
cmp ecx, 8
je 0x464cc2
test ecx, ecx
je 0x464ce8
cmp ecx, 2
je 0x464ce8
cmp ecx, 5
jne 0x464f6e
mov eax, dword [edi + 0x64]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + eax]
mov dword [esp + 0x20], eax
test eax, eax
je 0x464d19
mov eax, dword [ebp + 0xc]
add edx, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov eax, dword [eax]
add eax, ecx
add ecx, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
jmp 0x464d35
cmp ecx, 2
jne 0x464d28
mov dword [esp + 0x20], 0x7fff
jmp 0x464d35
xor edx, edx
mov ecx, edi
call fcn.00471b90
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [edx + 4]
add edx, 8
call fcn.00471b90
movzx ecx, ax
mov eax, 0x2905
mov word [edi + 0x7c], ax
mov eax, dword [esp + 0x18]
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.0047ba80
push dword [esp + 0x28]
push dword [esp + 0x24]
push eax
push esi
push edi
call fcn.00466d80
mov ecx, dword [esp + 0x20]
add esp, 0x14
test dword [ecx], 0x800000
je 0x464d9e
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 4]
je 0x464eb4
jmp 0x464f6e
cmp ecx, 0xb
jne 0x464f6e
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x464c80
jmp 0x464eb4
mov esi, dword [esp + 0xc]
mov edx, 8
mov ecx, edi
call fcn.00471b90
mov ecx, 0x2905
movzx eax, ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x18]
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0047ba80
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
test edx, edx
je 0x464e03
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, 8
push ecx
push edx
push eax
push esi
push edi
call fcn.00466d80
jmp 0x464eb1
lea eax, [esp + 0x38]
xorps xmm0, xmm0
push eax
xor edx, edx
movlpd qword [esp + 0x3c], xmm0
mov ecx, edi
call fcn.00471b90
push eax
push dword [esp + 0x38]
push esi
push edi
call fcn.00466d80
jmp 0x464eb1
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x64]
cmp dword [eax + 4], 0
jne 0x464f6e
mov edx, 8
mov ecx, edi
call fcn.00471b90
mov ecx, 0x2905
movzx eax, ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x18]
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0047ba80
mov dword [esp + 0x30], eax
cmp esi, 0x7fff
jne 0x464e80
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.00471b90
mov esi, eax
mov ecx, dword [esp + 0x28]
mov eax, 3
shr ecx, 0x10
and ecx, 0xf
cmp ecx, eax
cmovb ecx, eax
mov eax, 1
shl eax, cl
xor edx, edx
push eax
mov ecx, edi
call fcn.00471b90
push eax
push esi
push dword [esp + 0x3c]
push edi
call fcn.00467270
add esp, 0x14
mov eax, dword [edi + 0x64]
mov esi, dword [esp + 0x18]
push 2
push dword [ebp + 0x10]
mov dword [eax], esi
push dword [esp + 0x18]
call fcn.004693a0
add esp, 0xc
test eax, eax
je 0x464f68
push eax
push 0
push esi
push edi
call fcn.004674f0
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x464f12
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 8
push eax
push dword [esp + 0x34]
push 0
push esi
push edi
call fcn.00466d80
add esp, 0x14
jmp 0x464f47
cmp edx, 2
jne 0x464f23
push 0
push 0x19
push edi
call fcn.00473d10
jmp 0x464f44
cmp ecx, 4
jne 0x464f33
xor edx, edx
mov ecx, edi
call fcn.00471b90
jmp 0x464f47
push 0
push 0
push edi
mov byte [edi + 0x134], 1
call fcn.00473b50
add esp, 0xc
mov ecx, 0x538a
mov word [edi + 0x7a], ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x24]
mov word [edi + 0x78], cx
mov ecx, edi
call fcn.0047ba80
mov ecx, dword [edi + 0x64]
mov dword [ecx], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x16
push edi
call fcn.00498e20
int3