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

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
sub esp, 0x24a0
mov dword [ebp - 0x44], eax
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x44]
call fcn.0040db94
mov dword [edx + 0x34], eax
test eax, eax
jne 0x41861d
lea esp, [ebp - 0x14]
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret
mov eax, 0x582a38
call fcn.004710a8
mov edx, dword [edx + 0xc]
xor esi, esi
test edx, edx
jle 0x418660
xor ecx, ecx
xor edi, edi
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
mov eax, 0x573944
mov ebx, dword [ebx + 0x34]
mov edx, dword [edx + 0x24]
add ebx, edi
add edx, ecx
call fcn.0046e1e8
mov eax, dword [ebp - 0x44]
inc esi
add ecx, 0xc
mov ebx, dword [eax + 0xc]
add edi, 0x18
cmp esi, ebx
jl 0x418634
nop
mov eax, dword [ebp - 0x44]
mov ebx, 0x2400
mov eax, dword [eax + 0x20]
xor edx, edx
mov dword [0x57ec10], eax
lea eax, [ebp - 0x24b4]
xor esi, esi
call fcn.004793c0
mov eax, dword [ebp - 0x44]
mov edi, dword [0x573a0c]
mov dword [ebp - 0x24], esi
cmp eax, edi
jne 0x4187ba
cmp dword [0x573a60], 0
jne 0x418a49
cmp dword [0x573c30], 0
jne 0x418a5b
mov edx, dword [ebp - 0x24]
lea eax, [edx*4]
mov ecx, 6
sub eax, edx
mov esi, 0x5739f4
shl eax, 4
xor ebx, ebx
lea edi, [eax + ebp - 0x24a4]
mov dword [eax + ebp - 0x248c], ebx
rep movsd dword es:[edi], dword [esi]
cmp dword [0x573a44], 0
je 0x4186f5
fld dword [eax + ebp - 0x2490]
fadd dword [0x49415c]
fstp dword [eax + ebp - 0x2490]
mov edx, dword [ebp - 0x24]
lea eax, [edx*4]
sub eax, edx
mov edi, 1
shl eax, 4
mov edx, 0x4646a4
mov dword [eax + ebp - 0x24a8], edi
mov ebx, 0x5739d8
mov dword [eax + ebp - 0x24b0], edx
mov edx, 0x5739c0
mov eax, 0x573944
call fcn.0046e1e8
cmp dword [0x573b64], 0
jne 0x41875b
fld dword [0x5739e4]
call fcn.004797c0
fistp dword [0x573a10]
fld dword [0x5739e8]
call fcn.004797c0
fistp dword [0x573a14]
mov edx, dword [ebp - 0x24]
lea edi, [ebp - 0x6c]
mov esi, 0x5739c0
lea eax, [edx*4]
fld dword [0x5739e0]
sub eax, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
shl eax, 4
lea ebx, [edx + 1]
fstp dword [eax + ebp - 0x24ac]
fld1
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x24], ebx
mov eax, 0x573944
fadd dword [ebp - 0x64]
lea ebx, [ebp - 0x9c]
fstp dword [ebp - 0x64]
call fcn.0046e1e8
fild dword [0x573a14]
fsubr dword [ebp - 0x8c]
call fcn.004797c0
fistp dword [0x573b80]
cmp dword [0x573a2c], 0
je 0x418892
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4187ed
mov eax, dword [ebp - 0x20]
cmp byte [eax + 6], 0
jne 0x418a6d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4187d4
mov ecx, dword [ebp - 0x24]
lea ebx, [ecx*4]
xor edx, edx
sub ebx, ecx
mov dword [ebp - 0x48], edx
shl ebx, 4
cmp dword [edx + 0x573c98], 1
jne 0x41887c
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [edx + 0x573cb0]
jne 0x41887c
mov eax, dword [ebp - 0x48]
mov esi, 0x462608
mov dword [ebx + ebp - 0x248c], eax
mov eax, 0x573c98
mov ecx, 6
add eax, edx
mov dword [ebx + ebp - 0x24b0], esi
call fcn.004623c0
lea edi, [ebx + ebp - 0x24a4]
lea esi, [edx + 0x573d3c]
rep movsd dword es:[edi], dword [esi]
fld dword [edx + 0x573cd4]
fadd dword [edx + 0x573cd8]
fmul dword [0x494160]
mov edi, dword [ebp - 0x24]
fstp dword [ebx + ebp - 0x24ac]
cmp edi, 0xbf
jge 0x418f79
lea ecx, [edi + 1]
add ebx, 0x30
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x48]
inc esi
add edx, 0xfc
mov dword [ebp - 0x48], esi
cmp esi, 3
jl 0x418801
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x44]
lea eax, [ecx*4]
mov ebx, dword [ebp - 0x44]
sub eax, ecx
add ebx, 0x5c
mov ecx, eax
mov edx, dword [edx + 0x5c]
shl ecx, 4
cmp edx, ebx
je 0x41897e
mov dword [ecx + ebp - 0x248c], edx
mov eax, dword [edx + 0x10]
mov dword [ecx + ebp - 0x24b0], eax
cmp eax, 0x407394
je 0x4188da
mov dword [ecx + ebp - 0x24a8], 1
fld dword [edx + 0x20]
fadd dword [edx + 0x74]
fstp dword [ecx + ebp - 0x24a4]
fld dword [edx + 0x30]
fadd dword [edx + 0x78]
fstp dword [ecx + ebp - 0x24a0]
fld dword [edx + 0x40]
fadd dword [edx + 0x7c]
fstp dword [ecx + ebp - 0x249c]
fld dword [edx + 0x20]
fadd dword [edx + 0x80]
fstp dword [ecx + ebp - 0x2498]
fld dword [edx + 0x30]
fadd dword [edx + 0x84]
fstp dword [ecx + ebp - 0x2494]
fld dword [edx + 0x40]
fadd dword [edx + 0x88]
fstp dword [ecx + ebp - 0x2490]
fld dword [edx + 0x20]
fmul dword [0x573964]
fld dword [edx + 0x30]
fmul dword [0x573968]
faddp st(1)
fld dword [edx + 0x40]
fmul dword [0x57396c]
faddp st(1)
fadd dword [0x573970]
mov eax, dword [ebp - 0x24]
fstp dword [ecx + ebp - 0x24ac]
cmp eax, 0xbf
jge 0x418f95
lea edi, [eax + 1]
add ecx, 0x30
mov dword [ebp - 0x24], edi
mov edx, dword [edx]
cmp edx, ebx
jne 0x4188b7
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
mov dword [0x490dc0], eax
lea eax, [ebp - 0x24b4]
mov ecx, dword [ecx + 0x34]
push eax
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebx + 0x28]
push eax
mov edx, dword [edx + 0x2c]
mov eax, 0x5738ec
call fcn.0040c618
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov edx, dword [edx + 0xc]
mov eax, dword [eax + 0x34]
call fcn.0040dc2c
cmp dword [0x490e08], 0
je 0x418a35
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebx + 0x38]
mov ecx, dword [ecx + 0x3c]
test ebx, ebx
jle 0x418a2d
mov eax, dword [ecx]
cmp eax, 5
jne 0x418fb1
fld qword [0x494168]
fld dword [ecx + 0xc]
fadd st(1)
fstp dword [ebp - 0x54]
fadd dword [ecx + 0x10]
fstp dword [ebp - 0x50]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x4c], eax
fld qword [0x494170]
fld dword [ecx + 0xc]
fadd st(1)
fstp dword [ebp - 0x60]
fadd dword [ecx + 0x10]
lea edx, [ebp - 0x60]
fstp dword [ebp - 0x5c]
fld dword [ecx + 0x14]
fld1
faddp st(1)
lea eax, [ebp - 0x54]
fstp dword [ebp - 0x58]
call fcn.0041e784
dec ebx
add ecx, 0x24
test ebx, ebx
jg 0x4189d7
mov eax, dword [ebp - 0x44]
call fcn.00414034
mov eax, 0x582a38
call fcn.004711b8
lea esp, [ebp - 0x14]
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret
cmp dword [0x573a64], 0
je 0x4186a0
jmp 0x4187ba
test byte [0x573c34], 0x20
je 0x4186ad
jmp 0x4187ba
test byte [eax + 0x148], 0x10
jne 0x418da7
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0xc]
imul eax, ecx, 0x30
mov ebx, 0x43b104
xor esi, esi
mov dword [eax + ebp - 0x24b0], ebx
mov ecx, dword [ebp - 0x20]
mov dword [eax + ebp - 0x24a8], esi
mov dword [eax + ebp - 0x248c], ecx
cmp word [ecx + 4], 0xffff
jne 0x418ac1
mov edi, 1
mov ecx, 0x43b2b0
mov dword [eax + ebp - 0x24a8], edi
mov dword [eax + ebp - 0x24b0], ecx
mov eax, dword [ebp - 0x20]
call fcn.0043b65c
test eax, eax
je 0x418c56
imul eax, dword [ebp - 0x24], 0x30
mov esi, dword [ebp - 0x20]
mov ecx, 6
lea esi, [esi + 0x198]
lea edi, [eax + ebp - 0x24a4]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edi, dword [0x5742d4]
mov dword [eax + ebp - 0x2488], esi
test edi, edi
je 0x418b2e
mov ecx, dword [ebp - 0x20]
test byte [ecx + 0x149], 0x80
jne 0x418b2e
mov ecx, 0x20
sub ecx, dword [edx + 0x1c]
mov ebx, 0xffffffff
sar ebx, cl
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x2c8]
not ecx
and ecx, ebx
mov dword [eax + ebp - 0x2488], ecx
cmp edx, 0x520a84
jne 0x418b4f
imul eax, dword [ebp - 0x24], 0x30
xor edi, edi
mov edx, 1
mov dword [eax + ebp - 0x2488], edi
mov dword [eax + ebp - 0x24a8], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [0x573c30]
jne 0x418b6f
test byte [0x573c36], 2
je 0x418b6f
imul eax, dword [ebp - 0x24], 0x30
or byte [eax + ebp - 0x24a8], 8
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
fld dword [eax + 0x74]
fadd dword [eax + 0x78]
imul eax, esi, 0x30
fmul dword [0x494160]
mov edx, dword [ebp - 0x20]
mov edi, dword [0x573b84]
fstp dword [eax + ebp - 0x24ac]
cmp edx, edi
jne 0x418c42
mov ecx, dword [0x573b88]
mov edx, dword [eax + ebp - 0x2488]
test edx, ecx
je 0x418db1
test byte [eax + ebp - 0x24a8], 8
jne 0x418db1
mov esi, dword [0x573b88]
mov edi, dword [eax + ebp - 0x2488]
and edx, esi
cmp edx, edi
je 0x418db1
mov edx, dword [ebp - 0x24]
cmp edx, 0xbe
jge 0x418db1
lea ebx, [edx + 1]
imul edx, ebx, 0x30
mov ecx, 0xc
lea esi, [eax + ebp - 0x24b4]
lea edi, [edx + ebp - 0x24b4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x573b88]
mov esi, dword [edx + ebp - 0x2488]
and esi, ecx
mov cl, byte [edx + ebp - 0x24a8]
mov dword [edx + ebp - 0x2488], esi
or cl, 8
mov byte [edx + ebp - 0x24a8], cl
mov edx, dword [0x573b88]
mov edi, dword [eax + ebp - 0x2488]
not edx
and edi, edx
mov dword [ebp - 0x24], ebx
mov dword [eax + ebp - 0x2488], edi
mov eax, dword [ebp - 0x24]
cmp eax, 0xbf
jge 0x418dc2
lea ecx, [eax + 1]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x2d1], 0
je 0x4187e1
imul edx, dword [ebp - 0x24], 0x30
mov ecx, dword [ebp - 0x20]
mov bl, byte [ecx + 0x2d1]
add eax, 0x2d2
cmp bl, 0xff
je 0x418df3
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], edx
xor esi, esi
add eax, 0xc
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x20]
xor eax, eax
mov cl, byte [ebp - 0x28]
mov al, byte [edx + 0x2d1]
mov edx, 1
shl edx, cl
test eax, edx
je 0x418d89
imul ecx, dword [ebp - 0x28], 0x18
mov edx, dword [ebp - 0x3c]
lea ebx, [ebp - 0xb4]
mov eax, 0x573944
add edx, ecx
call fcn.0046e1e8
lea ebx, [ebp - 0x84]
mov edx, dword [ebp - 0x30]
mov eax, 0x573944
call fcn.0046e1e8
mov eax, dword [ebp - 0x70]
test dword [ebp - 0xa0], eax
jne 0x418d89
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
lea edi, [edi + ebp - 0x24a4]
lea esi, [ecx + eax + 0x2d2]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
lea esi, [ecx + eax + 0x2de]
lea edi, [edi + ebp - 0x2498]
mov edx, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [edx + ebp - 0x249c]
fadd dword [0x494164]
xor ebx, ebx
fstp dword [edx + ebp - 0x2490]
mov esi, dword [ecx + eax + 0x2e6]
mov dword [edx + ebp - 0x24ac], esi
mov ecx, 3
mov eax, edx
mov dword [edx + ebp - 0x2488], ebx
xor eax, edx
mov dword [edx + ebp - 0x24a8], ecx
mov edx, dword [ebp - 0x20]
mov al, byte [edx + 0x2d0]
mov edx, dword [ebp - 0x18]
mov esi, 0x40e6c4
mov dword [edx + ebp - 0x248c], eax
mov edi, dword [ebp - 0x24]
mov dword [edx + ebp - 0x24b0], esi
cmp edi, 0xbf
jge 0x418dde
add edx, 0x30
lea ecx, [edi + 1]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
add ebx, 0x18
inc esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], esi
cmp esi, 2
jge 0x4187e1
jmp 0x418c92
call fcn.0043b65c
jmp 0x4187e1
imul eax, dword [ebp - 0x24], 0x30
or byte [eax + ebp - 0x24a8], 8
jmp 0x418c42
cmp dword [0x5742f8], 0
je 0x418c56
mov eax, 0x494138
call fcn.0040a43c
jmp 0x418c56
cmp dword [0x5742f8], 0
je 0x418d89
mov eax, 0x494138
call fcn.0040a43c
jmp 0x418d89
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
add eax, 0x1bc
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov edx, ecx
mov eax, ecx
sar edx, 0x1f
sub eax, edx
sar eax, 1
imul eax, eax, 0x18
mov ebx, dword [ebp - 0x20]
mov edx, ecx
mov esi, 2
sar edx, 0x1f
add ebx, eax
mov eax, ecx
idiv esi
imul edx, edx, 0xc
add edx, ebx
test dword [edx + 0x2d2], 0x7fffffff
jne 0x418e65
test dword [edx + 0x2d6], 0x7fffffff
jne 0x418e65
test dword [edx + 0x2da], 0x7fffffff
jne 0x418e65
mov esi, dword [ebp - 0x2c]
add esi, 0xc
inc ecx
mov dword [ebp - 0x2c], esi
cmp ecx, 4
jge 0x4187e1
jmp 0x418e06
lea ebx, [ebp - 0xb4]
mov edx, dword [ebp - 0x2c]
mov eax, 0x573944
lea esi, [ecx + 1]
call fcn.0046e1e8
mov edx, ecx
mov eax, ecx
sar edx, 0x1f
sub eax, edx
sar eax, 1
imul eax, eax, 0x18
mov edi, 2
mov edx, ecx
mov ebx, dword [ebp - 0x40]
sar edx, 0x1f
mov dword [ebp - 0x38], eax
add ebx, eax
mov eax, ecx
idiv edi
imul esi, esi, 0xc
imul edx, edx, 0xc
mov eax, 0x573944
mov dword [ebp - 0x34], edx
add edx, ebx
lea ebx, [ebp - 0x84]
call fcn.0046e1e8
mov eax, dword [ebp - 0x70]
test dword [ebp - 0xa0], eax
jne 0x418e50
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
add esi, ebx
lea edi, [edi + ebp - 0x24a4]
lea esi, [esi + 0x1b0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
lea eax, [ebx + esi]
add eax, edi
mov edi, dword [ebp - 0x1c]
lea esi, [eax + 0x2d2]
lea edi, [edi + ebp - 0x2498]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [eax + 0x2da]
mov eax, dword [ebp - 0x1c]
mov edx, 3
xor ebx, ebx
fstp dword [eax + ebp - 0x24ac]
mov dword [eax + ebp - 0x24a8], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + ebp - 0x2488], ebx
xor eax, eax
mov al, byte [edx + 0x2d0]
mov edx, dword [ebp - 0x1c]
mov esi, 0x40e6c4
mov dword [edx + ebp - 0x248c], eax
mov edi, dword [ebp - 0x24]
mov dword [edx + ebp - 0x24b0], esi
cmp edi, 0xbf
jge 0x418f5d
add edx, 0x30
lea ebx, [edi + 1]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], ebx
jmp 0x418e50
cmp dword [0x5742f8], 0
je 0x418e50
mov eax, 0x494138
call fcn.0040a43c
jmp 0x418e50
cmp dword [0x5742f8], 0
je 0x41887c
mov eax, 0x494138
call fcn.0040a43c
jmp 0x41887c
cmp dword [0x5742f8], 0
je 0x418974
mov eax, 0x494138
call fcn.0040a43c
jmp 0x418974
cmp eax, 8
je 0x4189e2
cmp eax, 6
je 0x418fcd
cmp eax, 1
je 0x418fcd
cmp eax, 3
jne 0x418a25
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 0x20]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
jmp 0x418a20