Function at 0x41cd80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464c70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041b940
push 0x46cdc8
lea ecx, [ebp - 0x18]
call fcn.0040fbe0
mov eax, dword [ebx + 0x38]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 4], ecx
jle 0x41ced5
cmp dword [ebx + 0x30], ecx
je 0x41ced5
cmp eax, ecx
mov dword [ebp - 0x10], ecx
jle 0x41cf70
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
mov edi, dword [ebx + 0x30]
add edi, dword [ebp - 0x14]
add eax, 0x40f
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x41cf70
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [edi + 4]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040f8b0
mov eax, dword [eax]
add esp, 0xc
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ce4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
push ecx
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [0x4842e4]
push 0x1a0
push 0x46cc2c
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0041c610
mov eax, dword [eax]
mov ecx, dword [0x4842e4]
push 1
push 4
push eax
push ecx
push esi
mov byte [ebp - 4], 1
call fcn.0041c350
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
add esp, 0x24
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ceb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 4]
push esi
push ecx
mov ecx, ebx
call fcn.0041c0b0
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x44
inc eax
cmp eax, dword [ebx + 0x38]
mov dword [ebp - 0x10], eax
jl 0x41cde3
jmp 0x41cf70
push 0x46cbf0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0040f8b0
mov ecx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [eax]
add esp, 0xc
push 0x40f
push ecx
call esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cf24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 4]
push 0x40f
push ecx
call esi
push 1
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebx + 4]
push 0x40f
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [ebx + 4]
push 0x40f
push eax
call esi
push 0
push eax
call edi
mov ecx, dword [ebx + 4]
push 0x40f
push ecx
call esi
push 0
push eax
call edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cf96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret