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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x25b610c]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x1c], 3
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], edi
call fcn.0040eff0
mov ecx, dword [0x2543970]
imul ecx, dword [esp + 0x1c]
add edi, ecx
cmp edi, 0x7c0
mov dword [esp + 0x20], edi
jle 0x411c2d
cmp dword [esp + 0x18], ebx
jne 0x411c1f
call fcn.00409430
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], 0x7c0
mov edi, dword [esp + 0x20]
jmp 0x411c35
cmp edi, ebx
jl 0x412079
cmp dword [esp + 0x18], ebx
je 0x411cf1
call fcn.00409460
mov esi, eax
cmp esi, 0x1b
je 0x411c58
cmp esi, 8
je 0x411c58
cmp esi, dword [0x25b6118]
jne 0x411c76
push 0x16
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xfffffffc
mov dword [esp + 0x2c], 1
call fcn.0040aea0
add esp, 4
cmp esi, 0x26
je 0x411c83
cmp esi, dword [0x25b6110]
jne 0x411c9c
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x411c9c
mov edx, eax
push 0x15
dec edx
mov dword [esp + 0x14], edx
call fcn.0040aea0
add esp, 4
cmp esi, 0x28
je 0x411ca9
cmp esi, dword [0x25b6114]
jne 0x411cc9
mov edx, dword [0x25b4450]
mov eax, dword [esp + 0x10]
dec edx
cmp eax, edx
jae 0x411cc9
mov edx, eax
push 0x15
inc edx
mov dword [esp + 0x14], edx
call fcn.0040aea0
add esp, 4
cmp esi, 0xd
je 0x411cdb
cmp esi, 0x20
je 0x411cdb
cmp esi, dword [0x25b611c]
jne 0x411cf1
push 0x16
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xfffffffc
call fcn.0040aea0
add esp, 4
push ebx
call fcn.0040bed0
push 5
push 0xc
push 0xff00
push 0x10
push 0x440718
call fcn.0040bfa0
mov eax, dword [0x25b4450]
add esp, 0x18
cmp eax, ebx
jbe 0x411ddd
mov esi, 7
mov ebx, 0x25b44b4
mov edi, 0x25b4454
mov ecx, dword [esp + 0x10]
lea eax, [esi - 7]
cmp eax, ecx
push esi
push 8
jne 0x411d76
push 0xffffff
push 0xb
push edi
call fcn.0040bfa0
mov edx, dword [ebx]
lea ecx, [esp + 0x40]
push ecx
push edx
call fcn.00409260
mov ecx, 0x19
push esi
sub ecx, eax
lea edx, [esp + 0x4c]
push ecx
push 0xffffff
push eax
push edx
call fcn.0040bfa0
push esi
push 0x1a
push 0xffffff
jmp 0x411db1
push 0x8fff
push 0xb
push edi
call fcn.0040bfa0
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.00409260
mov edx, 0x19
push esi
sub edx, eax
push edx
push 0x8fff
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0040bfa0
push esi
push 0x1a
push 0x8fff
push 6
push 0x440710
call fcn.0040bfa0
mov eax, dword [0x25b4450]
add esp, 0x44
add edi, 0xc
add ebx, 4
inc esi
lea ecx, [esi - 7]
cmp ecx, eax
jb 0x411d2b
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov edx, edi
sar edx, 3
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
push eax
push eax
push eax
call fcn.0040c1d0
mov eax, dword [0x2543970]
mov ecx, dword [esp + 0x30]
push 0xe
lea eax, [ecx + eax*2]
and eax, 0x7ff
mov dword [esp + 0x34], eax
fld dword [eax*8 + 0x253c198]
fadd dword [0x43a280]
fmul dword [0x43a2e8]
fadd dword [0x43a2ec]
call fcn.00430d2c
shl eax, 0x10
push eax
call fcn.0040bff0
add esp, 0x14
call fcn.00406080
test eax, eax
je 0x411bee
mov esi, edi
push ebx
sar esi, 4
call fcn.00405a20
mov eax, dword [0x44f2bc]
add esp, 4
cmp eax, ebx
je 0x411ecd
push ebx
call fcn.004059f0
mov edx, dword [0x2543970]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
add esp, 4
fild qword [esp + 0x34]
fmul dword [0x43a34c]
fadd dword [esp + 0x14]
fst dword [esp + 0x14]
fcomp dword [0x43a280]
fnstsw ax
test ah, 0x41
jne 0x411ea3
fld dword [esp + 0x14]
fsub dword [0x43a280]
fstp dword [esp + 0x14]
mov eax, esi
shl eax, 8
add eax, esi
fld dword [esp + 0x14]
shl eax, 8
add eax, esi
push eax
push 0x40800000
push 0x40800000
push ecx
fchs
fstp dword [esp]
push ebx
call fcn.0040e410
add esp, 0x14
push 5
call fcn.004059f0
push 1
call fcn.00405a60
mov ecx, edi
sar ecx, 6
push ecx
call fcn.0040bf80
push ebx
call fcn.00405a60
push 4
call fcn.004059f0
mov edx, dword [0x25b4370]
push 0x3ba3d70a
push ebx
push ebx
push edx
call fcn.0040c390
push 3
call fcn.004059f0
mov eax, dword [0x2543970]
lea ecx, [esp + 0x6c]
push ecx
lea ebp, [ebp + eax*2]
call fcn.004012b0
lea edx, [esp + 0x70]
push ebp
push edx
call fcn.004012f0
lea eax, [esp + 0x78]
push 0x3e051eb8
push eax
call fcn.00401480
mov edx, dword [0x257de0c]
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.00401610
fild dword [esp + 0x54]
mov eax, dword [0x2581fd8]
add esp, 0x44
fmul dword [0x43a340]
push ecx
fsubr dword [0x43a33c]
fstp dword [esp]
push ebx
push 0xbc54fdf4
push eax
call fcn.0040c390
push 1
call fcn.00405a20
lea ecx, [esp + 0x58]
push ecx
call fcn.004012b0
lea edx, [esp + 0x5c]
push 0x200
push edx
call fcn.004012f0
lea eax, [esp + 0x64]
push ebp
push eax
call fcn.00401400
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebx
fild qword [esp + 0x64]
add esp, 0x24
lea ecx, [esp + 0x48]
fmul dword [0x43a338]
fsin
fmul dword [0x43a334]
fadd dword [0x43a27c]
fstp dword [esp]
push ecx
call fcn.00401480
mov eax, dword [0x25842ec]
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.00401610
push 0x3ba3d70a
push ebx
mov ecx, dword [0x257de50]
push 0xbc23d70a
push ecx
call fcn.0040c390
mov edx, dword [0x257de50]
push 0x3ba3d70a
push ebx
push 0x3c1ba5e3
push edx
call fcn.0040c390
mov ecx, dword [0x25842ec]
push 0x3ba3d70a
push ebx
lea eax, [esp + 0x7c]
push 0xbc23d70a
push eax
push ecx
push 0x3f400000
call fcn.0040e750
mov eax, dword [0x25842ec]
add esp, 0x48
lea edx, [esp + 0x44]
push 0x3ba3d70a
push ebx
push 0x3c1ba5e3
push edx
push eax
push 0x3f400000
call fcn.0040e750
push 1
call fcn.00405a60
push 6
call fcn.004059f0
call fcn.0040e9a0
push ebx
call fcn.00405a60
add esp, 0x24
call fcn.00406110
jmp 0x411bee
cmp dword [esp + 0x28], ebx
je 0x41208a
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret
mov esi, dword [esp + 0x10]
mov dword [0x25b610c], esi
call fcn.00422fb0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret