Function at 0x100496ef
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x100bb9ef
call fcn.100a0664
sub esp, 0x84
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x10], esp
push ecx
test ebx, ebx
setne al
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x100c503c
mov byte [0x10116da2], al
call fcn.100057f4
test ebx, ebx
je 0x10049744
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x100c51a4
mov byte [ebp - 4], 1
call fcn.100057f4
mov byte [ebp - 4], 2
jmp 0x1004975c
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x100c5cf8
mov byte [ebp - 4], 3
call fcn.100057f4
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.TBShow
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.1004443f
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1410]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 0
push 0
push 0x40c
push eax
mov byte [esi + 0x1378], 0
mov dword [ebp - 0x18], eax
call edi
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jge 0x10049990
push 0x48
lea eax, [ebp - 0x88]
push 0
push eax
mov dword [ebp - 0x90], 0x50
mov dword [ebp - 0x8c], 0x51
call fcn.1009f9b0
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x14]
push 0x41c
push dword [ebp - 0x18]
call edi
push 1
push 0
push dword [ebp - 0x70]
mov ebx, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test ebx, ebx
je 0x10049985
mov eax, dword [ebp - 0x70]
cmp eax, dword [esi + 0x6c]
jne 0x10049985
cmp byte [esi + 0x1435], 0
jne 0x10049971
or dword [ebp - 0x8c], 1
and dword [ebp - 0x88], 0xfffffffe
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov ebx, 0x100c503c
push ebx
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x100c51a4
mov byte [ebp - 4], 5
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.firstTime
mov byte [ebp - 4], 6
call fcn.100057f4
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0
call fcn.10044254
add esp, 0x10
push 0x100c51a4
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1000272b
mov ecx, dword [ebp - 0x20]
test eax, eax
setne byte [ebp + 0xb]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001ccd
cmp byte [ebp + 0xb], 0
je 0x10049971
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
call fcn.100057f4
push dword [esi + 0x12f4]
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.TBWidth
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.10044598
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
mov dword [ebp - 0x64], eax
call fcn.100057f4
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.TBPos
mov byte [ebp - 4], 9
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.10044598
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push ebx
mov dword [ebp + 8], eax
call fcn.100057f4
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.TBBreak
mov byte [ebp - 4], 0xa
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.10044598
add esp, 0xc
test eax, eax
je 0x10049940
or dword [ebp - 0x88], 1
cmp dword [ebp + 8], 1
jne 0x1004994d
mov dword [ebp + 8], 2
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x14]
push 0x40b
push dword [ebp - 0x18]
call edi
push dword [ebp + 8]
push dword [ebp - 0x14]
push 0x427
push dword [ebp - 0x18]
call edi
cmp dword [esi + 0x133c], 0
je 0x10049985
push dword [ebp - 0x18]
lea ecx, [esi + 0x68]
call fcn.10073f80
inc dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
jmp 0x100497a4
mov ecx, dword [esi + 0x6c]
test ebx, ebx
setne al
mov byte [esi + 0x1426], al
test ecx, ecx
je 0x100499ab
push eax
push ecx
call fcn.1002b8a3
pop ecx
pop ecx
mov eax, dword [esi + 0x6c]
neg ebx
sbb ebx, ebx
and ebx, 5
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x100c503c
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
mov edi, 0x100c51a4
push edi
mov byte [ebp - 4], 0xb
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.firstTime
mov byte [ebp - 4], 0xc
call fcn.100057f4
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0
call fcn.10044254
add esp, 0x10
push edi
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.1000272b
mov ecx, dword [ebp + 0xc]
test eax, eax
sete bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001ccd
test bl, bl
je 0x10049af0
mov eax, dword [esi + 0x133c]
test eax, eax
je 0x10049ad6
mov ecx, dword [eax + 0x130]
test ecx, ecx
je 0x10049ad6
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
je 0x10049ad6
mov ecx, dword [ecx + 0x34]
cmp dword [ecx - 0xc], 0
je 0x10049ad6
mov eax, dword [eax + 0x130]
mov ecx, dword [eax + 0x4c]
add ecx, 0x34
push 0
call fcn.10003413
push eax
call fcn.100a38c9
pop ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.100057f4
mov eax, dword [esi + 0x133c]
mov eax, dword [eax + 0x130]
mov eax, dword [eax + 0x4c]
mov ebx, dword [eax + 0x3c]
mov edi, str.menuline
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.1000272b
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
test eax, eax
jne 0x10049ab3
push edi
jmp 0x10049ab8
push str.newline
call fcn.100057f4
lea ecx, [esi + 0x68]
call fcn.1005dbef
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001ccd
jmp 0x10049af0
push 0x64
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.newline
call fcn.100057f4
lea ecx, [esi + 0x68]
call fcn.1005dbef
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x100c503c
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x100c5cf8
mov byte [ebp - 4], 0xf
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.firstTime
mov byte [ebp - 4], 0x10
call fcn.100057f4
mov byte [ebp - 4], 0
call fcn.1004443f
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 8