Function at 0x10b85700
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
test edi, edi
jl 0x10b85956
cmp edi, dword [esi + 0x2c]
jge 0x10b85956
mov eax, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push eax
call ebx
mov ebp, eax
mov eax, dword [esi + 0x30]
cmp edi, eax
mov dword [esp + 0x10], ebp
je 0x10b85956
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10b85764
test eax, eax
jl 0x10b85764
push 0
push 0xffffff37
mov ecx, esi
call fcn.10b85410
cmp eax, 1
jne 0x10b85764
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x30], edi
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + edi*4]
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x10b857bc
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebp
jne 0x10b85794
mov edi, 1
mov eax, dword [esi + 0x30]
mov edx, dword [esi]
lea ecx, [esi + 0x34]
push ecx
mov ecx, dword [esi + 0x4c]
push edx
mov ecx, dword [ecx + eax*4]
call fcn.10b83eb0
test edi, edi
mov dword [esp + 0x18], 1
je 0x10b857bc
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
mov al, byte [esi + 8]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test al, 0x20
je 0x10b85847
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi]
mov edx, dword [ecx + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
dec ecx
push 5
cmp eax, ecx
jne 0x10b85805
mov edx, dword [esi]
push 0x3ee
push edx
call ebx
push eax
call ebp
mov eax, dword [esi]
push 0
push 0x3ed
push eax
jmp 0x10b8581c
mov ecx, dword [esi]
push 0x3ed
push ecx
call ebx
push eax
call ebp
mov edx, dword [esi]
push 0
push 0x3ee
push edx
call ebx
push eax
call ebp
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
dec ecx
mov edx, eax
sub edx, ecx
neg edx
sbb edx, edx
xor ecx, ecx
and edx, 0xfffffffe
add edx, 4
test eax, eax
setne cl
or edx, ecx
mov ecx, esi
push edx
call fcn.10b867e0
push 0
push 0xffffff38
mov ecx, esi
call fcn.10b85410
mov eax, dword [esi + 8]
and eax, 0x200
je 0x10b85877
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx + edx*4]
test byte [edx + 4], 0x20
je 0x10b85877
mov eax, dword [esi]
push 1
push 9
push eax
jmp 0x10b85882
test eax, eax
je 0x10b8588b
mov ecx, dword [esi]
push 0
push 9
push ecx
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x4c]
mov ebx, dword [esp + 0x10]
push 0
mov ecx, dword [edx + eax*4]
push eax
push 0x130c
push ebx
mov edi, dword [ecx + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
push edi
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x10b858c5
mov edx, dword [esi + 0x4c]
push 0
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + 0x28]
push ecx
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetFocus]
call ebp
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_IsChild]
je 0x10b858e6
push eax
push edi
call ebx
test eax, eax
jne 0x10b858e6
push edi
call dword [sym.imp.USER32.dll_SetFocus]
call ebp
mov ebp, eax
push ebp
push edi
call ebx
test eax, eax
je 0x10b85956
push ebp
push edi
mov ecx, esi
call fcn.10b841a0
push 0
push eax
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [esi + 0x60], 1
call fcn.10b84120
mov ebx, eax
test bl, 0x30
je 0x10b85922
mov edx, dword [esi + 0x50]
mov eax, dword [esi]
push 1
push edx
push edi
push eax
jmp 0x10b8592c
mov ecx, dword [esi + 0x54]
mov edx, dword [esi]
push 0
push ecx
push edi
push edx
mov ecx, esi
call fcn.10b84140
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10b85956
test bl, 8
je 0x10b85956
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push eax
push 0
push 0xb1
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8