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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x668f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 8]
mov edi, dword [ecx + 8]
mov eax, dword [edi + 0x13958]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
mov edx, dword [edi + 0x1395c]
mov dword [esp + 0x50], edx
fdiv qword [0x6a1590]
mov eax, dword [edi + 0xdf480]
mov dword [esp + 0x1c], edi
fstp dword [esp + 0x48]
test eax, eax
je 0x45ef60
mov eax, dword [eax + 0xc]
jmp 0x45ef62
xor eax, eax
cmp byte [ecx + 0xc], 0
mov edx, dword [eax + 0x2c0]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
jne 0x45ef84
mov esi, dword [edi + 0xded20]
jmp 0x45ef8a
mov esi, dword [edi + 0xded24]
call fcn.004a83f4
test al, al
jne 0x45efc6
mov eax, dword [esi + 0x100]
cmp dword [eax + 8], 0
je 0x45efc6
mov eax, dword [esi + 0xe8]
cmp dword [eax + 0x2c], 2
je 0x45efe5
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x2be0]
test ecx, ecx
je 0x45efbd
cmp ecx, 3
jne 0x45efe5
mov dword [eax + 0x2c], 1
jmp 0x45efe5
mov ecx, dword [esi + 0xe8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x2be0]
test eax, eax
je 0x45efde
cmp eax, 1
jne 0x45efe5
mov dword [ecx + 0x2c], 2
cmp byte [0xf6273c], 0
mov byte [esi + 0x3568], 1
je 0x45f001
push 0x350
call fcn.0062d956
jmp 0x45f027
cmp dword [0xf62698], 0
jne 0x45f01d
mov byte [0xf6273c], 1
call fcn.0046ef62
mov byte [0xf6273c], 0
push 0x350
call fcn.0046eda1
mov dword [esp + 0x18], eax
add esp, 4
mov dword [esp + 0x170], 0
test eax, eax
je 0x45f045
push eax
call fcn.00445390
jmp 0x45f047
xor eax, eax
push 0x10
or edi, 0xffffffff
mov dword [esp + 0x174], edi
xor esi, esi
push str.obj_a003_000.bmp
lea ecx, [esp + 0x2c]
mov dword [ebx + 0xbd7e0], eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x178], 1
mov eax, dword [ebx + 0xbd878]
mov eax, dword [eax + 0x140]
lea ecx, [ebx + 0xbd878]
push 0x15
lea edx, [esp + 0x30]
push edx
call eax
mov dword [esp + 0x170], edi
cmp dword [esp + 0x3c], 0x10
jb 0x45f0be
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0046efcb
add esp, 4
push 0x10
push str.objl000_000.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x178], 2
mov edx, dword [ebx + 0xbd90c]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0xbd90c]
push 0x15
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x170], edi
cmp dword [esp + 0x3c], 0x10
jb 0x45f123
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
mov ecx, ebx
call fcn.004612b0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x20e8], esi
je 0x45f19b
push 0x10
push str.objm000_000.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x178], 3
mov edx, dword [ebx + 0xbd7e4]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0xbd7e4]
push 0x15
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x170], edi
cmp dword [esp + 0x3c], 0x10
jb 0x45f19b
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.objh000_000.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x178], 4
mov edx, dword [ebx + 0xbdaa4]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0xbdaa4]
push 0x15
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x170], edi
cmp dword [esp + 0x3c], 0x10
jb 0x45f200
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.objh000_001.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x178], 5
mov edx, dword [ebx + 0xbdb38]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0xbdb38]
push 0x15
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x170], edi
cmp dword [esp + 0x3c], 0x10
jb 0x45f265
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.objh000_002.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00404c00
push esi
push 1
mov dword [esp + 0x178], 6
mov edx, dword [ebx + 0xbdbcc]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0xbdbcc]
push 0x15
lea eax, [esp + 0x30]
push eax
call edx
mov dword [esp + 0x170], edi
cmp dword [esp + 0x3c], 0x10
jb 0x45f2ca
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.objh003_000.bmp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], esi
mov byte [esp + 0x30], 0
call fcn.00404c00
push 0
push 1
mov dword [esp + 0x178], 7
mov edx, dword [ebx + 0xbdc60]
mov edx, dword [edx + 0x140]
lea esi, [ebx + 0xbdc60]
push 0x15
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x170], edi
cmp dword [esp + 0x3c], 0x10
jb 0x45f332
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efcb
add esp, 4
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
fldz
mov ecx, dword [esp + 0x4c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0xbf0c0], eax
cmp dword [eax + 0x20e8], 0
fstp dword [esp + 0x1c]
je 0x45f379
fld dword [0x6a215c]
jmp 0x45f388
cmp dword [eax + 0x2360], 1
jne 0x45f38c
fld dword [0x6a2158]
fstp dword [esp + 0x1c]
fld dword [0x6a2580]
fst dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x1c]
mov dword [esp + 0xc4], ecx
fld qword [0x6a2578]
fadd st(1)
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fxch st(1)
mov dword [esp + 0xc8], edx
fst dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld st(1)
mov dword [esp + 0xcc], eax
fadd qword [0x6a2570]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd0], ecx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fld qword [0x6a2568]
mov dword [esp + 0xd4], edx
fadd st(1)
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [0x6a2560]
mov dword [esp + 0xd8], eax
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fld qword [0x6a2558]
mov dword [esp + 0xdc], ecx
fadd st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld dword [0x6a2550]
mov dword [esp + 0xe0], edx
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xe4], eax
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [0x6a2118]
mov dword [esp + 0xe8], ecx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xec], edx
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [0x6a254c]
mov dword [esp + 0xf0], eax
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xf4], ecx
fst dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [0x6a2548]
mov dword [esp + 0xf8], edx
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xfc], eax
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [0x6a2544]
mov dword [esp + 0x100], ecx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x104], edx
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [0x6a2540]
mov dword [esp + 0x108], eax
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10c], ecx
fst dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [0x6a253c]
mov dword [esp + 0x110], edx
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x114], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [0x6a2538]
mov dword [esp + 0x118], ecx
fst dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fld st(1)
mov dword [esp + 0x6c], edx
fadd qword [0x6a2210]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
fst dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fld st(1)
mov dword [esp + 0x74], ecx
fadd qword [0x6a2530]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x78], edx
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld qword [0x6a2528]
mov dword [esp + 0x7c], eax
fadd st(1)
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [0x6a2520]
mov dword [esp + 0x80], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], edx
fadd qword [0x6a2518]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [0x6a2510]
mov dword [esp + 0x88], eax
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], ecx
fst dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [0x6a250c]
mov dword [esp + 0x90], edx
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [0x6a2508]
mov dword [esp + 0x98], ecx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x9c], edx
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [0x6a2504]
mov dword [esp + 0xa0], eax
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa4], ecx
fst dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [0x6a2500]
mov dword [esp + 0xa8], edx
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xac], eax
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [0x6a24fc]
mov dword [esp + 0xb0], ecx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb4], edx
fst dword [esp + 0x18]
fld dword [0x6a24f8]
mov eax, dword [esp + 0x18]
mov edi, dword [ebp + 8]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
xor ebx, ebx
lea esi, [edi + 0xbeb90]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add edi, 0xbdcf4
cmp ebx, 3
mov edx, dword [esi]
jge 0x45f727
mov eax, 4
push eax
push ebx
mov ecx, 3
push ecx
push ebx
mov eax, 2
push eax
push ebx
mov eax, 1
push eax
xor eax, eax
push ebx
push eax
push ebx
mov eax, 5
push eax
mov eax, ecx
push eax
mov eax, dword [ebp + 8]
add eax, 0xbdb38
push eax
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
jmp 0x45f780
lea eax, [ebx - 3]
mov ecx, 4
push ecx
push eax
mov edx, dword [edx + 0x84]
mov dword [esp + 0x28], 3
mov ecx, dword [esp + 0x28]
push ecx
push eax
mov ecx, 2
push ecx
push eax
mov ecx, 1
push ecx
push eax
mov dword [esp + 0x140], 0
mov ecx, dword [esp + 0x140]
push ecx
push eax
mov eax, 5
push eax
mov eax, 8
push eax
mov eax, dword [ebp + 8]
add eax, 0xbdbcc
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 0
mov ecx, esi
call edx
fld dword [esp + ebx*8 + 0xc4]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00631650
fmul dword [esp + ebx*8 + 0xc8]
mov dword [esp + 0x124], eax
call fcn.00631650
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x128]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x54]
lea ecx, [esp + 0x154]
mov dword [esp + 0x5c], 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 + 0x13c]
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, esi
call edx
fild dword [eax]
fmul dword [esp + 0x48]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x14c]
push ecx
mov ecx, esi
call edx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
add ecx, edx
add ecx, dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x15c]
push ecx
mov ecx, esi
call edx
fild dword [eax + 4]
fmul dword [esp + 0x48]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x144]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
add eax, dword [esp + 0x58]
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x68], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [ebp + 8]
mov edx, dword [edi]
add eax, 0xbdc60
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov eax, dword [esp + 0x4c]
mov ecx, ebx
imul ecx, eax
lea edx, [ebx + 1]
imul edx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
push 0xff
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
push 0xf
mov ecx, edi
call edx
fld dword [esp + ebx*8 + 0x6c]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00631650
fmul dword [esp + ebx*8 + 0x70]
mov dword [esp + 0x12c], eax
call fcn.00631650
mov edx, dword [edi]
mov edx, dword [edx + 0x44]
push eax
mov eax, dword [esp + 0x130]
push eax
mov ecx, edi
call edx
mov eax, dword [ebp + 8]
push edi
push esi
add eax, 0xbf0b8
push eax
call fcn.00442680
inc ebx
add esi, 0x78
add edi, 0x154
cmp ebx, 0xb
jb 0x45f6e2
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xbecf8]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0xbecf8]
push 1
call edx
mov eax, dword [esi + 0xbed70]
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0xbed70]
push 1
call edx
push esi
mov dword [esi + 0xbf0e4], 2
mov byte [esi + 0xbf0f0], 1
call fcn.00461740
mov eax, dword [esi + 0xbda78]
mov edx, dword [eax]
push 0xa
lea ecx, [esi + 0xbda78]
push 0x64
push 0
mov dword [esi + 0xbdaa0], 1
call edx
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4