Function at 0x41c460
Capabilities:
Access peb ldr_data
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4367b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x3a4]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.0041c320
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov eax, edi
mov edx, ecx
sub eax, ebp
mov ebp, dword [esp + 0x24]
sub edx, ebx
sub eax, ebp
sub edx, 0x32
sub eax, 0xc
sub ecx, edx
add ebx, 0x24
sub edi, eax
add ebp, 0xc
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edi
sub ecx, ebx
push 4
sub edi, ebp
push ecx
mov ecx, dword [esi + 0x3a4]
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push ebp
push 0
push ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
call edi
mov edx, dword [esi + 0x3a4]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push edx
call ebx
mov eax, dword [esi + 0x3a8]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0041c320
mov edx, eax
push 4
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov ecx, dword [edx + 4]
neg eax
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov edx, eax
sub edx, ecx
add ecx, edx
sub eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov edx, dword [esi + 0x3a8]
push ecx
push 0
push edx
call edi
mov eax, dword [esi + 0x3a8]
push 1
push 0
push eax
call ebx
mov ecx, dword [esi + 0x3ac]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0041c320
mov ecx, eax
push 4
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x28]
neg eax
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov edx, eax
sub edx, ecx
sub eax, ebp
mov ebp, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
mov eax, dword [esi + 0x3ac]
push edx
push ecx
push 0
push eax
mov dword [esp + 0x40], ecx
call edi
mov ecx, dword [esi + 0x3ac]
push 1
push 0
push ecx
call ebx
mov edx, dword [esi + 0x3c0]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0041c320
mov ecx, eax
push 4
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x28]
neg eax
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov edx, eax
sub edx, ecx
sub eax, ebp
mov ebp, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
mov eax, dword [esi + 0x3c0]
push edx
push ecx
push 0
push eax
call edi
mov ecx, dword [esi + 0x3c0]
push 1
push 0
push ecx
call ebx
mov edx, dword [esi + 0x3c8]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0041c320
mov ecx, eax
push 4
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x28]
neg eax
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov edx, eax
sub edx, ecx
sub eax, ebp
mov ebp, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
mov eax, dword [esi + 0x3c8]
push edx
push ecx
push 0
push eax
mov dword [esp + 0x40], ecx
call edi
mov ecx, dword [esi + 0x3c8]
push 1
push 0
push ecx
call ebx
mov edx, dword [esi + 0x3c4]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0041c320
mov ecx, eax
push 4
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x28]
neg eax
mov ebp, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov edx, eax
sub edx, ecx
sub eax, ebp
mov ebp, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
mov dword [esp + 0x2c], ecx
push eax
mov eax, dword [esi + 0x3c4]
push edx
push ecx
push 0
push eax
call edi
mov ecx, dword [esi + 0x3c4]
push 1
push 0
push ecx
call ebx
mov edx, dword [0x43e040]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x398]
mov dword [esp + 0x3c], 0
test eax, eax
je 0x41c8c0
push eax
lea eax, [esp + 0x14]
push 0x43e794
push eax
call fcn.00403e30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x3bc]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0xc
push ecx
push edx
call ebp
mov eax, dword [esi + 0x3b8]
push 0x43ea98
push eax
call ebp
mov ecx, dword [esi + 0x3b4]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov dword [esp + 0x34], ecx
push ecx
mov ecx, dword [esi + 0x3b4]
push 0
push ecx
call edi
mov edx, dword [esi + 0x3bc]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov edx, dword [esi + 0x3bc]
push ecx
push 0
push edx
mov dword [esp + 0x40], ecx
call edi
mov eax, dword [esi + 0x3b8]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov dword [esp + 0x34], ecx
push ecx
mov ecx, dword [esi + 0x3b8]
push 0
push ecx
call edi
mov edx, dword [esi + 0x3b0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call edi
mov eax, dword [esi + 0x3b4]
push 5
push eax
call edi
mov ecx, dword [esi + 0x3b4]
push 1
push 0
push ecx
call ebx
mov edx, dword [esi + 0x3b8]
push 5
push edx
call edi
mov eax, dword [esi + 0x3b8]
push 1
push 0
push eax
call ebx
mov ecx, dword [esi + 0x3bc]
push 5
push ecx
call edi
mov edx, dword [esi + 0x3bc]
push 1
push 0
push edx
call ebx
jmp 0x41cb26
mov eax, dword [esi + 0x39c]
test eax, eax
je 0x41c9ad
push eax
lea eax, [esp + 0x14]
push 0x43e794
push eax
call fcn.00403e30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x3bc]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0xc
push ecx
push edx
call ebp
mov eax, dword [esi + 0x3b8]
push 0x43ea88
push eax
call ebp
mov ecx, dword [esi + 0x3b4]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov dword [esp + 0x34], ecx
push ecx
mov ecx, dword [esi + 0x3b4]
push 0
push ecx
call edi
mov edx, dword [esi + 0x3bc]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov edx, dword [esi + 0x3bc]
push ecx
push 0
push edx
mov dword [esp + 0x40], ecx
call edi
mov eax, dword [esi + 0x3b8]
lea ecx, [esp + 0x1c]
push eax
jmp 0x41c820
mov eax, dword [esi + 0x3a0]
test eax, eax
je 0x41ca9a
push eax
lea eax, [esp + 0x14]
push 0x43e794
push eax
call fcn.00403e30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x3bc]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0xc
push ecx
push edx
call ebp
mov eax, dword [esi + 0x3b8]
push 0x43ea78
push eax
call ebp
mov ecx, dword [esi + 0x3b4]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov dword [esp + 0x34], ecx
push ecx
mov ecx, dword [esi + 0x3b4]
push 0
push ecx
call edi
mov edx, dword [esi + 0x3bc]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov edx, dword [esi + 0x3bc]
push ecx
push 0
push edx
mov dword [esp + 0x40], ecx
call edi
mov eax, dword [esi + 0x3b8]
lea ecx, [esp + 0x1c]
push eax
jmp 0x41c820
mov eax, dword [esi + 0x3b0]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0041c320
mov edx, dword [eax]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], edx
push 4
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
sub ebp, edx
sub eax, ecx
push ebp
push eax
push edx
mov dword [esp + 0x34], ecx
push ecx
mov ecx, dword [esi + 0x3b0]
push 0
push ecx
call edi
mov edx, dword [esi + 0x3b0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call edi
mov eax, dword [esi + 0x3b0]
push 1
push 0
push eax
call ebx
mov ecx, dword [esi + 0x3b4]
push 0
push ecx
call edi
mov edx, dword [esi + 0x3b8]
push 0
push edx
call edi
mov eax, dword [esi + 0x3bc]
push 0
push eax
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [0x43e044]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x41cb59
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41cb59
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042329e
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret