Function at 0x100460a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x100c0896
call fcn.100a35ac
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 0x100cb0a0
mov byte [0x10121da2], al
call fcn.10005f07
test ebx, ebx
je 0x100460f5
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x100cb330
mov byte [ebp - 4], 1
call fcn.10005f07
mov byte [ebp - 4], 2
jmp 0x1004610d
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x100cbdcc
mov byte [ebp - 4], 3
call fcn.10005f07
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.TBShow
call fcn.10005f07
mov byte [ebp - 4], 0
call fcn.1003ff80
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1438]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 0
push 0
push 0x40c
push eax
mov byte [esi + 0x1390], 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 0x10046341
push 0x48
lea eax, [ebp - 0x88]
push 0
push eax
mov dword [ebp - 0x90], 0x50
mov dword [ebp - 0x8c], 0x51
call fcn.100a2490
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 0x10046336
mov eax, dword [ebp - 0x70]
cmp eax, dword [esi + 0x7c]
jne 0x10046336
cmp byte [esi + 0x1458], 0
jne 0x10046322
or dword [ebp - 0x8c], 1
and dword [ebp - 0x88], 0xfffffffe
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov ebx, 0x100cb0a0
push ebx
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x100cb330
mov byte [ebp - 4], 5
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.firstTime
mov byte [ebp - 4], 6
call fcn.10005f07
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0
call fcn.1003fd77
add esp, 0x10
push 0x100cb330
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10002834
mov ecx, dword [ebp - 0x20]
test eax, eax
setne byte [ebp + 0xb]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
cmp byte [ebp + 0xb], 0
je 0x10046322
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
call fcn.10005f07
push dword [esi + 0x130c]
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.TBWidth
call fcn.10005f07
mov byte [ebp - 4], 0
call fcn.100400d9
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
mov dword [ebp - 0x64], eax
call fcn.10005f07
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.TBPos
mov byte [ebp - 4], 9
call fcn.10005f07
mov byte [ebp - 4], 0
call fcn.100400d9
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push ebx
mov dword [ebp + 8], eax
call fcn.10005f07
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.TBBreak
mov byte [ebp - 4], 0xa
call fcn.10005f07
mov byte [ebp - 4], 0
call fcn.100400d9
add esp, 0xc
test eax, eax
je 0x100462f1
or dword [ebp - 0x88], 1
cmp dword [ebp + 8], 1
jne 0x100462fe
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 + 0x1354], 0
je 0x10046336
push dword [ebp - 0x18]
lea ecx, [esi + 0x78]
call fcn.10071155
inc dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
jmp 0x10046155
mov ecx, dword [esi + 0x7c]
test ebx, ebx
setne al
mov byte [esi + 0x144a], al
test ecx, ecx
je 0x1004635c
push eax
push ecx
call fcn.100267e8
pop ecx
pop ecx
mov eax, dword [esi + 0x7c]
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 0x100cb0a0
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
mov edi, 0x100cb330
push edi
mov byte [ebp - 4], 0xb
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.firstTime
mov byte [ebp - 4], 0xc
call fcn.10005f07
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0
call fcn.1003fd77
add esp, 0x10
push edi
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.10002834
mov ecx, dword [ebp + 0xc]
test eax, eax
sete bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
test bl, bl
je 0x100464a1
mov eax, dword [esi + 0x1354]
test eax, eax
je 0x10046487
mov ecx, dword [eax + 0x14c]
test ecx, ecx
je 0x10046487
mov ecx, dword [ecx + 0x68]
test ecx, ecx
je 0x10046487
mov ecx, dword [ecx + 0x30]
cmp dword [ecx - 0xc], 0
je 0x10046487
mov eax, dword [eax + 0x14c]
mov ecx, dword [eax + 0x68]
add ecx, 0x30
push 0
call fcn.1000357f
push eax
call fcn.100a62d2
pop ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.10005f07
mov eax, dword [esi + 0x1354]
mov eax, dword [eax + 0x14c]
mov eax, dword [eax + 0x68]
mov ebx, dword [eax + 0x38]
mov edi, str.menuline
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call fcn.10002834
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
test eax, eax
jne 0x10046464
push edi
jmp 0x10046469
push str.newline
call fcn.10005f07
lea ecx, [esi + 0x78]
call fcn.1005ad9a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001d29
jmp 0x100464a1
push 0x64
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.newline
call fcn.10005f07
lea ecx, [esi + 0x78]
call fcn.1005ad9a
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x100cb0a0
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x100cbdcc
mov byte [ebp - 4], 0xf
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.firstTime
mov byte [ebp - 4], 0x10
call fcn.10005f07
mov byte [ebp - 4], 0
call fcn.1003ff80
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