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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x10], edi
call fcn.0046f2e0
mov dword [edi + 0x20], 0x100
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x46e2ec
mov edi, eax
jmp 0x46e2d0
mov eax, dword [esi]
test eax, eax
je 0x46e2df
push eax
call fcn.0059e230
add esp, 4
add esi, 4
cmp esi, edi
jne 0x46e2d0
mov edi, dword [esp + 0xc]
mov esi, dword [edi]
mov ecx, edi
mov dword [edi + 4], esi
call fcn.0046ed60
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x18]
fld dword [0x5de4c8]
mov ecx, 8
mov dword [edi + 0x30], 0
mov edi, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x7f00
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x7f00
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 0x1e
mov dword [esp + 0x30], 0x32
mov dword [esp + 0x34], 0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [eax + 0x34]
lea esi, [esp + 0x18]
add edi, 0x20
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0xff0000
mov ecx, 8
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0xff0000
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 0x1e
mov dword [esp + 0x30], 0x32
mov dword [esp + 0x34], 0
rep movsd dword es:[edi], dword [esi]
mov edi, dword [eax + 0x34]
lea esi, [esp + 0x18]
add edi, 0x40
mov dword [esp + 0x18], 0
mov ecx, 8
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xff
mov byte [esp + 0x28], 0
mov dword [esp + 0x2c], 0x1e
mov dword [esp + 0x30], 0x32
mov dword [esp + 0x34], 0
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x14], 1
mov dword [edi + 0x68], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x14], 0
fst dword [edi + 0x58]
mov dword [edi + 0x70], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x14], 0
fstp dword [edi + 0x5c]
fld dword [0x5de4f0]
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0xb8], eax
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
fstp dword [edi + 0x60]
mov dword [edi + 0x44], 0
mov word [edi + 0x40], 0
mov dword [edi + 0x48], 1
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 1
mov dword [edi + 0x54], 1
mov dword [edi + 0x64], 0xff
mov dword [edi + 0x6c], 0xc0c0c0
mov dword [edi + 0x74], 0xff
mov dword [edi + 0x78], 0xd7d7d7
mov dword [edi + 0x7c], 0xb0b0b0
mov dword [edi + 0x80], 0x100
mov dword [edi + 0x84], 0x100
mov byte [edi + 0x88], 0
mov dword [edi + 0xac], 0xff
mov dword [edi + 0xb4], 0xc0c0c0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], eax
mov esi, dword [0x5ad62c]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
fldz
push 0xf
fstp dword [edi + 0xa0]
mov dword [edi + 0x94], 0xffffff
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], 0
call esi
push 0x14
mov dword [edi + 0xa4], eax
call esi
mov dword [edi + 0xa8], eax
mov eax, dword [edi + 0x14]
push 0xf
mov dword [eax + 0x9fc], 0
call esi
mov ecx, dword [edi + 0x14]
lea esi, [edi + 0xe0]
mov byte [esp + 0x14], 0
push esi
push 5
mov dword [ecx + 0xa00], eax
mov ecx, esi
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc0], eax
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0x7f7f7f
mov dword [edi + 0x118], 0
mov word [edi + 0x11c], 0
mov dword [edi + 0x120], 0xffff
mov dword [edi + 0x124], 0x100
mov dword [edi + 0x128], 1
mov dword [edi + 0x12c], 1
mov word [edi + 0x130], 0
mov dword [edi + 0xbc], 0xff0000
mov dword [edi + 0xc4], 0xffffff
mov dword [edi + 0xc8], eax
mov word [edi + 0xcc], 0x101
mov dword [edi + 0xd0], 1
mov dword [edi + 0xd4], 1
call fcn.00450520
mov ecx, dword [esi]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x28]
mov byte [esp + 0x28], 0
mov dword [ecx], 1
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x14], 7
mov ecx, dword [esi]
mov byte [esp + 0x28], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0x10
mov dword [ecx + 0x24], 0x1ffffff
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x2c], 7
mov ecx, dword [esi]
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], 7
mov ecx, edi
mov byte [edi + 0xf0], 1
call fcn.0046e1e0
cmp byte [edi + 0xf0], 0
je 0x46e690
mov eax, dword [edi + 0xec]
jmp 0x46e696
mov eax, dword [edi + 0xd0]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 1
mov dword [edi + 0x108], 0
mov byte [edi + 0x10c], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov byte [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov byte [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0xc0c0c0
mov dword [edi + 0x17c], 3
mov dword [edi + 0x180], 3
mov dword [edi + 0x184], 2
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4