Function at 0x41d370
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x59fbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp + 0x38]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
lea esi, [ebp + 0x38]
push 0x1004
push eax
call ebx
test eax, eax
jle 0x41d604
mov ecx, dword [esi]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x41d604
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push 0
push edi
push esi
lea eax, [esp + 0x40]
mov dword [esp + 0x38], 0
call fcn.0040a330
mov ecx, dword [esi]
push 0
push edi
push 0x1008
push ecx
call ebx
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x2c], 1
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x2c], 2
mov edi, dword [esp + 0x34]
cmp dword [edi - 0xc], 0
jle 0x41d596
push 0x2d
push edi
call fcn.00578331
add esp, 8
test eax, eax
je 0x41d596
sub eax, edi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x41d596
lea ecx, [esp + 0x18]
lea edx, [esp + 0x34]
call fcn.00403560
mov ebx, eax
mov byte [esp + 0x2c], 3
call fcn.004192d0
mov edi, eax
call fcn.00419350
lea edi, [esp + 0x20]
call fcn.004035d0
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d4c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 1]
lea esi, [esp + 0x18]
lea edx, [esp + 0x34]
call fcn.00403540
mov ebx, eax
mov byte [esp + 0x2c], 4
call fcn.004192d0
mov edi, eax
call fcn.00419350
lea edi, [esp + 0x1c]
call fcn.004035d0
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d514
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
call fcn.0041c4c0
test eax, eax
je 0x41d592
mov eax, dword [eax + 0x14]
sub dword [ebp + 0x44], eax
lea ecx, [esp + 0x18]
call fcn.00404530
mov byte [esp + 0x2c], 5
mov ecx, dword [ebp + 0x44]
push ecx
push 0x5be24c
lea edi, [esp + 0x20]
call fcn.004126f0
mov edx, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 8
push 0x42c
push edx
call esi
mov ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, edi
call fcn.00404510
cmp dword [ebp + 0x44], 0x2800
jae 0x41d592
mov edx, dword [ebp + 4]
push 0x42d
push edx
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esp + 0x34]
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d5bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d5e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d604
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4