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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6621d1
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x68], edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x13958]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
mov eax, dword [ecx + 0xdf480]
mov edx, dword [ecx + 0x1395c]
fdiv qword [0x6a1590]
xor ebx, ebx
mov dword [esp + 0x50], edx
fstp dword [esp + 0x44]
cmp eax, ebx
je 0x4114de
mov eax, dword [eax + 0xc]
jmp 0x4114e0
xor eax, eax
mov edx, dword [eax + 0x2c0]
mov eax, dword [eax + 0x2c4]
push 0x10
mov dword [edi + 0x40], ecx
mov esi, 0xf
push str.objj007_000.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0x120], ebx
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x44]
push 0x15
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x118], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x411556
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.objj008_000.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0x120], 1
mov edx, dword [edi + 0x10b0]
mov edx, dword [edx + 0x140]
lea esi, [edi + 0x10b0]
push 0x15
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x118], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x4115bd
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.objj007_001.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0x120], 2
mov edx, dword [edi + 0x1764]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x1764]
push 0x15
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x118], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x411626
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
mov ecx, dword [edi + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x8c]
mov dword [edi + 0x1760], ecx
push eax
mov ecx, esi
call edx
fld dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
fld st(0)
cdq
fadd st(1)
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x8c], eax
call fcn.00631650
fld qword [0x6a1ab8]
mov esi, eax
fmul st(1)
call fcn.00631650
fld qword [0x6a1850]
fmul st(1)
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
call fcn.00631650
fld qword [0x6a1b98]
fmul st(1)
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
call fcn.00631650
fld qword [0x6a1b90]
fmul st(1)
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
call fcn.00631650
fld qword [0x6a1a08]
fmul st(1)
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
call fcn.00631650
fld qword [0x6a1b88]
fmul st(1)
mov esi, eax
call fcn.00631650
fld qword [0x6a19f8]
fmul st(1)
mov dword [esp + 0x58], eax
call fcn.00631650
fld qword [0x6a1b80]
fmul st(1)
mov ebx, eax
call fcn.00631650
fld qword [0x6a1828]
mov ecx, dword [esp + 0x58]
fmul st(1)
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
call fcn.00631650
fld qword [0x6a1b78]
fmul st(1)
mov dword [esp + 0x58], eax
call fcn.00631650
fld qword [0x6a1b70]
mov edx, dword [esp + 0x58]
fmul st(1)
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], eax
call fcn.00631650
fld qword [0x6a1b68]
fmul st(1)
mov dword [esp + 0x58], eax
call fcn.00631650
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], ecx
fld qword [0x6a1b60]
mov dword [esp + 0xc4], ebx
fmul st(1)
mov dword [esp + 0xc8], eax
call fcn.00631650
fmul qword [0x6a1b58]
mov dword [esp + 0x58], eax
call fcn.00631650
mov edx, dword [esp + 0x58]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], eax
xor ebx, ebx
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x24]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
lea esi, [edi + 0x1144]
mov edx, dword [esi]
lea eax, [edi + 0x10b0]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [esi]
mov eax, dword [eax]
mov edx, dword [edx + 0x44]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x8c]
mov ecx, ebx
imul ecx, eax
inc ebx
mov edx, ebx
imul edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 8], edx
mov dword [esp + 0x24], ebx
mov ebx, dword [esi]
mov edx, dword [ebx + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0xff
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push 0xf
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
push esi
lea ebx, [edi + 0x1694]
mov dword [eax + 0xc], ecx
call fcn.00450790
mov ebx, dword [esp + 0x14]
add dword [esp + 0x18], 8
add dword [esp + 0x10], 0x10
add esi, 0x154
cmp ebx, 4
jb 0x4117ed
fld dword [esp + 0x44]
fld qword [0x6a1b00]
fmul st(1)
call fcn.00631650
fld qword [0x6a1568]
fmul st(1)
mov ebx, eax
call fcn.00631650
fld qword [0x6a1af0]
mov esi, eax
fmul st(1)
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
call fcn.00631650
fmul qword [0x6a1ae0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
call fcn.00631650
lea edx, [esp + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], eax
xor ebx, ebx
mov dword [esp + 0x50], 4
mov dword [esp + 0x10], edx
lea esi, [edi + 0x17f8]
mov eax, dword [esp + 0x50]
push eax
mov edx, dword [esi]
push ebx
mov edx, dword [edx + 0x84]
mov eax, 3
push eax
push ebx
mov eax, 2
push eax
push ebx
mov eax, 1
push eax
push ebx
xor eax, eax
push eax
push ebx
mov eax, 5
push eax
mov eax, 3
push eax
add edi, 0x1764
push edi
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esi]
mov eax, dword [eax]
mov edx, dword [edx + 0x2c]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call edx
mov edi, dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
add edi, dword [esp + 0x1c]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
mov dword [esp + 0x58], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, esi
call edx
fild dword [eax]
fmul dword [esp + 0x44]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add ecx, edx
add ecx, dword [eax]
mov eax, dword [esi]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0xfc]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x34]
call edx
fild dword [eax + 4]
fmul dword [esp + 0x44]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x104]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x20]
mov edx, dword [esi]
add eax, dword [esp + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x68]
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x6c]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0
mov ecx, esi
call eax
mov edi, dword [esp + 0x68]
push 0
push esi
lea eax, [edi + 0x1960]
push eax
call fcn.00442680
add dword [esp + 0x10], 8
inc ebx
add esi, 0x78
cmp ebx, 3
jb 0x411916
fld dword [0x6a16d0]
mov ecx, dword [ebp + 8]
mov eax, 2
fstp dword [esp + 0x1c]
fld dword [0x6a1b54]
mov dword [edi + 0x198c], eax
mov dword [esp + 0x58], eax
fstp dword [esp + 0x44]
xor ebx, ebx
lea eax, [edi + 0xd8]
mov dword [edi + 0x1968], ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x5c], 3
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
jmp 0x411acd
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
cmp ebx, 2
fld dword [0x6a1b50]
fild dword [esp + 0x18]
mov edx, dword [esp + ebx*4 + 0x54]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x9c], edx
fmul qword [0x6a1b48]
mov dword [esp + 0xa0], ecx
fld qword [0x6a1b40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xa8], ecx
fadd st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fstp dword [esp + 0x48]
mov dword [esp + 0xa4], edx
fld dword [0x6a1b3c]
mov edx, dword [esp + 0x48]
fstp dword [esp + 0xd8]
mov dword [esp + 0xac], edx
fld dword [0x6a1b38]
fstp dword [esp + 0xd0]
fld qword [0x6a1b30]
fadd st(1)
fstp dword [esp + 0xcc]
jge 0x411be6
fstp st(1)
fld dword [0x6a1b28]
fstp dword [esp + 0x94]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xe0], ecx
fadd qword [0x6a1b20]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x98]
mov edx, dword [esp + 0x98]
fld dword [0x6a1b18]
mov dword [esp + 0xe4], edx
fstp dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xe8], ecx
fst dword [esp + 0x70]
mov edx, dword [esp + 0x70]
fld dword [0x6a1b14]
mov dword [esp + 0xec], edx
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
jmp 0x411c4c
fstp st(0)
fld dword [0x6a1b10]
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xe0], ecx
fst dword [esp + 0x80]
mov edx, dword [esp + 0x80]
fld dword [0x6a1b0c]
mov dword [esp + 0xe4], edx
fstp dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xe8], ecx
fst dword [esp + 0x78]
mov edx, dword [esp + 0x78]
fld dword [0x6a1b08]
mov dword [esp + 0xec], edx
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xf0], ecx
mov ecx, dword [edi + 0x40]
push ecx
mov dword [esp + 0xf8], edx
mov edx, dword [eax]
mov edx, dword [edx + 4]
sub esp, 0x5c
mov edi, esp
mov ecx, 0x17
lea esi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call edx
add dword [esp + 0x10], 0x548
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, 3
jb 0x411ac5
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4