Function at 0x1003406
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x100d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x5b
lea eax, [ebp - 0x36f]
push 0
push eax
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x310], edi
mov byte [ebp - 0x370], 0
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
push 8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push 0x80
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x304]
push eax
push 0x6d
push dword [0x100d050]
call ebx
mov eax, dword [edi + 4]
push dword [eax + 0x58]
lea eax, [ebp - 0x304]
push eax
mov edi, 0x100
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01003395
xor eax, eax
add esp, 0x10
mov word [ebp - 6], ax
lea eax, [ebp - 0x204]
push eax
push 0x424
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x310]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
jne 0x10034d5
cmp dword [eax + 0x84], ecx
je 0x100351a
push 0x7f01
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x1003514
push 0
push eax
push 0x170
push 0x87
push dword [ebp - 0x308]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 5
push 0x87
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x310]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
je 0x1003864
xor edx, edx
cmp dword [eax + 0x7c], ecx
setne dl
push edx
push 0x404
push dword [ebp - 0x308]
call dword [sym.imp.USER32.dll_CheckDlgButton]
lea eax, [ebp - 0x370]
push eax
mov eax, dword [ebp - 0x310]
push dword [eax]
call fcn.0100aeab
test eax, eax
jl 0x100385d
push 5
push 0x40b
push dword [ebp - 0x308]
mov byte [ebp - 0x309], 0
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x314]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x404
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp - 0x314], 0
je 0x10035f1
mov al, byte [ebp - 0x343]
test al, al
jbe 0x100360d
sub al, byte [ebp - 0x36f]
mov byte [ebp - 0x309], al
jne 0x100360d
push 1
push 0x404
push dword [ebp - 0x308]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0
push 0x404
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x310]
mov dword [eax + 0x7c], 1
mov al, byte [ebp - 0x344]
test al, al
jbe 0x100360d
sub al, byte [ebp - 0x370]
mov byte [ebp - 0x309], al
je 0x100379e
push edi
lea eax, [ebp - 0x204]
push eax
push 0x81
push dword [0x100d050]
call ebx
lea eax, [ebp - 0x204]
push eax
push 0x423
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
cmp dword [ebp - 0x314], eax
je 0x100367f
mov ecx, dword [ebp - 0x310]
cmp dword [ecx + 0x7c], eax
jne 0x100367f
mov ecx, dword [ebp - 0x320]
cmp ecx, eax
je 0x10036c3
cmp word [ecx], ax
je 0x10036c3
push 0x80
lea eax, [ebp - 0x304]
push eax
push 0x73
push dword [0x100d050]
call ebx
push dword [ebp - 0x320]
jmp 0x10036aa
mov ecx, dword [ebp - 0x324]
cmp ecx, eax
je 0x10036c3
cmp word [ecx], ax
je 0x10036c3
push 0x80
lea eax, [ebp - 0x304]
push eax
push 0x73
push dword [0x100d050]
call ebx
push dword [ebp - 0x324]
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01003395
add esp, 0x10
jmp 0x10036d8
push edi
lea eax, [ebp - 0x204]
push eax
push 0x97
push dword [0x100d050]
call ebx
lea eax, [ebp - 0x204]
push eax
push 0x422
push dword [ebp - 0x308]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [ebp - 0x309], 0xa
ja 0x1003783
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x7c], 0
push 0x80
lea eax, [ebp - 0x304]
push eax
je 0x1003719
push 0x78
jmp 0x100371e
push 0x94
push dword [0x100d050]
call ebx
movzx eax, byte [ebp - 0x309]
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x204]
push edi
push eax
call fcn.01003395
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
mov edi, 0x415
push edi
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x7c], 0
je 0x100384c
cmp byte [ebp - 0x370], 0
jne 0x100384c
push 0
push edi
jmp 0x100378a
push 0
push 0x415
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100384c
push edi
lea eax, [ebp - 0x204]
push eax
push 0x98
push dword [0x100d050]
call ebx
lea eax, [ebp - 0x204]
push eax
push 0x423
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
lea eax, [ebp - 0x204]
push eax
push 0x99
push dword [0x100d050]
call ebx
mov ebx, dword [ebp - 0x308]
lea eax, [ebp - 0x204]
push eax
push 0x42c
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x422
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x415
push ebx
call esi
push eax
call edi
push 0
push 0x404
push ebx
call esi
push eax
call edi
push 0
push 0x40a
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push 0
push 0x409
push ebx
call esi
push eax
call edi
lea eax, [ebp - 0x370]
push eax
call fcn.0100980d
jmp 0x1003928
xor eax, eax
jmp 0x1003937
cmp dword [eax + 0x84], ecx
push edi
lea eax, [ebp - 0x204]
push eax
je 0x1003900
push 0x7f
push dword [0x100d050]
call ebx
lea eax, [ebp - 0x204]
push eax
push 0x423
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x314], 0
push edi
lea eax, [ebp - 0x204]
push eax
je 0x10038b5
push 0xa4
jmp 0x10038ba
push 0xa3
push dword [0x100d050]
call ebx
lea eax, [ebp - 0x204]
push eax
push 0x422
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
lea eax, [ebp - 0x204]
push eax
push 0xa7
push dword [0x100d050]
call ebx
lea eax, [ebp - 0x204]
push eax
push 0x42c
jmp 0x1003919
push 0x95
push dword [0x100d050]
call ebx
lea eax, [ebp - 0x204]
push eax
push 0x423
push dword [ebp - 0x308]
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x308]
call dword [sym.imp.USER32.dll_SetActiveWindow]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100893d
leave
ret 0xc