Function at 0x1002b18
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [edi], 1
jne 0x1002b38
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01002ab1
jmp 0x1002b67
mov eax, dword [edi + 4]
test eax, eax
je 0x1002b47
mov ecx, dword [edi + 0x828]
jmp 0x1002b49
xor ecx, ecx
test eax, eax
je 0x1002b55
mov eax, dword [edi + 0x824]
jmp 0x1002b57
xor eax, eax
push dword [ebp + 0x14]
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01002acf
mov dword [ebp + 0x14], eax
xor ebx, ebx
push 0x1f4
mov esi, 0x10069e0
xor eax, eax
push esi
cmp dword [ebp + 0x14], ebx
je 0x1002ca1
cmp dword [edi], 1
setne al
add eax, 0x7d2
push eax
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x1002bca
push esi
push 0x137
push 0
push 0x485
push dword [ebp + 8]
call ebx
push eax
call edi
push eax
push 0x47e
push dword [ebp + 8]
call edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
neg eax
push 0x1f4
sbb eax, eax
push esi
add eax, 0x7d3
push eax
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
push 0x137
push 0
push 0x485
push dword [ebp + 8]
call ebx
push eax
call edi
push eax
push 0x47e
push dword [ebp + 8]
call ebx
push eax
call edi
push 0xbb8
push dword [ebp + 0x14]
push 0x3ff
push dword [ebp + 8]
call fcn.010019d0
cmp dword [ebp + 0x14], 0x56
jne 0x1002c43
push 0x11
push 0
push 0x470
push dword [ebp + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1002d72
push 4
push 0
push 0x470
push dword [ebp + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x14
push 4
push 0x48a
push dword [ebp + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1f4
push esi
push 0xdb
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1002d72
push esi
push 0
push 0x479
push dword [ebp + 8]
call ebx
push eax
call edi
jmp 0x1002d72
cmp dword [edi], ebx
setne al
add eax, 0xd8
push eax
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
push 0x137
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 0x485
push dword [ebp + 8]
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
push eax
push 0x47e
push dword [ebp + 8]
call ebx
push eax
call edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
dec eax
neg eax
push 0x1f4
sbb eax, eax
push esi
add eax, 0xd9
push eax
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1002d2c
push esi
push 0x137
push 0
push 0x485
push dword [ebp + 8]
call ebx
push eax
call edi
push eax
push 0x47e
push dword [ebp + 8]
call edi
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ecx], 1
setne al
add eax, 0xde
push eax
push 0x408
push dword [ebp + 8]
call fcn.010019ad
push 4
push 0
push 0x470
push dword [ebp + 8]
call ebx
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
call esi
push 0x14
push 4
push 0x48a
push dword [ebp + 8]
call ebx
push eax
call esi
push 0x3fe
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x32
push 0
mov esi, eax
push 0x40a
push esi
call edi
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10