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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x662fea
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x13958]
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
mov ecx, dword [eax + 0xdf480]
mov edx, dword [eax + 0x1395c]
fdiv qword [0x6a1590]
xor edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
fstp dword [esp + 0x30]
cmp ecx, edi
je 0x46a672
mov ecx, dword [ecx + 0xc]
jmp 0x46a674
xor ecx, ecx
mov edx, dword [ecx + 0x2c0]
mov ecx, dword [ecx + 0x2c4]
mov dword [ebx + 0x480], eax
mov eax, dword [eax + 0x20e8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov esi, 0xf
cmp eax, edi
je 0x46a6f8
push 0x10
push str.objm000_000.bmp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], edi
mov edx, dword [ebx + 0x10]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x10]
push 0x15
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x46a6f8
mov eax, dword [esp + 0x18]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obj_b000_000.bmp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 1
mov edx, dword [ebx + 0xa4]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0xa4]
push 0x15
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x46a75d
mov eax, dword [esp + 0x18]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obj_a999_000.bmp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 2
mov edx, dword [ebx + 0x1cc]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x1cc]
push 0x15
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x46a7c2
mov eax, dword [esp + 0x18]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obj_a003_000.bmp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 3
mov edx, dword [ebx + 0x138]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x138]
push 0x15
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x46a827
mov eax, dword [esp + 0x18]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obj_a104_000.bmp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 4
mov edx, dword [ebx + 0x260]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x260]
push 0x15
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x46a88c
mov eax, dword [esp + 0x18]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obj_a005_000.bmp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.00404c00
push edi
push 1
mov esi, 5
mov dword [esp + 0xc0], esi
mov edx, dword [ebx + 0x2f4]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x2f4]
push 0x15
lea eax, [esp + 0x20]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x46a8f2
mov eax, dword [esp + 0x18]
push eax
call fcn.0046efcb
add esp, 4
fld dword [esp + 0x30]
mov dword [esp + 0x10], edi
fmul qword [0x6a1c90]
mov dword [esp + 0x68], 4
mov dword [esp + 0x78], 3
mov dword [esp + 0x70], esi
call fcn.00631650
mov dword [esp + 0x5c], eax
lea esi, [ebx + 0x388]
jmp 0x46a928
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
push eax
mov edx, dword [esi]
push edi
push ecx
mov edx, dword [edx + 0x84]
push edi
mov eax, 2
push eax
push edi
mov eax, 1
push eax
push edi
xor eax, eax
push eax
mov eax, dword [esp + 0x94]
push edi
push eax
mov eax, 2
push eax
add ebx, 0x2f4
push ebx
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
fild dword [esp + 0x10]
fmul qword [0x6a15f0]
fadd qword [0x6a1c88]
fmul dword [esp + 0x30]
call fcn.00631650
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x60]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x34]
lea ecx, [esp + 0x94]
mov dword [esp + 0x14], 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 + 0x38]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, esi
call edx
fild dword [eax]
fmul dword [esp + 0x30]
call fcn.00631650
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call edx
mov ebx, dword [eax]
mov eax, dword [esi]
add ebx, dword [esp + 0x10]
mov edx, dword [eax + 0x34]
add ebx, dword [esp + 0x34]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call edx
fild dword [eax + 4]
fmul dword [esp + 0x30]
call fcn.00631650
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, dword [esp + 0x38]
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x20], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [ebp + 8]
push 0
push esi
add eax, 0x478
push eax
call fcn.00442680
inc edi
add esi, 0x78
mov dword [esp + 0x10], edi
cmp edi, 2
jb 0x46a925
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x3c]
push 0x10
xor ebx, ebx
push str.obj_a999_003.bmp
lea ecx, [esp + 0x48]
mov dword [edi + 0x4a4], 2
mov dword [edi + 0x480], eax
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0xc0], 6
mov edx, dword [edi + 0x4e0]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x4e0]
push 0x15
lea eax, [esp + 0x4c]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x58], 0x10
jb 0x46ab70
cmp byte [0xf6273d], bl
je 0x46ab32
mov eax, dword [esp + 0x44]
push eax
call fcn.0062da20
add esp, 4
jmp 0x46ab70
mov ecx, dword [esp + 0x44]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x46ab70
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x46ab63
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov edx, dword [edi + 0x4b0]
mov eax, dword [edx]
push ebx
lea ecx, [edi + 0x4b0]
push ebx
push ebx
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], 0
mov dword [edi + 0x4d8], ebx
mov dword [edi + 0x4dc], ebx
call eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4