Function at 0x41d190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a937
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c4184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41d3be
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
or ebx, 0xffffffff
mov dword [ebp - 4], 1
test eax, eax
jle 0x41d2aa
mov ecx, edi
cmp eax, 0x32
jg 0x41d217
push 0x5807
lea eax, [ebp - 0x1c]
push eax
call fcn.00419410
mov byte [ebp - 4], 2
mov ebx, 1
jmp 0x41d231
push 0x5808
lea eax, [ebp - 0x18]
push eax
call fcn.00419410
mov dword [ebp - 4], 3
mov ebx, 2
mov dword [ebp - 0x14], ebx
mov ecx, 0x4a13dc
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0x10]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x10]
push ecx
push str._s__s
push eax
call fcn.0040a120
add esp, 0x10
test bl, 2
je 0x41d279
mov edx, dword [ebp - 0x18]
and ebx, 0xfffffffd
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d279
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
test bl, 1
je 0x41d2a4
mov edx, dword [ebp - 0x1c]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d2a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41d2a7
or ebx, 0xffffffff
mov esi, dword [ebp - 0x10]
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41d2c8
push 5
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
push 0
push eax
push 0x402
mov dword [edi + 0xc8], eax
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 4
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x41d3c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
lea eax, [edi + 0x48]
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x10]
mov dword [ebp + 0xc], eax
push ecx
mov ecx, eax
call fcn.00419640
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x41d3d2
mov ecx, edi
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41d34d
test dx, dx
je 0x41d349
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41d34d
add eax, 4
add ecx, 4
test dx, dx
jne 0x41d327
xor eax, eax
jmp 0x41d352
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d37c
mov eax, dword [ebp + 0xc]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0xc]
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41d393
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41d3a8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, 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 0x10
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
int3