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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x662187
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x40], eax
mov ecx, dword [eax + 0x13958]
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
mov edx, dword [eax + 0x1395c]
mov dword [esp + 0x50], edx
fdiv qword [0x6a1590]
mov eax, dword [eax + 0xdf480]
xor esi, esi
fstp dword [esp + 0x18]
cmp eax, esi
je 0x4126cd
mov eax, dword [eax + 0xc]
jmp 0x4126cf
xor eax, eax
mov ecx, dword [eax + 0x2c0]
mov edx, dword [eax + 0x2c4]
push 0x10
mov dword [esp + 0x58], ecx
push str.objj009_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x138], esi
mov eax, dword [edi + 0x44]
mov eax, dword [eax + 0x140]
lea ecx, [edi + 0x44]
push 0x15
lea edx, [esp + 0x28]
push edx
call eax
or ebx, 0xffffffff
mov dword [esp + 0x130], ebx
cmp dword [esp + 0x34], 0x10
jb 0x412741
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0046efcb
add esp, 4
push 0x10
push str.objj009_001.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x138], 1
mov edx, dword [edi + 0xd8]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xd8]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x130], ebx
cmp dword [esp + 0x34], 0x10
jb 0x4127a6
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.objj010_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x138], 2
mov edx, dword [edi + 0x7bc]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x7bc]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x130], ebx
cmp dword [esp + 0x34], 0x10
jb 0x41280b
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
push 0x11
push str.obj2j500_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x138], 3
mov edx, dword [edi + 0x1058]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x1058]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x130], ebx
cmp dword [esp + 0x34], 0x10
jb 0x412870
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
push 0x11
push str.obj2j500_001.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x138], 4
mov edx, dword [edi + 0xe70]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0xe70]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x130], ebx
cmp dword [esp + 0x34], 0x10
jb 0x4128d5
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
fld dword [esp + 0x18]
mov ecx, dword [edi + 0x40]
fld qword [0x6a1b00]
mov dword [edi + 0x78c], ecx
fmul st(1)
call fcn.00631650
fld qword [0x6a1af8]
fmul st(1)
mov esi, eax
call fcn.00631650
fld qword [0x6a1af0]
fmul st(1)
mov dword [esp + 0x14], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
call fcn.00631650
fld qword [0x6a1ae8]
mov edx, dword [esp + 0x14]
fmul st(1)
mov ebx, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edx
call fcn.00631650
fld qword [0x6a1ae0]
fmul st(1)
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
call fcn.00631650
fld qword [0x6a1ad8]
mov dword [esp + 0x7c], eax
fmul st(1)
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
call fcn.00631650
fld qword [0x6a1ad0]
fmul st(1)
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
call fcn.00631650
fld qword [0x6a1ac8]
fmul st(1)
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], eax
call fcn.00631650
fmul qword [0x6a1ac0]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], eax
call fcn.00631650
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
xor ebx, ebx
mov eax, ebx
cmp ebx, 0xb
jne 0x412a12
lea eax, [ebx - 2]
jmp 0x412a1a
cmp ebx, 0xc
jne 0x412a1a
lea eax, [ebx - 2]
mov ecx, ebx
shl ecx, 4
sub ecx, ebx
lea esi, [edi + ecx*8 + 0x16c]
mov edx, dword [esi]
mov ecx, 4
push ecx
push eax
mov ecx, 3
push ecx
push eax
mov ecx, 2
push ecx
push eax
mov ecx, 1
push ecx
push eax
xor ecx, ecx
push ecx
push eax
mov eax, 5
push eax
mov eax, 0xb
push eax
lea eax, [edi + 0xd8]
push eax
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0
mov ecx, esi
call eax
mov eax, dword [esp + ebx*8 + 0x60]
mov ecx, dword [esp + ebx*8 + 0x5c]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x54]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x58]
lea ecx, [esp + 0xdc]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, esi
call edx
fild dword [eax]
fmul dword [esp + 0x18]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0xcc]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x14]
lea ecx, [esp + 0x11c]
add eax, dword [esp + 0x54]
push ecx
mov dword [esp + 0x48], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
fild dword [eax + 4]
fmul dword [esp + 0x18]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x58]
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x48], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
push 0
push esi
lea eax, [edi + 0x784]
push eax
call fcn.00442680
inc ebx
cmp ebx, 0xd
jb 0x412a06
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x7bc]
mov edx, dword [edx + 0x1c]
lea ecx, [edi + 0x7bc]
mov dword [edi + 0xe6c], eax
lea eax, [esp + 0x4c]
push eax
mov dword [edi + 0x7b0], 2
call edx
fld dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
fld st(0)
cdq
fadd st(1)
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x4c], eax
call fcn.00631650
fld qword [0x6a1ab8]
mov esi, eax
fmul st(1)
mov dword [esp + 0xdc], esi
call fcn.00631650
fld qword [0x6a1ab0]
fmul st(1)
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], eax
call fcn.00631650
fld qword [0x6a1aa8]
fmul st(1)
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], eax
call fcn.00631650
fld qword [0x6a1aa0]
fmul st(1)
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], eax
call fcn.00631650
fld qword [0x6a1970]
fmul st(1)
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], eax
call fcn.00631650
fld qword [0x6a1a08]
fmul st(1)
mov dword [esp + 0xd8], eax
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], eax
call fcn.00631650
fld qword [0x6a1a98]
mov esi, eax
fmul st(1)
mov dword [esp + 0xe4], esi
call fcn.00631650
fld qword [0x6a19f8]
fmul st(1)
mov dword [esp + 0x40], eax
call fcn.00631650
fld qword [0x6a1a90]
mov ebx, eax
fmul st(1)
mov dword [esp + 0x54], ebx
call fcn.00631650
fld qword [0x6a1a88]
mov ecx, dword [esp + 0x40]
fmul st(1)
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
call fcn.00631650
fld qword [0x6a1a80]
fmul st(1)
mov dword [esp + 0x40], eax
call fcn.00631650
mov edx, dword [esp + 0x40]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
fld qword [0x6a1a78]
fmul st(1)
call fcn.00631650
fld qword [0x6a1a70]
fmul st(1)
mov dword [esp + 0x40], eax
call fcn.00631650
fld qword [0x6a1a68]
mov ecx, dword [esp + 0x40]
fmul st(1)
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
call fcn.00631650
fld qword [0x6a1a60]
fmul st(1)
mov dword [esp + 0x40], eax
call fcn.00631650
fld qword [0x6a1a58]
mov edx, dword [esp + 0x40]
fmul st(1)
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
call fcn.00631650
fmul qword [0x6a1a50]
mov dword [esp + 0x40], eax
call fcn.00631650
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
xor ebx, ebx
lea edx, [esp + 0x5c]
lea eax, [esp + 0xec]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
lea esi, [edi + 0x850]
mov edx, dword [esi]
lea eax, [edi + 0x7bc]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov eax, dword [esp + 0x4c]
mov ecx, ebx
imul ecx, eax
inc ebx
imul eax, ebx
mov edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], edx
mov dword [esp + 0xdc], ebx
mov ebx, dword [esi]
mov edx, dword [ebx + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
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 [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 + 0x14]
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 + 0xda0]
mov dword [eax + 0xc], ecx
call fcn.00450790
mov ebx, dword [esp + 0xcc]
add dword [esp + 0x18], 8
add dword [esp + 0x14], 0x10
add esi, 0x154
cmp ebx, 4
jb 0x412dd7
mov edx, dword [edi + 0xe70]
mov edx, dword [edx + 0x1c]
lea ebx, [edi + 0xe70]
lea eax, [esp + 0xc4]
push eax
mov ecx, ebx
call edx
mov eax, dword [edi + 0xf04]
mov edx, dword [eax + 0x28]
lea esi, [edi + 0xf04]
push ebx
mov ecx, esi
call edx
mov ebx, dword [esi]
xor ecx, ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xd4]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 0xc], ecx
mov eax, dword [ebx + 0x4c]
mov ecx, esi
call eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push eax
push 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 + 0xe4]
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
push esi
lea ebx, [edi + 0xda0]
mov dword [eax + 0xc], edx
call fcn.00450790
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4