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

Disassembly:
sub esp, 0x78
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
mov esi, edx
mov dword [esp + 0xc], 2
xor ebp, ebp
mov dword [esp + 0x2c], esi
push edi
mov edi, ecx
mov dword [esp + 0x14], ebp
mov ebx, dword [esi + 0x48]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ecx
movlpd qword [esp + 0x20], xmm0
cmp dword [ebx + 0x18], ebp
jne 0x45b4bc
xor eax, eax
cmp dword [ebx + 0x30], eax
sete al
mov dword [ecx], eax
mov ecx, esi
call fcn.0045af00
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00564de8
add esp, 0x78
ret
mov ecx, edi
call fcn.0045b1c0
mov esi, eax
test esi, esi
jne 0x45b73a
mov ecx, dword [ebx + 0x18]
cmp ecx, 0x10
jle 0x45b4da
lea ecx, [eax + 0x10]
jmp 0x45b4df
cmp ecx, 2
jle 0x45b4f0
mov eax, 2
add eax, eax
cmp eax, ecx
jl 0x45b4e4
mov dword [esp + 0x10], eax
jmp 0x45b4f5
mov eax, 2
imul eax, eax, 0x34
mov ecx, edi
mov edx, eax
mov dword [esp + 0x18], eax
call fcn.00431480
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x45b522
push dword [esp + 0x18]
push 0
push ecx
call fcn.0056cbb0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x24], ecx
test ecx, ecx
jne 0x45b53f
lea eax, [ecx + 7]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00564de8
add esp, 0x78
ret
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x14], edx
lea eax, [edx + edx*2]
shl eax, 4
add eax, ecx
mov dword [ebx + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
jne 0x45b6b6
xor eax, eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x18]
jge 0x45b6b6
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x38]
xorps xmm0, xmm0
mov ecx, edi
push eax
movdqu xmmword [esp + 0x44], xmm0
movdqu xmmword [esp + 0x54], xmm0
movq qword [esp + 0x64], xmm0
call fcn.0045b3a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x45b6b2
cmp dword [ebx + 0x18], 0x10
jle 0x45b6f7
test ebp, ebp
jne 0x45b5c7
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.0045ad90
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
jne 0x45b694
push dword [esp + 0x24]
lea eax, [esp + 0x44]
mov edx, ebp
push dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
xor edi, edi
push eax
mov ecx, ebp
mov dword [esp + 0x28], edi
call fcn.0045aff0
add esp, 0xc
lea ecx, [esp + 0x78]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.004341c0
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0x4c]
call fcn.0045b070
add esp, 0xc
nop
test edi, edi
jne 0x45b674
mov eax, dword [ebx + 0x28]
lea ecx, [esp + 0x6c]
mov eax, dword [eax + 4]
lea esi, [eax + eax*2]
shl esi, 4
add esi, dword [ebx + 0x24]
mov eax, dword [esi + 0x14]
cdq
push edx
push eax
call fcn.004341c0
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x4c]
call fcn.0045b070
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x4c]
add esp, 0xc
push dword [esi + 0x14]
call fcn.0045b070
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
add esp, 4
mov ecx, ebp
push eax
call fcn.0045b750
mov esi, eax
add esp, 4
test esi, esi
jne 0x45b674
mov edi, dword [esp + 0x1c]
jmp 0x45b610
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
lea edx, [esp + 0x44]
call fcn.0045b140
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, dword [esp + 0x2c]
test esi, esi
cmove esi, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test esi, esi
je 0x45b565
jmp 0x45b6b6
mov ecx, dword [esp + 0x10]
cmp dword [ebx + 0x18], 0x10
jle 0x45b6f7
mov eax, dword [ebx + 0x2c]
xorps xmm0, xmm0
mov dword [ebx + 0x2c], ebp
mov ebp, eax
mov eax, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x18], ecx
mov dword [esp + 0x14], ebp
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
movlpd qword [esp + 0x20], xmm0
test esi, esi
je 0x45b551
test ebp, ebp
je 0x45b71b
mov eax, dword [ebp]
test eax, eax
je 0x45b712
mov eax, dword [eax + 4]
push ebp
call eax
add esp, 4
mov dword [ebp], 0
push ebp
call fcn.00431190
add esp, 4
mov eax, dword [ebx + 0x28]
xor ecx, ecx
mov eax, dword [eax + 4]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x24]
add edx, edx
cmp dword [eax + edx*8 + 0x18], ecx
mov eax, dword [esp + 0x34]
sete cl
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00564de8
add esp, 0x78
ret