Function at 0x4d36c0
Capabilities:
Create thread

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
call fcn.004cd2f0
mov al, byte [0x8ccc35]
mov byte [0x8ccd10], al
mov eax, dword [0x8cbdf0]
test eax, eax
je 0x4d370f
push 0
push 0
push 0
push 0x4d3510
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x8cbdf0]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004da940
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
movzx ecx, byte [esp + 0x74]
push edx
mov edx, dword [esp + 0x70]
push eax
push edx
push ebp
xor eax, eax
call fcn.00501850
mov edi, eax
call fcn.004d5790
push 0x34
call fcn.005354b8
add esp, 0x14
test eax, eax
je 0x4d375e
push 0
push 0
push 0
push 0
push str.Assets
call fcn.004d5860
mov dword [0x8ccce0], eax
jmp 0x4d3768
mov dword [0x8ccce0], 0
call fcn.004d35d0
mov esi, dword [0x8cccd8]
test esi, esi
jne 0x4d3785
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov esi, eax
call dword [sym.imp.USER32.dll_GetCursor]
mov ebx, eax
mov eax, esi
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_SetCursor]
push 0x8ebf58
mov ecx, str.Text.INI
call fcn.004f6e40
test al, al
je 0x4d37d7
mov eax, dword [0x8ebf58]
push 1
mov ecx, 0x8ebf58
mov dword [0x8ebfd0], 0x86bb48
mov dword [0x8ebfcc], 0x1000
mov byte [0x8ebfd4], 0x40
call dword [eax + 0xc]
test edi, edi
je 0x4d38ca
lea esi, [esp + 0x74]
call fcn.004ad4d0
cmp dword [esp + 0x74], 0x90003
jae 0x4d3827
mov edi, dword [0x728b8c]
push 0
push 0
push str.Pirates__requires_DirectX_9.0c.__Please_Install_and_try_again.
mov esi, 0x8ebf58
call fcn.004f7660
add esp, 4
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x54
ret
mov esi, 0x8cccd0
mov dword [esp + 0x74], esi
mov dword [esp + 0x10], esi
push str.Initialization_Error
mov esi, 0x8ebf58
call fcn.004f7660
add esp, 4
mov ebx, 0x86bb48
lea eax, [esp + 0x74]
call fcn.00412f10
push str.Unable_to_initialize_DirectX._n_nView_the_readme_file_for_possible_solutions_to_this_error.
call fcn.004f7660
add esp, 4
lea eax, [esp + 0x10]
call fcn.00412f10
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x10]
push 0
push edi
push esi
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.004d5790
call fcn.005015f0
lea eax, [esi - 8]
test eax, eax
je 0x4d389e
cmp eax, 0x8cccc8
je 0x4d389e
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [edi - 8]
test eax, eax
je 0x4d38b5
cmp eax, 0x8cccc8
je 0x4d38b5
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x54
ret
mov edx, dword [0x7283b4]
push edx
call fcn.00502120
mov eax, dword [0x728a84]
mov ecx, dword [0x7283bc]
mov dword [eax*4 + 0x7288f4], ecx
mov ecx, dword [0x728a84]
mov al, byte [0x7283b0]
add esp, 4
inc ecx
test al, al
mov dword [0x728a84], ecx
je 0x4d3914
push 0x8e87b0
call fcn.00497f20
test al, al
jne 0x4d3914
mov byte [0x7283b0], al
mov eax, str.custom
call fcn.004f29f0
test al, al
je 0x4d3931
push 0
push str.custom
call fcn.004f6970
add esp, 8
push str.custom
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004f2b80
add esp, 4
call fcn.00412a60
mov eax, dword [eax]
call fcn.004f29f0
mov bl, al
mov eax, dword [esp + 0x74]
add eax, 0xfffffff8
je 0x4d396f
cmp eax, 0x8cccc8
je 0x4d396f
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff8
mov esi, 0x8cccd0
mov dword [esp + 0x74], esi
je 0x4d3991
cmp eax, 0x8cccc8
je 0x4d3991
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
test bl, bl
je 0x4d39f4
push str.custom
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004f2b80
add esp, 4
call fcn.00412a60
mov eax, dword [eax]
push 0
push eax
call fcn.004f6970
mov eax, dword [esp + 0x7c]
add esp, 8
add eax, 0xfffffff8
je 0x4d39d7
cmp eax, 0x8cccc8
je 0x4d39d7
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff8
mov dword [esp + 0x74], esi
je 0x4d39f4
cmp eax, 0x8cccc8
je 0x4d39f4
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0
push 0
call dword [sym.imp.MSVCR71.dll__control87]
and eax, 0x30000
add esp, 8
cmp eax, 0x20000
mov eax, str.SINGLE
je 0x4d3a17
mov eax, str.DOUBLE
push eax
push str.FPU_is__s_precision
mov eax, 1
call fcn.004fa160
push str.NiD3DXEffectShaderLib.nl9
mov eax, str.assets_shaders_lib
mov ebx, str.assets_shaders_fx_
call fcn.00501cb0
push str.NSBShaderLib.nl9
mov eax, str.assets_shaders_lib
call fcn.00501cb0
push str.assets_shaders_fx_DX9
call fcn.00548f00
mov ecx, dword [0x8ec08c]
add esp, 0x14
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x3ebcbcbd
mov dword [esp + 0x20], 0x3f24a4a5
mov dword [esp + 0x24], 0x3f62e2e3
mov edx, dword [ecx]
push eax
call dword [edx + 0x74]
push 0x18
call fcn.005354b8
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4d3aa7
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov byte [eax + 8], bl
mov dword [0x8ccc3c], eax
jmp 0x4d3aad
mov dword [0x8ccc3c], ebx
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3aca
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3acc
xor esi, esi
mov eax, dword [0x8ebfe8]
cmp eax, esi
je 0x4d3afd
cmp eax, ebx
je 0x4d3af0
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3af0
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [0x8ebfe8], esi
je 0x4d3afd
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3b1a
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3b1c
xor esi, esi
mov eax, dword [0x8ebfec]
cmp eax, esi
je 0x4d3b4d
cmp eax, ebx
je 0x4d3b40
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3b40
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [0x8ebfec], esi
je 0x4d3b4d
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3b6a
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3b6c
xor esi, esi
mov eax, dword [0x8ebff0]
cmp eax, esi
je 0x4d3b9d
cmp eax, ebx
je 0x4d3b90
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3b90
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [0x8ebff0], esi
je 0x4d3b9d
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3bba
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3bbc
xor esi, esi
mov eax, dword [0x8ebff4]
cmp eax, esi
je 0x4d3bed
cmp eax, ebx
je 0x4d3be0
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3be0
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [0x8ebff4], esi
je 0x4d3bed
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3c0a
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3c0c
xor esi, esi
mov eax, dword [0x8ebff8]
cmp eax, esi
je 0x4d3c3d
cmp eax, ebx
je 0x4d3c30
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3c30
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [0x8ebff8], esi
je 0x4d3c3d
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3c5a
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3c5c
xor esi, esi
mov eax, dword [0x8ebffc]
cmp eax, esi
je 0x4d3c8d
cmp eax, ebx
je 0x4d3c80
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3c80
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [0x8ebffc], esi
je 0x4d3c8d
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3caa
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3cac
xor esi, esi
mov eax, dword [0x8ec000]
cmp eax, esi
je 0x4d3cdd
cmp eax, ebx
je 0x4d3cd0
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3cd0
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [0x8ec000], esi
je 0x4d3cdd
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3cfa
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3cfc
xor esi, esi
mov eax, dword [0x8ec004]
cmp eax, esi
je 0x4d3d2d
cmp eax, ebx
je 0x4d3d20
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3d20
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [0x8ec004], esi
je 0x4d3d2d
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3d4a
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3d4c
xor esi, esi
mov eax, dword [0x8ec008]
cmp eax, esi
je 0x4d3d7d
cmp eax, ebx
je 0x4d3d70
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3d70
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [0x8ec008], esi
je 0x4d3d7d
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3d9a
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3d9c
xor esi, esi
mov eax, dword [0x8ec00c]
cmp eax, esi
je 0x4d3dcd
cmp eax, ebx
je 0x4d3dc0
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3dc0
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [0x8ec00c], esi
je 0x4d3dcd
inc dword [esi + 4]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3dea
push ebx
mov ecx, eax
call fcn.0053d300
mov esi, eax
jmp 0x4d3dec
xor esi, esi
mov eax, dword [0x8ec010]
cmp eax, esi
je 0x4d3e1d
cmp eax, ebx
je 0x4d3e10
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3e10
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [0x8ec010], esi
je 0x4d3e1d
inc dword [esi + 4]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ebfec]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ebff0]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ebff8]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ebffc]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ebff4]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ec000]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ec004]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
mov ecx, dword [0x8ebfe8]
mov edx, dword [0x8ec00c]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x70]
push 0xec
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d3ed8
push ebx
mov ecx, eax
call fcn.0053d300
jmp 0x4d3eda
xor eax, eax
mov ecx, dword [0x8ec008]
mov edx, dword [ecx]
push 1
push eax
call dword [edx + 0x70]
push 0x238
call fcn.005354b8
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4d3f0d
push 0x42340000
call fcn.00500ae0
mov dword [esi], 0x712ba0
jmp 0x4d3f0f
xor esi, esi
mov eax, dword [0x8ebfd8]
cmp eax, esi
je 0x4d3f46
cmp eax, ebx
je 0x4d3f33
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d3f33
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov eax, esi
mov dword [0x8ebfd8], eax
je 0x4d3f46
inc dword [esi + 4]
mov eax, dword [0x8ebfd8]
mov esi, dword [0x8ebfe8]
mov ecx, dword [eax + 0x154]
cmp ecx, esi
lea edi, [eax + 0x154]
je 0x4d3f79
cmp ecx, ebx
je 0x4d3f6b
dec dword [ecx + 4]
jne 0x4d3f6b
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [edi], esi
je 0x4d3f74
inc dword [esi + 4]
mov eax, dword [0x8ebfd8]
mov esi, dword [0x8ec08c]
mov ecx, dword [eax + 0x188]
cmp ecx, esi
lea edi, [eax + 0x188]
je 0x4d3fac
cmp ecx, ebx
je 0x4d3f9e
dec dword [ecx + 4]
jne 0x4d3f9e
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [edi], esi
je 0x4d3fa7
inc dword [esi + 4]
mov eax, dword [0x8ebfd8]
mov dword [esp + 0x1c], 0x461c4000
mov ecx, dword [esp + 0x1c]
add eax, 0x5c
mov dword [eax], ecx
mov dword [esp + 0x20], 0x461c4000
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], 0x453b8000
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov esi, dword [0x8ebfd8]
push 0x3f490fdb
lea ecx, [esp + 0x20]
call fcn.0053df70
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
lea edi, [esi + 0x38]
push eax
mov ecx, edi
call fcn.0053e0c0
mov esi, eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x8ebfd8]
push 0x3f490fdb
lea ecx, [esp + 0x20]
call fcn.0053dfb0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x44]
lea edi, [esi + 0x38]
push edx
mov ecx, edi
call fcn.0053e0c0
mov esi, eax
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x8ebfdc]
mov ecx, dword [0x8ebfd8]
cmp eax, ecx
je 0x4d407a
cmp eax, ebx
je 0x4d406d
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
cmp edx, ebx
mov dword [eax], esi
jne 0x4d4067
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x8ebfd8]
cmp ecx, ebx
mov dword [0x8ebfdc], ecx
je 0x4d407a
inc dword [ecx + 4]
push 0x34
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d4169
mov ecx, eax
call fcn.004d5730
mov ebp, eax
cmp ebp, ebx
je 0x4d409c
inc dword [ebp + 4]
xor ecx, ecx
mov cx, word [ebp + 0x20]
mov dword [esp + 0x1c], 0x3ebababb
mov eax, dword [esp + 0x1c]
lea edx, [ebp + 0x28]
mov dword [edx], eax
mov dword [esp + 0x20], 0x3f23a3a4
mov dword [esp + 0x24], 0x3f61e1e2
mov eax, dword [esp + 0x24]
and ecx, 0xfff9
or ecx, 1
mov word [ebp + 0x20], cx
mov ecx, dword [esp + 0x20]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [ebp + 0x24], 0x3f7d70a4
mov esi, dword [ebp + 4]
mov eax, dword [0x8ebfe8]
lea ecx, [esp + 0x74]
push ecx
inc esi
lea ecx, [eax + 0xa0]
mov dword [esp + 0x78], ebp
mov dword [ebp + 4], esi
call fcn.004aabc0
dec dword [ebp + 4]
jne 0x4d4113
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
call fcn.004d0df0
fild dword [0x8ccc20]
fild dword [0x8ccc18]
push 0x238
fdiv st(1)
fmul dword [0x70de8c]
fstp dword [esp + 0x14]
fild dword [0x8ccc1c]
fdiv st(1)
fmul dword [0x70de8c]
fstp dword [esp + 0x78]
fstp st(0)
call fcn.005354b8
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4d4170
push 0x42340000
call fcn.00500ae0
mov dword [esi], 0x712ba0
jmp 0x4d4172
xor ebp, ebp
jmp 0x4d409c
xor esi, esi
mov eax, dword [0x8ebfe0]
cmp eax, esi
je 0x4d41a9
cmp eax, ebx
je 0x4d4196
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
cmp edx, ebx
mov dword [eax], edi
jne 0x4d4196
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov eax, esi
mov dword [0x8ebfe0], eax
je 0x4d41a9
inc dword [esi + 4]
mov eax, dword [0x8ebfe0]
mov esi, dword [0x8ec008]
mov ecx, dword [eax + 0x154]
cmp ecx, esi
lea edi, [eax + 0x154]
je 0x4d41dc
cmp ecx, ebx
je 0x4d41ce
dec dword [ecx + 4]
jne 0x4d41ce
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebx
mov dword [edi], esi
je 0x4d41d7
inc dword [esi + 4]
mov eax, dword [0x8ebfe0]
mov esi, dword [0x8ec08c]
mov ecx, dword [eax + 0x188]
cmp ecx, esi
lea edi, [eax + 0x188]
je 0x4d420f
cmp ecx, ebx
je 0x4d4201
dec dword [ecx + 4]
jne 0x4d4201
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, ebx
mov dword [edi], esi
je 0x4d420a
inc dword [esi + 4]
mov eax, dword [0x8ebfe0]
push 0x7197ac
push 0x7197c4
push 0x7197b8
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.0053dee0
fild dword [0x728384]
fld dword [0x7155dc]
mov edx, dword [esp + 0x10]
push ebx
fmul st(1)
sub esp, 0xc
mov esi, eax
add edi, 0x38
fstp dword [esp + 8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
fmul dword [0x7156c0]
fstp dword [esp + 4]
fld dword [esp + 0x84]
fchs
fstp dword [esp]
fld dword [esp + 0x20]
fchs
mov ecx, dword [esp + 0x84]
mov esi, dword [0x8ebfe0]
push ecx
push edx
push ecx
lea ecx, [esp + 0x38]
fstp dword [esp]
call fcn.0054bfc0
mov edx, eax
mov ecx, esi
call fcn.004cdb50
mov eax, dword [0x728384]
mov ecx, dword [0x8ebfe0]
neg eax
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
add ecx, 0x5c
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push 1
mov dword [ecx + 8], edx
mov ecx, dword [0x8ebfe0]
push ebx
call fcn.00535550
push 0x24
call fcn.005354b8
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x4d4328
mov eax, dword [0x8ebfd8]
push eax
lea eax, [esp + 0x20]
mov ebx, ecx
mov dword [esp + 0x20], 0x3d4ccccd
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x3d4ccccd
mov dword [esp + 0x2c], 0x3f000000
call fcn.0050c950
mov dword [0x8cb7d0], eax
xor ebx, ebx
jmp 0x4d432e
mov dword [0x8cb7d0], ebx
push 8
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d434a
mov edi, eax
call fcn.00515710
mov dword [0x8cb7cc], eax
jmp 0x4d4350
mov dword [0x8cb7cc], ebx
cmp byte [0x8ccc2a], bl
je 0x4d435d
call fcn.004d0ca0
push 0x68
call fcn.005354b8
add esp, 4
cmp eax, ebx
je 0x4d4372
call fcn.005098a0
jmp 0x4d4374
xor eax, eax
push str.NewFontWithButtons_150.fnt
push eax
mov dword [0x8cbdd8], eax
call fcn.00509df0
mov ecx, dword [0x729b28]
mov edx, dword [ecx]
mov esi, dword [0x8cbdd8]
push ebx
push 2
call dword [edx + 4]
mov dword [esi + 0x64], eax
mov eax, dword [0x8cbdd8]
mov ecx, dword [0x8ebfe8]
push 1
push ebx
mov dword [0x8cbde0], eax
mov dword [0x8cbddc], eax
call fcn.00535550
mov ecx, dword [0x8ebfe8]
call fcn.00535bb0
mov ecx, dword [0x8ebfe8]
call fcn.00535990
push ebx
mov ebx, dword [0x8ebfd8]
call fcn.00500e30
push 0x10
call fcn.005354dd
push 8
mov dword [0x8cb7c8], eax
call fcn.005354b8
add esp, 8
test eax, eax
je 0x4d43fd
mov esi, eax
call fcn.004d56c0
jmp 0x4d43ff
xor eax, eax
mov ecx, dword [0x8cb7c8]
push 8
mov dword [ecx], eax
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4d441e
mov ebx, eax
call fcn.004d5650
jmp 0x4d4420
xor eax, eax
mov edx, dword [0x8cb7c8]
push 8
mov dword [edx + 4], eax
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4d4440
mov ebx, eax
call fcn.004d5600
jmp 0x4d4442
xor eax, eax
mov ecx, dword [0x8cb7c8]
push 8
mov dword [ecx + 8], eax
call fcn.005354b8
add esp, 4
test eax, eax
je 0x4d4462
mov esi, eax
call fcn.004d5490
jmp 0x4d4464
xor eax, eax
mov edx, dword [0x8cb7c8]
mov dword [edx + 0xc], eax
mov eax, str.Wake.ini
call fcn.004e2460
dec dword [ebp + 4]
jne 0x4d4485
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x54
ret