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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
push edi
push dword [esi + 0x2c]
push esi
call fcn.004851d5
mov dword [esp + 0x1c], edx
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp edx, ebx
ja 0x484506
jb 0x48437b
cmp ecx, ebx
ja 0x484506
or eax, edx
jne 0x484394
push dword [esi + 0x2c]
push esi
call fcn.00485027
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
push ebx
push edx
push ecx
push dword [esi + 0x2c]
push esi
call fcn.00489ab3
mov edi, ebx
or ebx, 0xffffffff
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004854ed
test eax, eax
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004856ec
test eax, eax
lea eax, [esp + 0x48]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004856ec
test eax, eax
xorps xmm0, xmm0
lea eax, [esp + 0x78]
movlpd qword [esp + 0x64], xmm0
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004856ec
add esp, 0x44
test eax, eax
je 0x484411
mov eax, dword [esp + 0x30]
mov edi, ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x48441a
mov ebp, dword [esp + 0x40]
and dword [esp + 0x20], 0
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push eax
push dword [esi + 0x2c]
movlpd qword [esp + 0x3c], xmm0
push esi
call fcn.004856ec
add esp, 0xc
test eax, eax
je 0x484444
mov eax, dword [esp + 0x38]
mov edi, ebx
mov ecx, dword [esp + 0x34]
jmp 0x48444a
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
cmp ecx, ebp
jne 0x48446a
cmp eax, dword [esp + 0x20]
jne 0x48446a
cmp dword [esp + 0x1c], 0
jne 0x48446a
cmp dword [esp + 0x10], 0
je 0x48446d
push 0xffffffffffffff99
pop edi
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push eax
push dword [esi + 0x2c]
movlpd qword [esp + 0x3c], xmm0
push esi
call fcn.004854ed
add esp, 0xc
test eax, eax
je 0x48449b
mov eax, dword [esp + 0x38]
mov edi, ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], eax
jmp 0x4844a4
mov ebp, dword [esp + 0x40]
and dword [esp + 0x10], 0
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push eax
push dword [esi + 0x2c]
movlpd qword [esp + 0x34], xmm0
push esi
call fcn.004854ed
add esp, 0xc
test eax, eax
je 0x4844d2
mov eax, dword [esp + 0x30]
mov edi, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
jmp 0x4844db
mov eax, dword [esp + 0x40]
and dword [esp + 0x1c], 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0x2c]
push esi
call fcn.004856ec
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x40]
test eax, eax
mov eax, dword [esp + 0x1c]
cmovne edi, ebx
jmp 0x48462e
push ebx
push edx
push ecx
push dword [esi + 0x2c]
push esi
call fcn.00489ab3
mov edi, ebx
or ebx, 0xffffffff
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004854ed
test eax, eax
lea eax, [esp + 0x54]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.00485589
test eax, eax
lea eax, [esp + 0x6c]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004856ec
test eax, eax
lea eax, [esp + 0x78]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004856ec
add esp, 0x44
test eax, eax
lea eax, [esp + 0x10]
cmovne edi, ebx
push eax
push dword [esi + 0x2c]
push esi
call fcn.004854ed
test eax, eax
lea eax, [esp + 0x28]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.004854ed
test eax, eax
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.00485589
test eax, eax
lea eax, [esp + 0x58]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.00485589
add esp, 0x30
test eax, eax
mov eax, dword [esp + 0x34]
cmovne edi, ebx
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jne 0x4845e4
cmp eax, dword [esp + 0x30]
jne 0x4845e4
cmp dword [esp + 0x1c], 0
jne 0x4845e4
cmp dword [esp + 0x10], 0
je 0x4845e7
push 0xffffffffffffff99
pop edi
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x2c]
push esi
call fcn.00485589
test eax, eax
lea eax, [esp + 0x38]
push eax
push dword [esi + 0x2c]
cmovne edi, ebx
push esi
call fcn.00485589
mov ecx, dword [esp + 0x44]
add esp, 0x18
mov ebp, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmovne edi, ebx
mov eax, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
add ecx, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
adc eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x484657
jb 0x484650
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x18], eax
jae 0x484657
test edi, edi
jne 0x48465b
push 0xffffffffffffff99
pop edi
test edi, edi
je 0x48466d
push dword [esi + 0x2c]
push dword [esi + 0x1c]
call dword [esi + 0x14]
pop ecx
pop ecx
mov eax, ebx
jmp 0x4847db
test edx, edx
je 0x4846a4
lea eax, [edx + 1]
push eax
call fcn.0048e417
mov dword [esi + 0x10100], eax
pop ecx
test eax, eax
je 0x4846a0
push dword [esp + 0x20]
push eax
push dword [esi + 0x2c]
push dword [esi + 0x1c]
call dword [esi + 4]
mov ecx, dword [esi + 0x10100]
add esp, 0x10
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x40]
push 0xff0
sbb ecx, dword [esp + 0x20]
sub eax, ebp
mov dword [esp + 0x1c], eax
sbb ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esi + 0x100f0], eax
mov dword [esi + 0x100f4], ecx
call fcn.0048e417
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x44]
push 0
adc ecx, dword [esp + 0x24]
push ecx
push eax
push dword [esi + 0x2c]
mov dword [esp + 0x48], eax
push esi
mov dword [esp + 0x44], ecx
call fcn.00489ab3
add esp, 0x18
test eax, eax
mov eax, dword [esp + 0x10]
cmovne edi, ebx
xor ecx, ecx
cmp eax, ecx
jbe 0x484782
test edi, edi
jne 0x484786
mov dword [esp + 0x40], ecx
mov edx, 0xff0
mov edi, edx
mov dword [esp + 0x1c], edi
cmp eax, ecx
ja 0x484736
jb 0x48472c
cmp ebp, edx
jae 0x484736
mov edi, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], eax
push edi
push dword [esp + 0x24]
push dword [esi + 0x2c]
push dword [esi + 0x1c]
call dword [esi + 4]
add esp, 0x10
cmp eax, edi
jne 0x484768
xor eax, eax
cmp eax, dword [esp + 0x40]
jne 0x484768
push edi
push dword [esp + 0x24]
lea eax, [esi + 0x30]
push eax
call fcn.00484cc6
add esp, 0xc
mov edi, eax
jmp 0x48476a
mov edi, ebx
sub ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
sbb eax, dword [esp + 0x40]
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
ja 0x48470f
jb 0x484786
cmp ebp, ecx
ja 0x48470f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x484795
push eax
call fcn.0048e3df
pop ecx
mov eax, dword [esp + 0x18]
mov dword [esi + 0x100e8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x100ec], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x100f8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x100fc], eax
xor eax, eax
push eax
push dword [esp + 0x30]
push dword [esp + 0x3c]
push dword [esi + 0x2c]
push esi
call fcn.00489ab3
add esp, 0x14
test eax, eax
cmovne edi, ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret