Function at 0x10039f6b
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x38
mov eax, 0x100e4d00
call fcn.100c908c
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x44]
mov eax, dword [esi + 0x70]
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea edx, [ebp + 0x1c]
push edx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x24], ebx
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x104]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
lea edx, [ebp + 0x24]
push edx
push eax
call dword [ecx + 0xc8]
cmp word [ebp + 0x1c], bx
jne 0x10039fc7
cmp word [ebp + 0x24], bx
jne 0x10039fc7
cmp dword [ebp + 0x48], ebx
setne al
mov byte [0x1015ada9], al
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1010d92c
call fcn.10009e15
cmp dword [ebp + 0x48], ebx
je 0x10039ff6
push ecx
mov ecx, esp
mov dword [ebp + 0x2c], esp
push 0x100f45a0
mov byte [ebp - 4], 1
call fcn.10009e15
mov byte [ebp - 4], 2
jmp 0x1003a00e
push ecx
mov ecx, esp
mov dword [ebp + 0x2c], esp
push 0x1010d9f4
mov byte [ebp - 4], 3
call fcn.10009e15
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp + 0x28], esp
push str.TBShow
call fcn.10009e15
mov byte [ebp - 4], 0
call fcn.1006210c
mov eax, dword [esi + 0x68]
add esp, 0xc
cmp eax, ebx
je 0x1003a22f
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
mov byte [eax + 0x1314], 0
mov eax, dword [esi + 0x6c]
push 0x40c
push eax
mov dword [ebp + 0x30], eax
call edi
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x38], ebx
mov eax, dword [ebp + 0x28]
cmp dword [ebp + 0x38], eax
jge 0x1003a22f
push 0x48
lea eax, [ebp - 0x58]
push 0
push eax
mov dword [ebp - 0x60], 0x50
mov dword [ebp - 0x5c], 0x51
call fcn.100c7c60
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x38]
push 0x41c
push dword [ebp + 0x30]
call edi
push 1
push 0
push dword [ebp - 0x40]
mov ebx, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test ebx, ebx
je 0x1003a227
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 4]
jne 0x1003a227
cmp byte [esi + 0x88], 0
jne 0x1003a213
or dword [ebp - 0x5c], 1
and dword [ebp - 0x58], 0xfffffffe
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
mov ebx, 0x1010d92c
push ebx
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0x20], esp
push 0x100f45a0
mov byte [ebp - 4], 5
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push str.firstTime
mov byte [ebp - 4], 6
call fcn.10009e15
lea eax, [ebp + 0x2c]
push eax
mov byte [ebp - 4], 0
call fcn.10061f03
add esp, 0x10
push 0x100f45a0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10004959
mov ecx, dword [ebp + 0x2c]
test eax, eax
setne byte [ebp + 0x47]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10003f60
cmp byte [ebp + 0x47], 0
je 0x1003a213
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push ebx
call fcn.10009e15
mov eax, dword [esi + 0x68]
push dword [eax + 0x1284]
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push str.TBWidth
call fcn.10009e15
mov byte [ebp - 4], 0
call fcn.10062265
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push ebx
mov dword [ebp - 0x34], eax
call fcn.10009e15
push 0x64
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push str.TBPos
mov byte [ebp - 4], 9
call fcn.10009e15
mov byte [ebp - 4], 0
call fcn.10062265
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push ebx
mov dword [ebp + 0x44], eax
call fcn.10009e15
push 1
push ecx
mov ecx, esp
mov dword [ebp + 0x20], esp
push str.TBBreak
mov byte [ebp - 4], 0xa
call fcn.10009e15
mov byte [ebp - 4], 0
call fcn.10062265
add esp, 0xc
test eax, eax
je 0x1003a1e5
or dword [ebp - 0x58], 1
cmp dword [ebp + 0x44], 1
jne 0x1003a1f2
mov dword [ebp + 0x44], 2
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0x38]
push 0x40b
push dword [ebp + 0x30]
call edi
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push 0x427
push dword [ebp + 0x30]
call edi
mov ecx, dword [esi + 0x68]
cmp dword [ecx + 0x12bc], 0
je 0x1003a227
push dword [ebp + 0x30]
call fcn.10088a5a
inc dword [ebp + 0x38]
jmp 0x1003a058
cmp dword [ebp + 0x48], 0
mov eax, dword [esi + 0x68]
setne bl
mov byte [esi + 0x79], bl
test eax, eax
je 0x1003a3bb
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003a25f
mov eax, dword [esi + 0x68]
push ebx
push dword [eax + 4]
call fcn.100701cf
pop ecx
pop ecx
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp + 0x48]
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1010d92c
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
mov edi, 0x100f45a0
push edi
mov byte [ebp - 4], 0xb
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0x20], esp
push str.firstTime
mov byte [ebp - 4], 0xc
call fcn.10009e15
lea eax, [ebp + 0x48]
push eax
mov byte [ebp - 4], 0
call fcn.10061f03
add esp, 0x10
push edi
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.10004959
mov ecx, dword [ebp + 0x48]
test eax, eax
sete bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10003f60
test bl, bl
je 0x1003a3bb
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 0x12bc]
test ecx, ecx
je 0x1003a3a1
mov ecx, dword [ecx + 0x168]
test ecx, ecx
je 0x1003a3a1
mov ecx, dword [ecx + 0x68]
test ecx, ecx
je 0x1003a3a1
mov ecx, dword [ecx + 0x30]
cmp dword [ecx - 0xc], 0
je 0x1003a3a1
mov eax, dword [eax + 0x12bc]
mov eax, dword [eax + 0x168]
mov ecx, dword [eax + 0x68]
add ecx, 0x30
push 0
call fcn.100054ad
push eax
call fcn.100cb5e6
pop ecx
push eax
lea ecx, [ebp + 0x48]
call fcn.10009e15
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x12bc]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x38]
mov edi, str.menuline
push edi
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0xe
call fcn.10004959
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
test eax, eax
jne 0x1003a37e
push edi
jmp 0x1003a383
push str.newline
call fcn.10009e15
mov ecx, dword [esi + 0x68]
call fcn.1007221b
mov ecx, dword [ebp + 0x48]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10003f60
jmp 0x1003a3bb
push 0x64
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push str.newline
call fcn.10009e15
mov ecx, dword [esi + 0x68]
call fcn.1007221b
push ecx
mov ecx, esp
mov dword [ebp + 0x48], esp
push 0x1010d92c
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1010d9f4
mov byte [ebp - 4], 0xf
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push str.firstTime
mov byte [ebp - 4], 0x10
call fcn.10009e15
mov byte [ebp - 4], 0
call fcn.1006210c
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add ebp, 0x3c
leave
ret 8