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

Disassembly:
sub esp, 0x1b4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c4]
push edi
cmp dword [esi + 0x58], 2
jl 0x4424d9
cmp dword [esi + 4], 0
jne 0x44219e
mov eax, 0xffffff76
jmp 0x4424de
mov ebx, dword [esp + 0x1d0]
test ebx, ebx
jl 0x4424d9
mov edi, dword [esp + 0x1cc]
jg 0x4421be
test edi, edi
jb 0x4424d9
cmp ebx, dword [esi + 0x14]
jg 0x4424d9
jl 0x4421d2
cmp edi, dword [esi + 0x10]
ja 0x4424d9
cmp dword [esi + 0x58], 3
jl 0x442200
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x4421f9
jg 0x4421eb
cmp edi, dword [ecx + eax*8]
jb 0x4421f9
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x442200
jg 0x4421f9
cmp edi, dword [ecx + eax*8 + 8]
jb 0x442200
push esi
call fcn.0043ffd8
pop ecx
push dword [esi + 0x5c]
or dword [esi + 0x50], 0xffffffff
lea ebp, [esi + 0x78]
or dword [esi + 0x54], 0xffffffff
push ebp
call fcn.00453740
lea eax, [esi + 0x1e0]
push eax
call fcn.00443d18
push ebx
push edi
push esi
call fcn.004413ac
add esp, 0x18
test eax, eax
lea eax, [esp + 0x5c]
je 0x442253
or dword [esi + 0x50], 0xffffffff
or dword [esi + 0x54], 0xffffffff
push eax
call fcn.00452cb0
push esi
call fcn.0043ffd8
pop ecx
pop ecx
mov eax, 0xffffff77
jmp 0x4424de
push dword [esi + 0x5c]
xor edi, edi
and dword [esp + 0x1c], edi
and dword [esp + 0x20], edi
and dword [esp + 0x18], edi
push eax
mov dword [esp + 0x18], edi
call fcn.00453010
lea eax, [esp + 0x64]
push eax
call fcn.004536b0
add esp, 0xc
jmp 0x442281
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x58], 3
jl 0x442328
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004532a0
pop ecx
pop ecx
test eax, eax
jle 0x442328
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl ecx, 5
add eax, ecx
cmp dword [eax + 0x1c], 0
je 0x44231e
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00443da6
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jns 0x4422d6
push 0
push ebp
call fcn.004532a0
pop ecx
pop ecx
xor ebx, ebx
jmp 0x4422fe
cmp dword [esp + 0x1c], 0
je 0x4422f0
cmp dword [esp + 0x14], 0
jne 0x4422f0
push 0
push ebp
call fcn.004532a0
pop ecx
pop ecx
jmp 0x4422fe
test edi, edi
je 0x4422fe
lea eax, [ebx + edi]
sar eax, 2
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edi, dword [esp + 0x50]
and eax, edi
cmp eax, 0xffffffff
jne 0x442445
mov edi, ebx
mov dword [esp + 0x10], edi
jmp 0x442281
push 0
push ebp
call fcn.004532a0
pop ecx
pop ecx
test edi, edi
jne 0x4424bb
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
push esi
call fcn.004405ed
mov ecx, edx
mov dword [esp + 0x30], eax
add esp, 0x10
mov dword [esp + 0x28], ecx
test ecx, ecx
jl 0x4424a9
jg 0x44235e
test eax, eax
jb 0x4424a9
cmp dword [esi + 0x58], 3
jl 0x44239b
lea eax, [esp + 0x2c]
push eax
call fcn.00452c80
pop ecx
cmp dword [esi + 0x5c], eax
je 0x442395
lea eax, [esp + 0x2c]
push eax
call fcn.00452b50
pop ecx
test eax, eax
je 0x442395
push esi
call fcn.0043ffd8
lea eax, [esp + 0x60]
push eax
call fcn.00452cb0
pop ecx
pop ecx
cmp dword [esi + 0x58], 3
jge 0x442415
lea eax, [esp + 0x2c]
push eax
call fcn.00452c80
pop ecx
mov ecx, dword [esi + 0x34]
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x4423c0
mov eax, dword [esi + 0x40]
cmp dword [eax], ebx
je 0x4423c0
inc edi
add eax, 4
cmp edi, ecx
jl 0x4423b4
cmp edi, ecx
je 0x44227d
push ebx
push ebp
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebx
call fcn.00453740
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.00453740
mov eax, dword [esi + 0x3c]
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x44240c
jl 0x442402
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + edi*8]
ja 0x44240c
mov dword [esp + 0x14], 1
jmp 0x442411
and dword [esp + 0x14], 0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.004532e0
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004532e0
lea eax, [esp + 0x3c]
push eax
call fcn.00452be0
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x442281
mov ebx, dword [esi + 0x60]
mov eax, ebx
mov edx, dword [esi + 0x44]
shl eax, 4
sub ecx, dword [eax + edx]
sbb edi, dword [eax + edx + 4]
test edi, edi
jg 0x442472
jl 0x442461
test ecx, ecx
jae 0x442472
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ebx, ebx
jle 0x442486
add edx, 8
add ecx, dword [edx]
adc edi, dword [edx + 4]
lea edx, [edx + 0x10]
sub ebx, 1
jne 0x442479
mov eax, dword [esp + 0x18]
cdq
sub ecx, eax
mov dword [esi + 0x50], ecx
sbb edi, edx
mov dword [esi + 0x54], edi
test edi, edi
jg 0x4424c3
jl 0x44249f
test ecx, ecx
jae 0x4424c3
and dword [esi + 0x50], 0
and dword [esi + 0x54], 0
jmp 0x4424c3
push 0xffffffffffffffff
push esi
call fcn.00442102
pop ecx
pop ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x4424c3
or dword [esi + 0x50], 0xffffffff
or dword [esi + 0x54], 0xffffffff
lea eax, [esp + 0x5c]
push eax
call fcn.00452cb0
xorps xmm0, xmm0
xor eax, eax
pop ecx
movups xmmword [esi + 0x68], xmm0
jmp 0x4424de
mov eax, 0xffffff7d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b4
ret