Function at 0x1000a4a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x150
mov eax, dword [0x1007a6b4]
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 [0x1007c440], ebp
jne 0x1000a511
mov ecx, 6
mov esi, 0x10043160
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.1002ebf0
add esp, 0xc
jmp 0x1000a63e
test eax, eax
jne 0x1000a578
push 0xe3
push eax
lea edx, [esp + 0x80]
mov ecx, 7
mov esi, 0x10043144
lea edi, [esp + 0x64]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.1002ebf0
mov eax, dword [0x1007c3f4]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a542
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000a554
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 0x1000a643
cmp eax, 1
jne 0x1000a5e1
mov ecx, 7
mov esi, 0x10043128
lea edi, [esp + 0x5c]
push 0xe3
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7c]
push 0
push ecx
call fcn.1002ebf0
mov eax, dword [0x1007c3f4]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a5a8
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 0x1000a5c0
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 0x1000a643
cmp eax, 3
jne 0x1000a64a
mov ecx, 7
mov esi, 0x10043108
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.1002ebf0
mov eax, dword [0x1007c3f4]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1000a612
lea edi, [esp + 0x5c]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1000a624
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 0x1000a685
mov dword [0x10073464], 0x10042e2c
mov dword [0x10073468], 1
mov dword [0x1007346c], 0x75
mov dword [0x10073470], 0x10008930
mov dword [0x10073474], 0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000a7e6
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 0x1000a6c5
mov eax, 2
test eax, eax
jle 0x1000a7d3
mov ebp, 0x10073454
mov dword [esp + 0x10], eax
jmp 0x1000a6e0
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 [0x1007c3f8]
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 0x1000a7ab
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 0x1000a6e0
mov ebp, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push ebx
call fcn.10008870
mov ecx, dword [0x1007c3f8]
push 0x77
push ecx
mov dword [0x1007c360], 0x58
mov dword [0x1007c364], ebp
mov dword [0x1007c368], 0x77
mov dword [0x1007c36c], 3
mov dword [0x1007c370], 0x4c8
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x1007c360
push 0
mov dword [0x1007c374], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov edx, dword [0x1007c3f8]
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 [0x1007c43c], eax
call fcn.1002e6c3
add esp, 0x150
ret 4