Function at 0x41d49e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
mov esi, ecx
call fcn.0044b8f5
cmp dword [esi + 0x13c], 0
mov dword [ebp - 0x28], eax
je 0x41d750
test eax, eax
je 0x41d750
cmp dword [esi + 0xfc], 1
je 0x41d74a
cmp dword [esi + 0x100], 1
je 0x41d74a
mov ecx, dword [eax]
and dword [ebp - 0x14], 0
push ebx
lea edx, [ebp - 0x14]
push edi
push edx
push eax
call dword [ecx + 0x4c]
push dword [ebp - 0x14]
call fcn.0044bb02
mov ebx, dword [esi + 0x100]
or ebx, dword [esi + 0xfc]
not ebx
and ebx, dword [ebp - 0x14]
push ebx
call fcn.0044bb02
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
pop ecx
push 0x10b8
push eax
call edi
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x30]
push 0x10ba
push eax
call edi
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x30]
push 0x1058
push eax
call edi
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x30]
push 0x105a
push eax
call edi
push dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.0041d928
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041d928
and dword [ebp - 4], 0
push 1
lea ecx, [esi + 0x134]
pop eax
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], eax
mov dword [ecx], eax
mov dword [esi + 0x138], eax
mov dword [ebp - 8], 0x4743e8
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
test ebx, eax
je 0x41d686
mov ecx, dword [ebp - 4]
cmp ecx, 2
jge 0x41d697
cmp dword [ebp + ecx*4 - 0x24], 0
je 0x41d686
push dword [esi + 0x100]
or eax, dword [esi + 0xfc]
and dword [ebp - 0x10], 0
mov ecx, esi
push eax
call fcn.0041e5a7
test eax, eax
je 0x41d5e6
mov eax, dword [ebp - 4]
mov ecx, esi
push dword [ebp + eax*4 - 0x1c]
push dword [esi + 0xfc]
call fcn.0041d792
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x100]
or eax, dword [ecx]
mov ecx, esi
push eax
push dword [esi + 0xfc]
call fcn.0041e5a7
test eax, eax
je 0x41d61a
mov eax, dword [ebp - 4]
mov ecx, esi
push dword [ebp + eax*4 - 0x1c]
push dword [esi + 0x100]
call fcn.0041d792
or dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d686
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov eax, dword [0x4775f0]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x41d63a
mov eax, 0x4614a8
push edx
lea edx, [ebp - 0x12c]
push 0x104
push edx
push ecx
push eax
call sub.hccutils.DLL_LoadSTRING
lea eax, [ebp - 0x12c]
push eax
call fcn.004512a0
add esp, 0x18
test eax, eax
jbe 0x41d67f
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x24]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ecx], eax
inc dword [ebp - 4]
add dword [ebp - 0xc], 4
add dword [ebp - 8], 8
cmp dword [ebp - 8], 0x474410
jb 0x41d58f
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.0041d825
push dword [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.0041d825
mov eax, dword [esi + 0x30]
push 0x10b9
push eax
call edi
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], ecx
jne 0x41d70e
cmp ebx, ecx
push ecx
push eax
jne 0x41d706
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
mov eax, dword [esi + 0x30]
push 0x10bc
push eax
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 0x30]
push 0x10bd
push eax
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 0x30]
push 0x10be
push eax
call edi
push 0
push eax
call ebx
jmp 0x41d73e
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x41d73e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 4], 1
jle 0x41d73e
mov bl, byte [esi + 8]
push 0x90000
mov ecx, esi
call fcn.0041d941
test bl, bl
jne 0x41d73e
and byte [esi + 8], bl
mov ecx, esi
call fcn.0041e2a4
mov eax, dword [ebp - 0x28]
pop edi
pop ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop esi
leave
ret