Function at 0x10051ed0
Capabilities:
Create thread
Hide graphical window
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd622
mov eax, dword fs:[0]
push eax
sub esp, 0x72c
mov eax, dword [0x100fbe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x460], ecx
mov dword [eax + 4], eax
mov byte [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xffffffff
mov dword [ebp - 4], 0
lea esi, [eax + 0x1c]
mov dword [eax], vtable.RRS::GUI::CGUI.0
xor al, al
mov dword [ebp - 0x458], esi
mov byte [esi], al
mov dword [esi + 4], 0
push 0x44
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.100925a9
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
lea ecx, [esi + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
push dword [esi + 8]
mov dword [esi + 0x1c], 7
push 0x10
mov dword [esi + 0x20], 8
mov dword [esi + 4], 0x3f800000
call fcn.10054950
mov eax, dword [ebp - 0x45c]
mov byte [eax + 0x40], 1
mov dword [eax + 0x44], 0x1e
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
push edi
lea esi, [eax + 0x5c]
mov byte [ebp - 4], 4
mov edi, eax
mov dword [ebp - 0x458], esi
push edi
mov ecx, esi
call fcn.1005ca50
mov byte [ebp - 4], 5
xorps xmm1, xmm1
movss xmm0, dword [esi + 0xf0]
ucomiss xmm0, xmm1
mov dword [esi], vtable.RRS::GUI::CHint.0
mov dword [esi + 0x390], 0
mov dword [esi + 0x394], 0
mov dword [esi + 0x398], 0
mov byte [esi + 0x3a0], 0
lahf
test ah, 0x44
jnp 0x10052091
movss xmm0, dword [esi + 0xec]
comiss xmm1, xmm0
mov dword [esi + 0xf0], 0
movss dword [esi + 0xe8], xmm0
jbe 0x10052072
cmp dword [esi + 0xf4], 0
jmp 0x1005207e
comiss xmm0, xmm1
jbe 0x1005208a
cmp dword [esi + 0xf8], 0
jne 0x1005208a
mov dword [esi + 0xec], 0
mov eax, dword [esi + 4]
mov byte [eax + 0x40], 1
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x468], 0
push str.Hint
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x464], 0
movups xmmword [ebp - 0x478], xmm0
call fcn.1000db40
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x28]
call fcn.1000d830
push eax
lea ecx, [esi + 0x10]
call fcn.100159c0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x464]
cmp ecx, 8
jb 0x10052121
mov edx, dword [ebp - 0x478]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10052117
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052966
push ecx
push edx
call fcn.10092592
add esp, 8
mov byte [ebp - 4], 8
lea esi, [edi + 0x400]
lea ecx, [ebp - 0x738]
mov dword [ebp - 0x458], esi
call fcn.1002c420
push eax
push edi
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.1005fdd0
lea ecx, [ebp - 0x738]
call fcn.1002c030
movss xmm1, dword [0x100e883c]
mov dword [esi], vtable.RRS::GUI::CEdit.0
mov dword [esi + 0x314], 0
mov dword [esi + 0x318], 0
movss xmm0, dword [esi + 0x150]
comiss xmm1, xmm0
mov dword [esi + 0x154], 0x42480000
movss dword [esi + 0x14c], xmm0
jbe 0x1005219e
cmp dword [esi + 0x158], 0
jmp 0x100521aa
comiss xmm0, xmm1
jbe 0x100521b6
cmp dword [esi + 0x15c], 0
jne 0x100521b6
mov dword [esi + 0x150], 0x42480000
movss xmm0, dword [esi + 0x164]
movss xmm1, dword [0x100e8808]
comiss xmm1, xmm0
mov dword [esi + 0x168], 0x41700000
movss dword [esi + 0x160], xmm0
jbe 0x100521e6
cmp dword [esi + 0x16c], 0
jmp 0x100521f2
comiss xmm0, xmm1
jbe 0x100521fe
cmp dword [esi + 0x170], 0
jne 0x100521fe
mov dword [esi + 0x164], 0x41700000
push dword [ebp - 0x460]
lea esi, [edi + 0x71c]
mov byte [ebp - 4], 0xa
push edi
mov ecx, esi
mov dword [ebp - 0x458], esi
call fcn.1005fdd0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x478]
push 5
xorps xmm0, xmm0
mov dword [esi], vtable.RRS::GUI::CLight.0
push str.Light
movups xmmword [ebp - 0x478], xmm0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
call fcn.1000db40
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x28]
call fcn.1000d830
push eax
lea ecx, [esi + 0x10]
call fcn.100159c0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x464]
cmp ecx, 8
jb 0x100522b6
mov edx, dword [ebp - 0x478]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100522ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052966
push ecx
push edx
call fcn.10092592
add esp, 8
mov byte [ebp - 4], 0xd
push 4
mov dword [edi + 0xa30], 0
mov dword [edi + 0xa34], 0
mov dword [edi + 0xa38], 0
mov dword [edi + 0xa3c], 0
mov dword [edi + 0xa40], 0
mov dword [edi + 0xa44], 0
mov dword [edi + 0xa48], 0
call fcn.100925a9
add esp, 4
mov dword [eax], vtable.RRS::GFX::GPU.0
mov dword [edi + 0xa4c], eax
mov dword [edi + 0xa50], 0
mov dword [edi + 0xa54], 2
mov dword [edi + 0xa58], 0x2f2
mov dword [edi + 0xa5c], 0x16f
mov byte [edi + 0xa60], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xa64], eax
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x24
mov dword [edi + 0xa68], eax
mov dword [edi + 0xa6c], 0
call esi
push 0x25
mov dword [edi + 0xa70], eax
call esi
lea esi, [edi + 0xa84]
mov dword [edi + 0xa74], eax
mov word [edi + 0xa80], 0
mov byte [edi + 0xa82], 0
mov dword [esi], 0
mov dword [esi + 4], edi
mov word [esi + 8], 0x101
mov byte [ebp - 4], 0xe
mov dword [edi + 0xdb0], 0
mov dword [edi + 0xdb4], 0
mov dword [edi + 0xdb8], 0
mov dword [edi + 0xdbc], 0
mov dword [edi + 0xdc0], 0
mov dword [edi + 0xdc4], 0x3f800000
mov dword [edi + 0xdc8], 0x3f800000
mov dword [edi + 0xdcc], 1
mov dword [edi + 0xdd0], 1
mov dword [edi + 0xdd4], 1
mov dword [edi + 0xdd8], 0
mov dword [edi + 0xde8], 0xfa
mov dword [edi + 0xdec], 0xfa
mov dword [edi + 0xddc], 0x3f800000
mov dword [edi + 0xde0], 0x3f800000
mov dword [edi + 0xde4], 0x3f800000
mov byte [edi + 0xdf0], 0
call fcn.1006e340
cmp dword [0x10103728], 0
jne 0x1005248c
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0x10103728
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0x428
lea eax, [ebp - 0x450]
push 0
push eax
call fcn.10094470
add esp, 0xc
mov dword [ebp - 0x454], 0x42c
call dword [sym.imp.USER32.dll_GetCursor]
lea ecx, [ebp - 0x454]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfoExW]
mov eax, dword [ebp - 0x44c]
lea ecx, [ebp - 0x478]
push 0x1b
mov dword [edi + 0xa44], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x448]
push str.HKEY_CURRENT_USER_Software_
mov dword [edi + 0xa48], eax
movups xmmword [ebp - 0x478], xmm0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
call fcn.1000db40
mov byte [ebp - 4], 0xf
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x468]
sub eax, ecx
cmp eax, 0xe
jb 0x1005296b
cmp dword [ebp - 0x464], 8
lea eax, [ebp - 0x478]
push 0xe
cmovae eax, dword [ebp - 0x478]
push str.Red_Rock_Sound
push ecx
push eax
push ecx
push dword [ebp - 0x47c]
lea ecx, [ebp - 0x4c4]
call fcn.1000f590
push 1
push 0x100e1b3c
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0x10
call fcn.1000c560
mov dword [ebp - 0x484], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x494], xmm0
mov dword [ebp - 0x480], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x494], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x484], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 9
push 0x100e2c2c
lea ecx, [ebp - 0x494]
mov byte [ebp - 4], 0x11
call fcn.1000c560
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 4
push str._GFX
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.1000c560
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4dc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4cc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x4dc]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x4ac]
call fcn.1000d8c0
push 0
xor edx, edx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4ac]
call fcn.1006da80
mov byte [ebp - 4], 0x13
add esp, 4
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x460], eax
cmp ecx, 8
jb 0x100526b1
mov edx, dword [ebp - 0x4ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100526a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052970
push ecx
push edx
call fcn.10092592
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 7
mov word [ebp - 0x4ac], ax
cmp ecx, 8
jb 0x10052712
mov edx, dword [ebp - 0x4dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10052708
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052970
push ecx
push edx
call fcn.10092592
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10052750
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10052746
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052970
push ecx
push edx
call fcn.10092592
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x100527a8
mov edx, dword [ebp - 0x494]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005279e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052970
push ecx
push edx
call fcn.10092592
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x4b0]
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 7
mov word [ebp - 0x494], ax
cmp ecx, 8
jb 0x10052809
mov edx, dword [ebp - 0x4c4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100527ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052970
push ecx
push edx
call fcn.10092592
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 7
mov word [ebp - 0x4c4], ax
cmp ecx, 8
jb 0x1005286a
mov edx, dword [ebp - 0x478]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10052860
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052970
push ecx
push edx
call fcn.10092592
add esp, 8
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x10052885
mov eax, dword [ecx]
push ecx
mov dword [edi + 0xa54], eax
call fcn.10092762
add esp, 4
cmp dword [edi + 0x4c], 0
je 0x10052907
mov ecx, edi
call fcn.100536c0
mov ecx, edi
call fcn.10059ce0
cmp byte [edi + 0xa60], 1
je 0x10052907
cmp dword [edi + 0x48], 0
mov byte [edi + 0xa60], 1
je 0x100528cc
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 4]
push 5
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x7d0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0x3f800000
movups xmm0, xmmword [ebp - 0x24]
mov dword [edi + 0xdb4], 0
movups xmmword [edi + 0xddc], xmm0
mov dword [edi + 0xdec], 0x7d0
cmp byte [esi + 9], 0
je 0x10052934
cmp dword [esi], 0
mov byte [esi + 9], 0
jne 0x1005292c
push 0
push 4
push esi
push 0x1007a250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
add edi, 0xa90
mov ecx, 0xc8
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10092561
mov esp, ebp
pop ebp
ret 0x18
call fcn.10097635
call fcn.1000d980
call fcn.10097635
int3