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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x521104]
xor eax, esp
mov dword [esp + 0x84], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ecx + 8]
mov edi, dword [ebp + 8]
dec eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], ecx
cmp eax, 0xe
ja case.0x45d4aa.5
jmp dword [eax*4 + 0x45db9c]
mov eax, dword [ecx]
mov esi, dword [edx]
mov edx, eax
mov dword [esp + 0x60], eax
shr eax, 0x1f
mov dword [esp + 0x14], eax
test al, al
je 0x45d4cc
neg edx
mov dword [esp + 0x60], edx
mov edi, dword [esi + 8]
mov eax, edx
or eax, 1
mov dword [esp + 0x18], edi
bsr ecx, eax
mov eax, edx
mov dword [esp + 0x24], 0
add eax, dword [ecx*8 + 0x504a90]
mov eax, 0
adc eax, dword [ecx*8 + 0x504a94]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
movzx eax, cl
add eax, edi
mov edi, dword [esp + 0x78]
add edi, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], edi
cmp eax, edi
mov edi, dword [esp + 0x58]
jb 0x45d56e
mov edx, dword [esp + 0x14]
cmp edx, eax
cmova edx, eax
mov eax, edx
mov dword [esp + 0x14], edx
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x60]
je 0x45d56b
test cl, cl
je 0x45d545
mov byte [eax], 0x2d
inc eax
push dword [esp + 0x78]
push edx
push eax
call fcn.00432c40
add esp, 0xc
mov dword [edi], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
test cl, cl
je 0x45d5a1
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, eax
jbe 0x45d594
mov eax, dword [esi]
push ecx
mov edi, dword [eax]
mov ecx, edi
call dword [0x4ed33c]
mov ecx, esi
call edi
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0x2d
inc dword [esi + 8]
push dword [esp + 0x78]
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [esp + 0x78]
mov ecx, esi
push edx
push eax
call fcn.00435b10
mov dword [edi], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
push dword [ecx]
push dword [edx]
push edi
call fcn.00432cd0
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
mov esi, dword [edx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
test eax, eax
jg 0x45d62e
jl 0x45d618
test ecx, ecx
jae 0x45d62e
neg ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], ecx
adc eax, 0
neg eax
mov dword [esp + 0x78], eax
jmp 0x45d634
xor dl, dl
mov byte [esp + 0x13], dl
push eax
push ecx
call fcn.00432d90
mov edx, eax
add esp, 8
mov eax, dword [esi + 8]
mov dword [esp + 0x60], eax
mov al, byte [esp + 0x13]
movzx ecx, al
add ecx, dword [esp + 0x60]
add ecx, edx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0xc]
cmp edx, ecx
jb 0x45d6b4
cmovb ecx, edx
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x24]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x60]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x58]
je 0x45d6b4
test al, al
je 0x45d686
mov byte [ecx], 0x2d
inc ecx
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push dword [esp + 0x7c]
push eax
push ecx
call fcn.00432e20
add esp, 0x10
mov dword [edi], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
test al, al
je 0x45d6e3
mov ecx, dword [esp + 0x60]
inc ecx
cmp ecx, edx
jbe 0x45d6d6
mov eax, dword [esi]
push ecx
mov edi, dword [eax]
mov ecx, edi
call dword [0x4ed33c]
mov ecx, esi
call edi
mov edi, dword [esp + 0x58]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov byte [ecx + eax], 0x2d
inc dword [esi + 8]
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push dword [esp + 0x7c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00432e20
add esp, 0x10
lea eax, [esp + 0x30]
mov ecx, esi
push edx
push eax
call fcn.00435b10
mov dword [edi], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
push dword [ecx + 4]
push dword [ecx]
push dword [edx]
push edi
call fcn.00432f40
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov al, byte [ecx]
and byte [esp + 0x82], 0xfe
push ecx
mov ecx, esp
mov byte [esp + 0x28], al
mov eax, dword [edx]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0xffffffff
mov word [esp + 0x84], 0
mov dword [esp + 0x87], 0x20
mov byte [esp + 0x8b], 1
mov dword [ecx], 0
lea ecx, [esp + 0x7c]
push ecx
push dword [esp + 0x2c]
push eax
push edi
call fcn.0045ec70
add esp, 0x14
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov esi, dword [edx]
mov al, byte [ecx]
mov byte [esp + 0x13], al
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 0xc]
jbe 0x45d7e0
mov eax, dword [esi]
push ecx
mov edi, dword [eax]
mov ecx, edi
call dword [0x4ed33c]
mov ecx, esi
call edi
mov edi, dword [esp + 0x58]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dl, byte [esp + 0x13]
mov byte [ecx + eax], dl
mov eax, edi
inc dword [esi + 8]
mov dword [edi], esi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
movss xmm1, dword [ecx]
xorps xmm0, xmm0
mov esi, dword [edx]
sub esp, 8
movlpd qword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x80], xmm1
movsd qword [esp], xmm0
call fcn.004bb875
movss xmm0, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x45d855
xorps xmm0, xmmword [0x50e070]
mov byte [esp + 0x65], 1
movss dword [esp + 0x78], xmm0
mov eax, dword [esp + 0x78]
and eax, 0x7f800000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0x20000000
mov dword [esp + 0x3c], 0x1000000
cmp eax, 0x7f800000
jne 0x45d8cf
fld dword [esp + 0x78]
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
ucomiss xmm0, xmm0
movups xmm0, xmmword [esp + 0x30]
setp al
movzx ecx, al
lea eax, [esp + 0x60]
push eax
sub esp, 0x10
mov eax, esp
push ecx
push esi
push edi
movups xmmword [eax], xmm0
call fcn.0045fd60
add esp, 0x20
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
push ecx
movss dword [esp], xmm0
call fcn.0049ba40
add esp, 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x5c], edx
push 0
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
push esi
push edi
call fcn.00460940
add esp, 0x1c
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
movsd xmm1, qword [ecx]
sub esp, 8
mov esi, dword [edx]
xorps xmm0, xmm0
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x20], xmm1
movsd qword [esp], xmm1
movlpd qword [esp + 0x2c], xmm0
call fcn.004bb875
movsd xmm0, qword [esp + 0x80]
add esp, 8
test eax, eax
je 0x45d966
xorps xmm0, xmmword [0x50e060]
movsd qword [esp + 0x18], xmm0
mov byte [esp + 0x29], 1
mov eax, dword [esp + 0x1c]
and eax, 0x7ff00000
mov dword [esp + 0x3c], 0x1000000
mov dword [esp + 0x38], 0x20000000
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0
cmp eax, 0x7ff00000
jne 0x45d9d3
ucomisd xmm0, xmm0
movups xmm0, xmmword [esp + 0x30]
setp al
movzx ecx, al
lea eax, [esp + 0x24]
push eax
sub esp, 0x10
mov eax, esp
push ecx
push esi
push edi
movups xmmword [eax], xmm0
call fcn.0045fd60
add esp, 0x20
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
sub esp, 8
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push eax
call fcn.0049bcf0
add esp, 0xc
movups xmm0, xmmword [eax]
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push dword [esp + 0x2c]
movups xmmword [esp + 0x6c], xmm0
push eax
lea eax, [esp + 0x70]
push eax
push esi
push edi
call fcn.004615d0
add esp, 0x1c
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
mov esi, dword [edx]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x45da58
push str.string_pointer_is_null
call fcn.0049ccb0
add esp, 4
mov dword [edi], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov ecx, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45da60
mov eax, dword [esp + 0x24]
sub ecx, edx
add ecx, eax
push ecx
push eax
mov ecx, esi
call fcn.00435b10
mov dword [edi], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx]
mov esi, dword [edx]
mov eax, dword [eax + 4]
add eax, ecx
push eax
push ecx
mov ecx, esi
call fcn.00435b10
mov dword [edi], esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
and byte [esp + 0x3a], 0xfe
lea eax, [esp + 0x30]
push eax
push dword [ecx]
mov dword [esp + 0x38], 0
push dword [edx]
mov dword [esp + 0x40], 0xffffffff
push edi
mov word [esp + 0x48], 0
mov dword [esp + 0x4b], 0x20
mov byte [esp + 0x4f], 1
call fcn.0045fa10
add esp, 0x10
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
xorps xmm0, xmm0
mov esi, dword [ecx + 4]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x18]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [edx + 8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push dword [ecx]
mov ecx, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
movups xmmword [esp + 0x44], xmm0
call dword [0x4ed33c]
call esi
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov ecx, dword [esp + 0x8c]
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004a389b
mov esp, ebp
pop ebp
ret