Function at 0x1000a8d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x150
mov eax, dword [0x1007d664]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
push 0x3ee
push ebp
mov dword [esp + 0x24], ebp
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x10085038]
cmp eax, 2
mov dword [0x1007f3f8], ebp
jne 0x1000a941
mov ecx, 6
mov esi, 0x10043078
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xe4
lea eax, [esp + 0x7b]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.1002efa0
add esp, 0xc
jmp 0x1000aa6e
test eax, eax
jne 0x1000a9a8
push 0xe3
push eax
lea edx, [esp + 0x80]
mov ecx, 7
mov esi, 0x1004305c
lea edi, [esp + 0x64]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.1002efa0
mov eax, dword [0x1007f3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a972
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000a984
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x5c]
rep movsb byte es:[edi], byte [esi]
push eax
jmp 0x1000aa73
cmp eax, 1
jne 0x1000aa11
mov ecx, 7
mov esi, 0x10043040
lea edi, [esp + 0x5c]
push 0xe3
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.1002efa0
mov eax, dword [0x1007f3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a9d8
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000a9f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [esp + 0x5c]
rep movsb byte es:[edi], byte [esi]
push edx
jmp 0x1000aa73
cmp eax, 3
jne 0x1000aa7a
mov ecx, 7
mov esi, 0x10043020
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
push 0xe2
lea eax, [esp + 0x7d]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.1002efa0
mov eax, dword [0x1007f3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000aa42
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000aa54
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x10085038], 2
jne 0x1000aab5
mov dword [0x1007645c], 0x10042d48
mov dword [0x10076460], 1
mov dword [0x10076464], 0x75
mov dword [0x10076468], 0x10008d20
mov dword [0x1007646c], 0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000ac16
push 0x3ee
push ebp
call ebx
cmp dword [0x10085038], 2
mov ebx, eax
mov dword [esp + 0x40], 1
mov dword [esp + 0x54], 0xffffffff
mov eax, 9
jne 0x1000aaf5
mov eax, 2
test eax, eax
jle 0x1000ac03
mov ebp, 0x1007644c
mov dword [esp + 0x10], eax
jmp 0x1000ab10
mov edx, dword [ebp]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x40]
push ecx
push edx
push 0x1307
push ebx
mov dword [esp + 0x5c], eax
call esi
mov eax, dword [ebp + 8]
movzx ecx, word [ebp + 4]
mov edx, dword [0x1007f3b0]
push 0
push eax
push ebx
push ecx
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x20]
push eax
push 0
push 0x130a
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x30]
push ecx
push ebx
call esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x3c], edx
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov esi, eax
sub esi, dword [esp + 0x28]
mov edi, ecx
sub edi, dword [esp + 0x34]
sub esi, dword [esp + 0x30]
sub edi, dword [esp + 0x2c]
add esi, dword [esp + 0x38]
add edi, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
jns 0x1000abdb
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0xc]
push 1
push 0
push 0
push 0x15
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
add ebp, 0x14
sub dword [esp + 0x10], 1
jne 0x1000ab10
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push ebx
call fcn.10008c60
mov ecx, dword [0x1007f3b0]
push 0x77
push ecx
mov dword [0x1007f318], 0x58
mov dword [0x1007f31c], ebp
mov dword [0x1007f320], 0x77
mov dword [0x1007f324], 3
mov dword [0x1007f328], 0x4c8
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x1007f318
push 0
mov dword [0x1007f32c], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov edx, dword [0x1007f3b0]
push 0xa6
push edx
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov dword [0x1007f3f4], eax
call fcn.1002e913
add esp, 0x150
ret 4