Function at 0x1000a880
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x150
mov eax, dword [0x1007b664]
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 [0x10083038]
cmp eax, 2
mov dword [0x1007d3f8], ebp
jne 0x1000a8f1
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.1002f140
add esp, 0xc
jmp 0x1000aa1e
test eax, eax
jne 0x1000a958
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.1002f140
mov eax, dword [0x1007d3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a922
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000a934
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 0x1000aa23
cmp eax, 1
jne 0x1000a9c1
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.1002f140
mov eax, dword [0x1007d3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a988
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 0x1000a9a0
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 0x1000aa23
cmp eax, 3
jne 0x1000aa2a
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.1002f140
mov eax, dword [0x1007d3ac]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a9f2
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000aa04
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 [0x10083038], 2
jne 0x1000aa65
mov dword [0x1007445c], 0x10042d48
mov dword [0x10074460], 1
mov dword [0x10074464], 0x75
mov dword [0x10074468], 0x10008d30
mov dword [0x1007446c], 0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000abc6
push 0x3ee
push ebp
call ebx
cmp dword [0x10083038], 2
mov ebx, eax
mov dword [esp + 0x40], 1
mov dword [esp + 0x54], 0xffffffff
mov eax, 9
jne 0x1000aaa5
mov eax, 2
test eax, eax
jle 0x1000abb3
mov ebp, 0x1007444c
mov dword [esp + 0x10], eax
jmp 0x1000aac0
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 [0x1007d3b0]
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 0x1000ab8b
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 0x1000aac0
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push ebx
call fcn.10008c70
mov ecx, dword [0x1007d3b0]
push 0x77
push ecx
mov dword [0x1007d318], 0x58
mov dword [0x1007d31c], ebp
mov dword [0x1007d320], 0x77
mov dword [0x1007d324], 3
mov dword [0x1007d328], 0x4c8
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x1007d318
push 0
mov dword [0x1007d32c], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov edx, dword [0x1007d3b0]
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 [0x1007d3f4], eax
call fcn.1002eab3
add esp, 0x150
ret 4