Function at 0x46bd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59d7d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor ebp, ebp
lea edi, [ebx + 0x10]
mov ecx, 5
lea esi, [esp + 0x48]
push ebp
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x54], 3
mov dword [ebx + 0x50], ebp
call fcn.004298b0
fld dword [ebx + 0x1c]
call fcn.0050a970
fld dword [ebx + 0x18]
push eax
call fcn.0050a970
push eax
push ebp
push str.gialog.bmp
call fcn.004299c0
push ebp
call fcn.00429b50
fld dword [ebx + 0x14]
mov esi, eax
mov dword [ebx + 0x4c], esi
call fcn.0050a970
fld dword [ebx + 0x10]
push eax
call fcn.0050a970
push eax
push esi
call fcn.00429c20
fld dword [ebx + 0x18]
fmul dword [0x5a8e18]
mov eax, dword [ebx + 0x4c]
push 0x3f200000
push 0x3f200000
push eax
fstp dword [ebx + 0x18]
fld dword [ebx + 0x1c]
fmul dword [0x5a8e18]
fstp dword [ebx + 0x1c]
call fcn.00429ce0
push ebp
call fcn.004298b0
fld dword [ebx + 0x1c]
call fcn.0050a970
fld dword [ebx + 0x18]
push eax
call fcn.0050a970
push eax
push 1
push 1
push 1
call fcn.00429aa0
add esp, 0x48
push ebp
call fcn.00429b50
fld dword [ebx + 0x14]
mov esi, eax
mov dword [ebx + 0x24], esi
call fcn.0050a970
fld dword [ebx + 0x10]
push eax
call fcn.0050a970
push eax
push esi
call fcn.00429c20
mov ecx, dword [ebx + 0x24]
push 1
push ebp
push ebp
push ebp
push ecx
call fcn.00429ca0
push 0x34
call fcn.00509a33
add esp, 0x28
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, ebp
mov dword [esp + 0x40], ebp
je 0x46bee2
mov dword [esi], 0x5a8810
mov dword [esi + 4], ebp
lea edi, [esi + 0x24]
lea edx, [esp + 0x48]
push 8
push edx
mov ecx, edi
mov byte [esp + 0x48], 1
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], 0x3f800000
mov dword [esp + 0x28], edi
call fcn.00402a70
mov ecx, edi
mov byte [esp + 0x40], 2
call fcn.00402970
mov dword [esi], 0x5a8700
jmp 0x46bee4
xor esi, esi
push 0x34
mov dword [esp + 0x44], 0xffffffff
mov dword [ebx + 8], esi
call fcn.00509a33
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, ebp
mov dword [esp + 0x40], 3
je 0x46bf55
mov dword [esi], 0x5a8810
mov dword [esi + 4], ebp
lea edi, [esi + 0x24]
lea eax, [esp + 0x48]
push 8
push eax
mov ecx, edi
mov byte [esp + 0x48], 4
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], 0x3f800000
mov dword [esp + 0x24], edi
call fcn.00402a70
mov ecx, edi
mov byte [esp + 0x40], 5
call fcn.00402970
mov dword [esi], 0x5a8700
jmp 0x46bf57
xor esi, esi
fld dword [ebx + 0x18]
fmul dword [0x5a83e8]
fld dword [ebx + 0x20]
fmul dword [0x5a8db8]
push ebp
push ebp
sub esp, 0x14
mov dword [ebx + 0xc], esi
fsubp st(1)
mov ecx, 5
lea esi, [esp + 0x40]
mov edi, esp
mov dword [esp + 0x50], 0x3f800000
fmul dword [0x5a83e8]
mov dword [esp + 0x48], 0x42700000
mov dword [esp + 0x4c], 0x41a00000
mov dword [esp + 0x5c], 0xffffffff
fadd dword [ebx + 0x10]
fstp dword [esp + 0x40]
fld dword [ebx + 0x1c]
fadd dword [ebx + 0x14]
fsub dword [0x5a8dbc]
fstp dword [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call fcn.00463ae0
mov ecx, dword [ebx + 8]
push 0x5de5d0
call fcn.00463f40
fld dword [ebx + 0x18]
fmul dword [0x5a83e8]
push ebp
push ebp
sub esp, 0x14
mov ecx, 5
fadd dword [esp + 0x40]
lea esi, [esp + 0x40]
mov edi, esp
fstp dword [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc]
call fcn.00463ae0
mov ecx, dword [ebx + 0xc]
push 0x5db90c
call fcn.00463f40
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0x24]
lea eax, [esp + 0x18]
push edx
push eax
push ecx
mov dword [ebx + 0x3c], ebp
call fcn.00429d80
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x24]
push 5
push edx
push eax
push ecx
call fcn.00429c60
lea edx, [esp + 0x38]
lea eax, [esp + 0x30]
push edx
mov edx, dword [ebx + 0x4c]
lea ecx, [esp + 0x38]
push eax
push ecx
push edx
call fcn.00429d80
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx + 0x4c]
dec eax
push 5
push eax
push ecx
push edx
call fcn.00429c60
mov esi, dword [ebx + 8]
add esp, 0x40
lea eax, [esp + 0x20]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esi + 8]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
call fcn.00429d80
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
push 6
push ecx
push edx
push eax
call fcn.00429c60
mov ebx, dword [ebx + 0xc]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x40]
push edx
push eax
push ecx
call fcn.00429d80
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebx + 8]
push 6
push edx
push eax
push ecx
call fcn.00429c60
mov ecx, dword [esp + 0x78]
add esp, 0x40
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x14