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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686af4
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push esi
mov eax, dword [0x70af2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x78], 0
je 0x4cd856
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004ce160
jmp 0x4ce127
mov ecx, dword [ebp - 0x10]
call fcn.004cd210
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x28], 0
jne 0x4cd877
mov eax, dword [0x711cec]
mov eax, dword [eax + 0x1e80]
jmp 0x4ce127
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [ecx + 0x74], xmm0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x64], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x5c]
movss dword [ebp - 0x30], xmm0
push 0x14
call fcn.004096f0
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0
je 0x4cd8c4
mov ecx, dword [ebp - 0x54]
call fcn.0052c157
mov dword [ebp - 0x58], eax
jmp 0x4cd8cb
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x24], edx
push 0xffffffffffffffff
push 2
mov ecx, dword [ebp - 0x24]
call fcn.0052c3de
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.0052a80d
mov dword [ebp - 0x38], 0
push 0x18
call fcn.004096f0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x5c], 0
je 0x4cd938
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x5c]
call fcn.004d1810
mov dword [ebp - 0x60], eax
jmp 0x4cd93f
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x4cd972
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 4]
call fcn.0052a80d
jmp 0x4cd97e
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004129f0
add esp, 4
push 1
mov ecx, dword [ebp - 0x24]
call fcn.0040d650
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [0x711cec]
mov ecx, dword [eax + 0x139c]
mov dword [edx + 0x68], ecx
mov edx, dword [0x711cec]
mov eax, dword [edx + 0xa78]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x711cec]
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 0xa74]
je 0x4cd9df
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3c], 0
je 0x4cda17
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
call fcn.00467bb0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx]
mov ecx, dword [eax + 0x3c]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x18], eax
jmp 0x4cda3e
cmp dword [ebp + 8], 0
jne 0x4cda3e
push str.Error
lea ecx, [ebp - 0x90]
call fcn.00409260
push 0x6eb76c
lea ecx, [ebp - 0x90]
push ecx
call fcn.0065b6ba
cmp dword [ebp + 8], 0
jne 0x4cda8b
mov edx, dword [0x711cec]
movss xmm0, dword [ebp - 0x30]
ucomiss xmm0, dword [edx + 0x1e7c]
lahf
test ah, 0x44
jp 0x4cda70
mov ecx, dword [ebp - 0x18]
call fcn.0046ddf0
mov ecx, eax
call fcn.0046dcb0
fstp dword [ebp - 0x30]
jmp 0x4cda8b
movss xmm0, dword [0x69926c]
comiss xmm0, dword [ebp - 0x30]
jbe 0x4cda8b
movss xmm0, dword [0x69926c]
movss dword [ebp - 0x30], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x58], 0
je 0x4cddcd
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x60], 0
je 0x4cdabf
mov edx, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x44]
movss dword [ebp - 0x64], xmm0
jmp 0x4cdacc
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x48]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x28], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [ecx + 0x4c]
mov edx, dword [ebp - 0x10]
comiss xmm0, dword [edx + 0x54]
jb 0x4cdb1f
mov eax, dword [0x711cec]
mov ecx, dword [eax + 0x1e84]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x28]
call fcn.004ecab0
test eax, eax
je 0x4cdb1a
mov eax, dword [0x711cec]
mov ecx, dword [ebp - 0x14]
or ecx, dword [eax + 0x1e80]
mov dword [ebp - 0x14], ecx
jmp 0x4cddc8
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x28]
call fcn.004ecab0
test eax, eax
je 0x4cdb41
mov eax, dword [0x711cec]
mov ecx, dword [eax + 0x1e80]
mov dword [ebp - 0x14], ecx
jmp 0x4cddc8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x70]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ecx + 0x54]
subss xmm0, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
subss xmm0, dword [edx + 0x4c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
call fcn.004ecc00
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4cdb96
mov ecx, dword [0x711cec]
mov edx, dword [ecx + 0x1e80]
mov dword [ebp - 0x14], edx
jmp 0x4cddc8
mov ecx, dword [ebp - 0x1c]
call fcn.004e21d0
fstp dword [ebp - 0x94]
mov ecx, dword [ebp - 0x10]
call fcn.004a4220
test eax, eax
je 0x4cdbdb
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x711cec]
movss xmm0, dword [eax + 0x68]
ucomiss xmm0, dword [ecx + 0x139c]
lahf
test ah, 0x44
jp 0x4cdbdb
mov ecx, dword [ebp - 0x1c]
call fcn.004e1e60
mov edx, dword [ebp - 0x10]
fstp dword [edx + 0x30]
jmp 0x4cdbfb
mov eax, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x94]
mulss xmm0, dword [eax + 0x38]
mov ecx, dword [ebp - 0x10]
addss xmm0, dword [ecx + 0x34]
mov edx, dword [ebp - 0x10]
movss dword [edx + 0x30], xmm0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x2c]
comiss xmm0, dword [ecx + 0xc]
ja 0x4cdc29
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x2c]
subss xmm0, dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
movss xmm1, dword [ecx + 0x10]
comiss xmm1, xmm0
jbe 0x4cdc48
mov edx, dword [0x711cec]
mov eax, dword [edx + 0x1e84]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x28]
call fcn.004ed920
jmp 0x4cddc8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x2c]
subss xmm0, dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
movss dword [ecx + 0x2c], xmm0
cmp dword [ebp + 8], 0
jne 0x4cdc7b
cmp dword [ebp - 0x34], 0
jne 0x4cdc7b
mov ecx, dword [ebp - 0x18]
call fcn.004a98e0
mov dword [ebp - 0x34], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [0x711cec]
movss xmm0, dword [edx + 0x68]
ucomiss xmm0, dword [eax + 0x139c]
lahf
test ah, 0x44
jp 0x4cdca1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x68], eax
cmp dword [ebp + 8], 0
jne 0x4cdd60
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0040d650
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
call int.00465240
test eax, eax
je 0x4cdcd5
mov edx, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x4c]
movss dword [ebp - 0x68], xmm0
jmp 0x4cdcdf
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x68], xmm0
mov eax, dword [ebp - 0x10]
push ecx
movss xmm0, dword [eax + 0x2c]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ecx + 0x14]
addss xmm0, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x1c]
movss dword [ebp - 0x98], xmm0
call fcn.004e2360
fstp dword [ebp - 0x9c]
movss xmm0, dword [ebp - 0x98]
addss xmm0, dword [ebp - 0x9c]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
call fcn.004ae1e0
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x50]
call fcn.004b7910
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0040d650
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1c]
call fcn.004e2440
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp - 0x1c]
call fcn.004e2440
test eax, eax
je 0x4cdd89
mov edx, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x50]
movss dword [ebp - 0x6c], xmm0
jmp 0x4cdd91
xorps xmm0, xmm0
movss dword [ebp - 0x6c], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x2c]
subss xmm0, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x10]
movss dword [ecx + 0x2c], xmm0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x64]
add eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x64], eax
mov ecx, dword [ebp - 0x1c]
call fcn.004e2030
mov edx, dword [ebp - 0x10]
fstp dword [edx + 0x74]
jmp 0x4cdaa7
jmp 0x4ce107
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x60], 0
je 0x4cddf1
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ecx + 0x44]
movss dword [ebp - 0x70], xmm0
jmp 0x4cddfe
mov edx, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x48]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x70]
movss dword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x44], xmm0
mov ecx, dword [ebp - 0x10]
call fcn.004cd5e0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4cde68
mov ecx, dword [0x711cec]
mov edx, dword [ecx + 0x1e84]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
call fcn.004ecab0
test eax, eax
je 0x4cde56
mov ecx, dword [0x711cec]
mov edx, dword [ebp - 0x14]
or edx, dword [ecx + 0x1e80]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x44]
movss dword [eax + 0x2c], xmm0
jmp 0x4ce107
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x28]
call fcn.004ecab0
test eax, eax
je 0x4cde98
mov edx, dword [0x711cec]
mov eax, dword [edx + 0x1e80]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x44]
movss dword [ecx + 0x2c], xmm0
jmp 0x4ce107
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00414740
mov esi, eax
push 2
mov ecx, dword [ebp - 0x20]
call fcn.00414740
movss xmm0, dword [esi]
comiss xmm0, dword [eax]
jbe 0x4cdecc
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00414740
movss xmm0, dword [eax]
movss dword [ebp - 0x74], xmm0
jmp 0x4cdedf
push 2
mov ecx, dword [ebp - 0x20]
call fcn.00414740
movss xmm0, dword [eax]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x74]
movss dword [ebp - 0x48], xmm0
push 1
mov ecx, dword [ebp - 0x20]
call fcn.00414740
mov esi, eax
push 3
mov ecx, dword [ebp - 0x20]
call fcn.00414740
movss xmm0, dword [eax]
comiss xmm0, dword [esi]
jbe 0x4cdf1d
push 1
mov ecx, dword [ebp - 0x20]
call fcn.00414740
movss xmm0, dword [eax]
movss dword [ebp - 0x78], xmm0
jmp 0x4cdf30
push 3
mov ecx, dword [ebp - 0x20]
call fcn.00414740
movss xmm0, dword [eax]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x7c]
subss xmm0, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
movss xmm1, dword [ebp - 0x28]
addss xmm1, dword [edx + 0x4c]
comiss xmm1, xmm0
jb 0x4cdf5b
jmp 0x4cddd9
cmp dword [ebp + 8], 0
jne 0x4cdf76
cmp dword [ebp - 0x34], 0
jne 0x4cdf76
mov ecx, dword [ebp - 0x18]
call fcn.004a98e0
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
push ecx
movss xmm0, dword [ebp - 0x7c]
subss xmm0, dword [ebp - 0x48]
subss xmm0, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
subss xmm0, dword [edx + 0x4c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
call fcn.004ecc00
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4cdfda
mov ecx, dword [0x711cec]
mov edx, dword [ecx + 0x1e80]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x44]
movss dword [eax + 0x2c], xmm0
jmp 0x4ce107
cmp dword [ebp + 8], 0
jne 0x4ce096
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0040d650
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
call int.00465240
test eax, eax
je 0x4ce00e
mov edx, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x4c]
movss dword [ebp - 0x80], xmm0
jmp 0x4ce018
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x80], xmm0
mov eax, dword [ebp - 0x10]
push ecx
movss xmm0, dword [eax + 0x2c]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x48]
addss xmm0, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x2c]
movss dword [ebp - 0xa0], xmm0
call fcn.004e2360
fstp dword [ebp - 0xa4]
movss xmm0, dword [ebp - 0xa0]
addss xmm0, dword [ebp - 0xa4]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x18]
call fcn.004ae1e0
push ecx
movss xmm0, dword [ebp - 0x30]
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.004b7910
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0040d650
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x2c]
call fcn.004e2440
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004e2440
test eax, eax
je 0x4ce0c2
mov edx, dword [ebp - 0x10]
movss xmm0, dword [edx + 0x50]
movss dword [ebp - 0x84], xmm0
jmp 0x4ce0cd
xorps xmm0, xmm0
movss dword [ebp - 0x84], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x2c]
subss xmm0, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x10]
movss dword [ecx + 0x2c], xmm0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x64]
add eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x64], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004e2030
mov edx, dword [ebp - 0x10]
fstp dword [edx + 0x74]
jmp 0x4cddd9
cmp dword [ebp - 0x34], 0
je 0x4ce124
mov ecx, dword [ebp - 0x18]
call fcn.004aae30
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x3c]
call fcn.004a7e30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4