Function at 0x465ac0
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.00413da0
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 0x465b33
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 0x465b10
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, edi
call fcn.00451e80
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 0x466129
test eax, 0xfc000000
jne 0x465b70
cmp ecx, 4
je 0x466129
cmp ecx, 8
je 0x466129
mov esi, eax
mov edx, 0x7fff
and esi, 0x100000
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
je 0x465c48
mov eax, dword [edi + 0x64]
mov edx, dword [eax + 4]
test edx, edx
je 0x4661ae
cmp dword [eax + 8], 0
jne 0x4661ae
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.00467ff0
push 0
push dword [esp + 0x24]
mov esi, eax
push dword [esp + 0x2c]
call fcn.00414610
push 1
push dword [esp + 0x30]
mov edi, eax
push dword [esp + 0x38]
call fcn.00414610
mov ecx, dword [ebp + 8]
add esp, 0x2c
sub eax, edi
mov edx, eax
call fcn.00451e80
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.0045b770
mov edx, edi
mov esi, eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00451e80
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.0045b770
mov ecx, dword [edi + 0x64]
mov esi, dword [esp + 0x20]
mov dword [ecx + 4], 0
jmp 0x465c5d
and eax, 0xf0000
cmp eax, 0x30000
jbe 0x465c63
mov edx, ecx
mov ecx, edi
call fcn.00451e80
mov edx, eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x24]
mov eax, 0x538a
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x7a], dx
call fcn.0045b770
cmp dword [esp + 0x14], 0x80
mov dword [esp + 0x1c], eax
ja 0x46606b
test esi, esi
jne 0x46606b
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x64]
cmp dword [eax + 4], 0
je 0x465cd0
cmp dword [eax + 8], 0
jne 0x465cd0
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.0044f770
add esp, 0xc
test eax, eax
je 0x465ff3
lea esi, [edi + 0x64]
mov edx, dword [esp + 0xc]
mov ecx, dword [edx]
mov eax, ecx
shr eax, 0x1c
cmp eax, 3
jne 0x465e17
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
nop word [eax + eax]
movzx esi, cx
shl esi, 4
add esi, edx
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x1c
cmp eax, 8
je 0x465cf0
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 + 0x20], ecx
movlpd qword [esp + 0x30], xmm0
test eax, eax
je 0x465d31
cmp eax, 2
jne 0x46606b
mov ecx, dword [esp + 0x14]
mov eax, edx
shl eax, 4
cmp eax, ecx
jb 0x46606b
xor eax, eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4660f2
nop dword [eax + eax]
lea edx, [eax + 8]
mov ecx, edi
call fcn.00451e80
mov edx, dword [esp + 0x1c]
mov ecx, 0x2905
mov word [edi + 0x7c], cx
movzx ecx, dx
movzx eax, ax
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0045b770
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x465db5
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
lea ecx, [ecx + eax*8]
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
jmp 0x465de8
cmp eax, 2
je 0x465de4
cmp dword [esi], 0x10000000
jae 0x465dd5
xor edx, edx
mov ecx, edi
call fcn.00451e80
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
jmp 0x465dec
mov ecx, dword [esp + 0x20]
mov eax, 0x7fff
mov dword [esp + 0xc], eax
jmp 0x465dec
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push ecx
push eax
push dword [esp + 0x30]
push esi
push edi
call fcn.00467ff0
mov eax, dword [esp + 0x38]
add esp, 0x14
add eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x14]
jb 0x465d60
jmp 0x4660f2
cmp eax, 1
jne 0x465fef
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x465ea1
movzx esi, word [edx + 8]
test esi, esi
je 0x465ea1
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
nop word [eax + eax]
shl esi, 4
add eax, esi
mov dword [esp + 0x2c], eax
movzx esi, word [eax + 8]
mov ecx, dword [eax]
mov eax, ecx
shr eax, 0x1c
cmp eax, 9
jne 0x465e8a
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0xc], 0
je 0x465e93
mov edi, dword [esp + 0x24]
movzx eax, cx
add eax, eax
mov ecx, dword [edi + eax*8]
mov eax, ecx
shr eax, 0x1c
cmp eax, 8
je 0x465e67
mov edi, dword [ebp + 8]
test eax, eax
je 0x465e93
cmp eax, 2
je 0x465e93
cmp eax, 5
jmp 0x465e8d
cmp eax, 0xb
jne 0x46606b
mov eax, dword [esp + 0x24]
test esi, esi
jne 0x465e40
movzx eax, word [edx + 8]
jmp 0x465ead
movzx eax, word [edx + 8]
test eax, eax
je 0x4660f2
mov dword [esp + 0x18], 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 0x465fd5
cmp dword [esi + 0xc], 0
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
movsd qword [esp + 0x38], xmm0
je 0x465fde
movzx esi, ax
shl esi, 4
add esi, edx
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0x1c
cmp ecx, 8
je 0x465f02
test ecx, ecx
je 0x465f28
cmp ecx, 2
je 0x465f28
cmp ecx, 5
jne 0x4661ae
mov eax, dword [edi + 0x64]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + eax]
mov dword [esp + 0x20], eax
test eax, eax
je 0x465f59
mov eax, dword [ebp + 0xc]
add edx, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov eax, dword [eax]
add eax, ecx
add ecx, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
jmp 0x465f75
cmp ecx, 2
jne 0x465f68
mov dword [esp + 0x20], 0x7fff
jmp 0x465f75
xor edx, edx
mov ecx, edi
call fcn.00451e80
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [edx + 4]
add edx, 8
call fcn.00451e80
movzx ecx, ax
mov eax, 0x2905
mov word [edi + 0x7c], ax
mov eax, dword [esp + 0x1c]
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.0045b770
push dword [esp + 0x28]
push dword [esp + 0x24]
push eax
push esi
push edi
call fcn.00467ff0
mov edx, dword [esp + 0x20]
add esp, 0x14
test dword [edx], 0x800000
je 0x465fde
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
jne 0x4661ae
jmp 0x4660f2
cmp ecx, 0xb
jne 0x4661ae
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x465ec0
jmp 0x4660f2
mov esi, dword [esp + 0xc]
mov edx, 8
mov ecx, edi
call fcn.00451e80
mov ecx, 0x2905
movzx eax, ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x1c]
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0045b770
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 4]
test edx, edx
je 0x466043
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, 8
push ecx
push edx
push eax
push esi
push edi
call fcn.00467ff0
jmp 0x4660ef
lea eax, [esp + 0x38]
xorps xmm0, xmm0
push eax
xor edx, edx
movlpd qword [esp + 0x3c], xmm0
mov ecx, edi
call fcn.00451e80
push eax
push dword [esp + 0x38]
push esi
push edi
call fcn.00467ff0
jmp 0x4660ef
mov eax, dword [edi + 0x64]
cmp dword [eax + 4], 0
jne 0x4661ae
mov edx, 8
mov ecx, edi
call fcn.00451e80
mov ecx, 0x2905
movzx eax, ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x1c]
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0045b770
cmp dword [esp + 0x18], 0x7fff
mov esi, eax
jne 0x4660be
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.00451e80
mov dword [esp + 0x18], 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.00451e80
push eax
push dword [esp + 0x20]
push esi
push edi
call fcn.00468510
add esp, 0x14
mov esi, dword [esp + 0x1c]
lea eax, [edi + 0x64]
mov eax, dword [eax]
push 2
push dword [ebp + 0x10]
push dword [esp + 0x18]
mov dword [eax], esi
call fcn.00414140
add esp, 0xc
test eax, eax
je 0x4661a8
push eax
push 0
push esi
push edi
call fcn.004687c0
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 0x466152
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.00467ff0
add esp, 0x14
jmp 0x466187
cmp edx, 2
jne 0x466163
push 0
push 0x19
push edi
call fcn.00452560
jmp 0x466184
cmp ecx, 4
jne 0x466173
xor edx, edx
mov ecx, edi
call fcn.00451e80
jmp 0x466187
push 0
push 0
push edi
mov byte [edi + 0x134], 1
call fcn.004523b0
add esp, 0xc
mov ecx, 0x548a
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.0045b770
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.00414ce0
int3