Function at 0x42f1c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2548
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x58]
mov eax, dword [ebp + 0xac]
mov ebx, ecx
test eax, eax
jl 0x42f25f
mov eax, dword [ebx + 0x148]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jne 0x42f208
mov eax, dword [ebx + 0x144]
test eax, eax
je 0x42f25f
call fcn.004189f0
mov esi, eax
test esi, esi
je 0x42f25f
mov ecx, edi
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
add eax, 0x10
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
mov edx, dword [esi]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, esi
call dword [edx + 0x1c]
mov ecx, dword [ebp + 0xac]
push ecx
mov ecx, esi
call fcn.00418bb0
push 1
push esi
lea ecx, [ebx + 0xc0]
call fcn.00425900
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
add eax, 0x14
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0xc]
test eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
je 0x42f33b
lea esi, [ebx + 0xc0]
test esi, esi
je 0x42f29b
lea eax, [ebx + 0xc4]
jmp 0x42f29d
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax]
push 0
push 0x50000003
push ecx
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x3c]
push edx
push ecx
push eax
lea ecx, [ebx + 0x20]
call fcn.00436f10
test eax, eax
mov dword [esp + 0x54], eax
je 0x42f436
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x42f2e2
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x138]
lea ecx, [ebx + 0x130]
lea edx, [esp + 0x54]
push edx
push 1
push eax
call fcn.00422f00
mov ecx, dword [esp + 0x54]
push 1
push ecx
mov ecx, esi
call fcn.00425650
mov edx, dword [esp + 0x5c]
mov eax, dword [ebx + 0x148]
cmp eax, edx
jne 0x42f436
mov eax, dword [ebx + 0x144]
test eax, eax
jne 0x42f436
mov eax, dword [esp + 0x54]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42f436
lea ecx, [esp + 0x10]
call fcn.00432eb0
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], 0
mov esi, dword [ebp]
cmp edi, esi
je 0x42f40a
mov eax, dword [edi - 0xc]
lea ecx, [edi - 0xc]
test eax, eax
jge 0x42f374
lea edx, [edi - 0xc]
cmp edx, dword [0x4b7084]
jne 0x42f37b
mov edx, dword [esi - 0xc]
test edx, edx
jge 0x42f3d2
mov ebp, dword [esi - 8]
cmp eax, 1
jg 0x42f388
cmp ebp, dword [edi - 4]
jle 0x42f3a3
lea ecx, [esp + 0x14]
call fcn.00406f50
push ebp
lea ecx, [esp + 0x18]
call fcn.00406c50
test eax, eax
je 0x42f40a
mov edi, dword [esp + 0x14]
lea eax, [ebp + ebp]
lea ecx, [ebp + ebp + 2]
cmp ecx, eax
jb 0x42f3c3
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov dword [edi - 8], ebp
mov ecx, dword [esp + 0x14]
mov word [eax + ecx], 0
jmp 0x42f40a
mov eax, dword [0x4b7084]
add edi, 0xfffffff4
cmp edi, eax
je 0x42f3f9
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42f3f9
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
push 1
lea eax, [esp + 0x38]
push 0x24
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [ebx + 0xc0]
call fcn.00426360
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call fcn.00432ed0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x18