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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68ee58
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x70c004]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x70c004]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
mov edi, dword [eax + 8]
mov eax, edi
lea ecx, [eax + 0x80918]
call fcn.0046f4f8
mov ecx, eax
call fcn.004741a6
fstp dword [esp + 0x18]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [eax + 0x80918]
call fcn.0046f4f8
mov ecx, eax
call fcn.00474569
mov ecx, dword [edi + 0x6ca08]
mov edx, dword [edi + 0x6ca00]
mov eax, dword [edi + 0x6ca04]
push 0x1d
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov edi, 0xf
push str.sc_sc_000_000_000_000_002.bmp
lea ecx, [esp + 0xfc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
call fcn.004051a0
mov dword [esp + 0x2f0], ebx
push 0x1d
push str.sc_sc_000_000_000_000_001.bmp
lea ecx, [esp + 0x118]
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 1
push 0x1d
push str.sc_sc_000_000_000_000_004.bmp
lea ecx, [esp + 0x134]
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebx
mov byte [esp + 0x138], bl
call fcn.004051a0
mov dword [esp + 0x2f0], 2
push 0x1d
push str.sc_sc_001_000_000_000_000.bmp
lea ecx, [esp + 0x274]
mov dword [esp + 0x28c], edi
mov dword [esp + 0x288], ebx
mov byte [esp + 0x278], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 3
push 0x1d
push str.sc_sc_001_000_000_000_007.bmp
lea ecx, [esp + 0x290]
mov dword [esp + 0x2a8], edi
mov dword [esp + 0x2a4], ebx
mov byte [esp + 0x294], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 4
push 0x1d
push str.sc_sc_001_000_000_000_007.bmp
lea ecx, [esp + 0x2ac]
mov dword [esp + 0x2c4], edi
mov dword [esp + 0x2c0], ebx
mov byte [esp + 0x2b0], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 5
mov dword [esp + 0x2d8], edi
mov dword [esp + 0x2d4], ebx
push 0x1d
push str.sc_sc_001_000_000_000_001.bmp
lea ecx, [esp + 0x2c8]
mov byte [esp + 0x2cc], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 6
push 0x1d
push str.sc_sc_002_000_000_000_013.bmp
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 7
push 0x1d
push str.sc_sc_002_000_000_000_008.bmp
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x1e0], edi
mov dword [esp + 0x1dc], ebx
mov byte [esp + 0x1cc], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 8
push 0x1d
push str.sc_sc_002_000_000_000_002.bmp
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x1fc], edi
mov dword [esp + 0x1f8], ebx
mov byte [esp + 0x1e8], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 9
push 0x19
push str.bg_bg_001_000_000_000.bmp
lea ecx, [esp + 0x154]
mov dword [esp + 0x16c], edi
mov dword [esp + 0x168], ebx
mov byte [esp + 0x158], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0xa
push 0x19
push str.bg_bg_001_000_000_011.bmp
lea ecx, [esp + 0x170]
mov dword [esp + 0x188], edi
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0xb
push 0x19
push str.bg_bg_001_000_000_000.bmp
lea ecx, [esp + 0x18c]
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0xc
push 0x19
push str.bg_bg_005_000_000_001.bmp
lea ecx, [esp + 0x204]
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0xd
push 0x19
push str.bg_bg_001_000_000_000.bmp
lea ecx, [esp + 0x220]
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov byte [esp + 0x224], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0xe
mov dword [esp + 0x24c], edi
mov dword [esp + 0x248], ebx
push 0x19
push str.bg_bg_005_000_000_000.bmp
lea ecx, [esp + 0x23c]
mov byte [esp + 0x240], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0xf
push 0x19
push str.bg_bg_003_000_000_002.bmp
lea ecx, [esp + 0x258]
mov dword [esp + 0x270], edi
mov dword [esp + 0x26c], ebx
mov byte [esp + 0x25c], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0x10
push 0x19
push str.bg_bg_001_000_000_000.bmp
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0x11
push 0x19
push str.bg_bg_005_000_000_002.bmp
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0x12
push 0x19
push str.bg_bg_004_000_000_002.bmp
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
call fcn.004051a0
mov byte [esp + 0x2f0], 0x13
mov edx, dword [esp + 0x24]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esi + 0x5fe4c]
mov edx, dword [edx + 0x140]
add eax, eax
push ebx
add eax, eax
push 1
lea ecx, [esi + 0x5fe4c]
mov dword [esp + 0x2c], eax
push 0x15
lea eax, [esp + eax + 0x100]
push eax
call edx
mov edx, dword [esp + 0x14]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esi + 0x5fee0]
mov edx, dword [edx + 0x140]
add eax, eax
push ebx
add eax, eax
push 1
lea ecx, [esi + 0x5fee0]
mov dword [esp + 0x1c], eax
push 0x15
lea eax, [esp + eax + 0x278]
push eax
call edx
mov edx, dword [esp + 0x1c]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [esi + 0x5ff74]
add eax, eax
lea ecx, [esi + 0x5ff74]
add eax, eax
mov dword [esp + 0x1c], eax
mov edx, dword [edx + 0x140]
push ebx
push 1
push 0x15
lea eax, [esp + eax + 0x1b0]
push eax
call edx
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x60008]
mov eax, dword [eax + 0x140]
push ebx
lea ecx, [esi + 0x60008]
push 1
push 0x15
lea edx, [esp + edx + 0x158]
push edx
mov dword [esp + 0x78], ecx
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x6009c]
mov edx, dword [edx + 0x140]
push ebx
push 1
lea ecx, [esi + 0x6009c]
push 0x15
lea eax, [esp + eax + 0x208]
push eax
call edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x60130]
mov eax, dword [eax + 0x140]
push ebx
push 1
lea ecx, [esi + 0x60130]
push 0x15
lea edx, [esp + edx + 0xa8]
push edx
call eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [esi + 0x5eef0]
mov edx, dword [edx + 0x34]
mov dword [esi + 0x609f4], ecx
mov eax, dword [eax + 8]
lea ecx, [esi + 0x5eef0]
mov dword [esi + 0x60a18], eax
lea eax, [esp + 0x2c]
push eax
call edx
fild dword [eax + 4]
fadd qword [0x6d03a0]
fmul dword [esp + 0x18]
fiadd dword [esp + 0x38]
call fcn.0064b350
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x5eef0]
mov eax, dword [eax + 0x34]
lea ecx, [esi + 0x5eef0]
lea edx, [esp + 0x24]
push edx
call eax
fild dword [esp + 0x34]
fstp dword [esp + 0x20]
fild dword [eax]
fld qword [0x6d0398]
fadd st(1), st(0)
fld dword [esp + 0x18]
fld st(0)
fmulp st(3)
fld dword [esp + 0x20]
fld st(0)
faddp st(4)
fxch st(3)
call fcn.0064b350
fld qword [0x6d03a0]
fmul st(1)
mov dword [esp + 0x14], eax
fst qword [esp + 0x54]
fiadd dword [esp + 0x38]
call fcn.0064b350
mov dword [esp + 0x24], eax
fmulp st(1)
faddp st(1)
call fcn.0064b350
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x5ef74]
mov edx, dword [edx + 0x34]
lea ecx, [esi + 0x5ef74]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x2c]
push eax
call edx
fild dword [eax + 4]
fadd qword [0x6d03a0]
fmul dword [esp + 0x18]
fiadd dword [esp + 0x38]
call fcn.0064b350
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x5ef74]
mov eax, dword [eax + 0x34]
lea ecx, [esi + 0x5ef74]
lea edx, [esp + 0x24]
push edx
call eax
fild dword [esp + 0x34]
fstp dword [esp + 0x20]
fild dword [eax]
fld qword [0x6d0390]
fadd st(1), st(0)
fld dword [esp + 0x18]
fld st(0)
fmulp st(3)
fld dword [esp + 0x20]
fld st(0)
faddp st(4)
fxch st(3)
call fcn.0064b350
fild dword [esp + 0x38]
mov dword [esp + 0x14], eax
fadd qword [esp + 0x54]
call fcn.0064b350
fmulp st(1)
mov dword [esp + 0x24], eax
faddp st(1)
call fcn.0064b350
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov edx, dword [esi + 0x5eff8]
mov edx, dword [edx + 0x34]
lea ecx, [esi + 0x5eff8]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x2c]
push eax
call edx
fild dword [eax + 4]
fadd qword [0x6d03a0]
fmul dword [esp + 0x18]
fiadd dword [esp + 0x38]
call fcn.0064b350
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x5eff8]
mov eax, dword [eax + 0x34]
lea ecx, [esi + 0x5eff8]
lea edx, [esp + 0x24]
push edx
call eax
fild dword [esp + 0x34]
fstp dword [esp + 0x20]
fild dword [eax]
fld qword [0x6d0388]
fadd st(1), st(0)
fld dword [esp + 0x18]
fld st(0)
fmulp st(3)
fld dword [esp + 0x20]
fld st(0)
faddp st(4)
fxch st(3)
call fcn.0064b350
fild dword [esp + 0x38]
mov dword [esp + 0x14], eax
fadd qword [esp + 0x54]
call fcn.0064b350
fld st(0)
fmulp st(2)
mov dword [esp + 0x24], eax
fxch st(1)
faddp st(2)
fxch st(1)
call fcn.0064b350
fld qword [0x6d0380]
mov ecx, dword [esp + 0x24]
fmul st(1)
mov edx, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
call fcn.0064b350
fld qword [0x6d0378]
fmul st(1)
mov dword [esp + 0x2c], eax
call fcn.0064b350
fld qword [0x6cfbb8]
mov ecx, dword [esp + 0x2c]
fmul st(1)
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
call fcn.0064b350
fld qword [0x6d0370]
fmul st(1)
mov dword [esp + 0x14], eax
call fcn.0064b350
fmul qword [0x6d0368]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call fcn.0064b350
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
lea edx, [esp + 0x6c]
lea ecx, [esi + 0x601c4]
lea eax, [esi + 0x5fe4c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 3
jmp 0x413359
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x28]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x2c]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
xor ecx, ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
push 0xff
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
push edi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [edx + 0x44]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x28]
push ecx
lea eax, [esi + 0x609ec]
push eax
call fcn.00456400
add dword [esp + 0x20], 0x94
add dword [esp + 0x54], 8
add dword [esp + 0x1c], 0x10
add dword [esp + 0x18], 0x15c
sub dword [esp + 0x24], 1
jne 0x413355
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea edx, [esi + 0x60a10]
lea eax, [esp + 0x3c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], edx
lea ebx, [esp + 0x6c]
mov dword [esp + 0x14], eax
add esi, 0x605d8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x2c]
push edx
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
xor ecx, ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
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 edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
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 ecx, dword [ebx]
mov edx, dword [ebx + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
push esi
push eax
call fcn.00456400
add dword [esp + 0x20], 0x94
add dword [esp + 0x14], 8
add ebx, 0x10
add esi, 0x15c
sub dword [esp + 0x24], 1
jne 0x413475
push fcn.00404c40
push 3
push 0x1c
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0x300], 0x10
call fcn.00649be5
push fcn.00404c40
push 4
push 0x1c
lea edx, [esp + 0x208]
push edx
mov byte [esp + 0x300], 0xc
call fcn.00649be5
push fcn.00404c40
push 3
push 0x1c
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x300], 9
call fcn.00649be5
push fcn.00404c40
push 3
push 0x1c
lea ecx, [esp + 0x1b0]
push ecx
mov byte [esp + 0x300], 6
call fcn.00649be5
push fcn.00404c40
push 4
push 0x1c
lea edx, [esp + 0x278]
push edx
mov byte [esp + 0x300], 2
call fcn.00649be5
push fcn.00404c40
push 3
push 0x1c
lea eax, [esp + 0x100]
push eax
mov dword [esp + 0x300], 0xffffffff
call fcn.00649be5
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.00649a98
mov esp, ebp
pop ebp
ret