Function at 0x100a9910
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
mov ecx, dword [esi + 0x94]
test ecx, ecx
push edi
je 0x100a992e
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [esi + 0x20]
push edx
call eax
lea edi, [esi + 4]
push edi
xor eax, eax
call fcn.10031050
cmp byte [esi + 0x90], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x100a998c
mov ecx, dword [edi]
push 0x8bf
push ecx
call ebx
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x10238db4
push eax
call ebp
mov edx, dword [edi]
push 0x10238cf4
push edx
call ebp
mov eax, dword [edi]
push 0x8c3
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi]
push 1
push ecx
call ebx
push 0x10238dcc
push eax
call ebp
cmp dword [esi + 0xa0], 0
jne 0x100a99b5
mov edx, dword [esi + 0x9c]
push 0
push 0x10
push 0x10
push 1
push 0xb0
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0xa0], eax
mov eax, dword [edi]
push 0x8c0
push eax
call ebx
cmp dword [esi + 0xa0], 0
mov ebp, eax
je 0x100a99ff
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 3
cmp eax, ecx
je 0x100a99e6
push ecx
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 0xa0]
push 0
push ecx
push 0x170
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
jmp 0x100a9a01
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
push 0x8b1
push edx
call ebx
mov ebx, eax
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x100a9a22
xor ebp, ebp
jmp 0x100a9a3b
mov ecx, dword [esi + 0x88]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
xor edi, edi
test ebp, ebp
jbe 0x100a9abc
mov dword [esp + 0x10], edi
mov eax, dword [esi + 0x84]
test eax, eax
je 0x100a9a6c
mov ecx, dword [esi + 0x88]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100a9a72
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x84]
add eax, dword [esp + 0x10]
cmp dword [eax + 0x18], 8
jb 0x100a9a87
mov eax, dword [eax + 4]
jmp 0x100a9a8a
add eax, 4
push 0
push 0
push 0x146
push ebx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
push ecx
push eax
push 0x14a
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
add dword [esp + 0x10], 0x54
add edi, 1
cmp edi, ebp
jb 0x100a9a45
push 0
push 0
push 0x14e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 4]
push 0x885
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov eax, dword [esi + 0x84]
test eax, eax
je 0x100a9b02
mov ecx, dword [esi + 0x88]
sub ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100a9b08
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 0x84]
add esi, 0x1c
cmp dword [esi + 0x18], 8
jb 0x100a9b1c
mov esi, dword [esi + 4]
jmp 0x100a9b1f
add esi, 4
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret