Function at 0x1000a180
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x150
mov eax, dword [0x1007a664]
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 [0x10082038]
cmp eax, 2
mov dword [0x1007c3f8], ebp
jne 0x1000a1f1
mov ecx, 6
mov esi, 0x10041e28
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.1002e3d0
add esp, 0xc
jmp 0x1000a31e
test eax, eax
jne 0x1000a258
push 0xe3
push eax
lea edx, [esp + 0x80]
mov ecx, 7
mov esi, 0x10041e0c
lea edi, [esp + 0x64]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.1002e3d0
mov eax, dword [0x1007c3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a222
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000a234
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 0x1000a323
cmp eax, 1
jne 0x1000a2c1
mov ecx, 7
mov esi, 0x10041df0
lea edi, [esp + 0x5c]
push 0xe3
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.1002e3d0
mov eax, dword [0x1007c3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a288
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 0x1000a2a0
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 0x1000a323
cmp eax, 3
jne 0x1000a32a
mov ecx, 7
mov esi, 0x10041dd0
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.1002e3d0
mov eax, dword [0x1007c3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a2f2
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000a304
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 [0x10082038], 2
jne 0x1000a365
mov dword [0x1007345c], 0x10041af4
mov dword [0x10073460], 1
mov dword [0x10073464], 0x75
mov dword [0x10073468], 0x10008630
mov dword [0x1007346c], 0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000a4c6
push 0x3ee
push ebp
call ebx
cmp dword [0x10082038], 2
mov ebx, eax
mov dword [esp + 0x40], 1
mov dword [esp + 0x54], 0xffffffff
mov eax, 9
jne 0x1000a3a5
mov eax, 2
test eax, eax
jle 0x1000a4b3
mov ebp, 0x1007344c
mov dword [esp + 0x10], eax
jmp 0x1000a3c0
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 [0x1007c3b0]
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 0x1000a48b
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 0x1000a3c0
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push ebx
call fcn.10008570
mov ecx, dword [0x1007c3b0]
push 0x77
push ecx
mov dword [0x1007c318], 0x58
mov dword [0x1007c31c], ebp
mov dword [0x1007c320], 0x77
mov dword [0x1007c324], 3
mov dword [0x1007c328], 0x4c8
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x1007c318
push 0
mov dword [0x1007c32c], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov edx, dword [0x1007c3b0]
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 [0x1007c3f4], eax
call fcn.1002dd43
add esp, 0x150
ret 4