Function at 0x42cc20
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a2305
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x58]
push edi
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebx + 0x20]
add ebx, 0x20
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x38]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
call fcn.00432eb0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd8], ebp
add ecx, 0xe6
xor esi, esi
mov dword [esp + 0x18], ecx
mov ecx, 0x4c6f80
call fcn.00401390
mov ecx, eax
call fcn.004351a0
mov edi, eax
mov al, byte [edi]
mov byte [esp + 0x38], al
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x42ccdf
xor eax, eax
jmp 0x42cce7
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp eax, ebp
jge 0x42cced
xor eax, eax
lea ecx, [eax*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x3c], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
lea ecx, [esp + 0x44]
call fcn.004103c0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0xd8], 1
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
je 0x42cdc3
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x42cdc3
mov eax, dword [ecx + esi*4]
lea edi, [ecx + esi*4]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x42cd8a
cmp dword [ecx - 0xc], ebp
jge 0x42cd5c
mov edx, dword [0x4b7084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42cd61
cmp dword [eax - 0xc], ebp
jge 0x42cd71
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00406cb0
jmp 0x42cd8a
lea ecx, [esp + 0x2c]
call fcn.00406f50
mov edi, dword [edi]
mov dword [esp + 0x2c], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1c]
push ebp
add eax, 0x19
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push 0x8000
lea edx, [esp + 0x34]
mov eax, esi
push ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x48], 1
inc esi
call fcn.00437030
mov eax, dword [esp + 0x40]
jmp 0x42cd23
mov ecx, dword [esp + 0x1c]
add ecx, 5
mov dword [esp + 0x1c], ecx
mov ecx, 0x4c6f80
call fcn.00401390
mov ecx, eax
call fcn.004351b0
mov edi, eax
mov al, byte [edi]
mov byte [esp + 0x48], al
mov ecx, dword [edi + 4]
cmp ecx, ebp
jne 0x42cdf2
xor eax, eax
jmp 0x42cdfa
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp eax, ebp
jge 0x42ce00
xor eax, eax
lea ecx, [eax*4]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x4c], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
lea ecx, [esp + 0x54]
call fcn.004103c0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov byte [esp + 0xd8], 2
xor edi, edi
mov ecx, dword [esp + 0x4c]
cmp ecx, ebp
je 0x42cee1
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x42cee1
mov eax, dword [ecx + edi*4]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x42cea4
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x42ce73
mov edx, dword [0x4b7084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x42ce7a
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42ce8a
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00406cb0
jmp 0x42cea4
lea ecx, [esp + 0x2c]
call fcn.00406f50
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ebp
add ebp, 0xfffffff4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1c]
push 0
add eax, 0x19
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], eax
push 0x8000
lea edx, [esp + 0x34]
mov eax, esi
push ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x48], 0
inc esi
call fcn.00437030
mov eax, dword [esp + 0x50]
inc edi
xor ebp, ebp
jmp 0x42ce38
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
mov ecx, 0x4c6f80
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0xf0
mov dword [esp + 0x70], 0xe3
call fcn.00401390
mov ecx, eax
call fcn.00435190
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebp
jl 0x42cf39
mov dword [esp + 0x14], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42cf5f
mov ecx, dword [0x4b7080]
mov dword [esp + 0x14], ecx
mov esi, dword [eax]
cmp esi, ebp
jne 0x42cf4d
xor eax, eax
jmp 0x42cf54
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00406cb0
mov edi, dword [esp + 0x58]
push ebp
push 0x50000003
lea edx, [esp + 0x74]
mov ecx, dword [edi + 4]
push 0x75
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0xf0], 3
call fcn.00436f10
mov esi, eax
cmp esi, ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0xc0], esi
je 0x42d03d
push 0
push 2
mov ecx, ebx
call fcn.00424c00
mov ecx, eax
call fcn.00434830
mov eax, dword [eax + 0x90]
push 0
push eax
push 0xf1
push esi
call ebp
mov edx, dword [0x4b7080]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
mov ecx, 0x4c6f80
push eax
mov byte [esp + 0xdc], 4
call fcn.004045a0
test eax, eax
jne 0x42cff9
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4c6f80
call fcn.00404400
test eax, eax
je 0x42d00e
push 0
push 0
push 0xf1
push esi
call ebp
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4b7084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42d03d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42d03d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00437568
add esp, 4
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x80], eax
add eax, 0x1c
add ecx, 0x1c
push 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x8c], edi
test edi, edi
mov byte [esp + 0xd8], 5
je 0x42d0d1
lea eax, [esp + 0x94]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x4ba77c
call dword [sym.imp.MSVCRT.dll_wcslen]
imul eax, dword [esp + 0xb0]
add esp, 4
test eax, eax
jle 0x42d0d1
mov ecx, dword [esp + 0x7c]
add ecx, eax
mov dword [esp + 0x84], ecx
mov edx, dword [0x4b7080]
mov eax, 0x4ba77c
test eax, eax
mov dword [esp + 0x10], edx
je 0x42d149
mov ecx, eax
shr ecx, 0x10
jne 0x42d101
xor eax, eax
mov edx, 0x4ba77c
mov ax, dx
lea ecx, [esp + 0x10]
push eax
call fcn.004068b0
jmp 0x42d149
push 0x4ba77c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x42d149
push esi
lea ecx, [esp + 0x14]
call fcn.00406c50
test eax, eax
je 0x42d149
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x42d149
mov edi, dword [esp + 0x10]
mov edx, ecx
mov esi, 0x4ba77c
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 + 0x8c]
mov esi, dword [esp + 0x58]
push 0
push 0x50000003
lea eax, [esp + 0x84]
mov edx, dword [esi + 4]
push 0x75
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0xf0], 6
call fcn.00436f10
mov dword [esi + 0xc4], eax
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
mov byte [esp + 0xd8], 5
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42d1b7
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42d1bd
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
jmp 0x42d1bd
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, dword [esi + 0xc4]
test esi, esi
je 0x42d26a
mov ecx, 0x4c6f80
call fcn.004055c0
test eax, eax
je 0x42d1ee
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0xf1
push esi
call ebp
mov eax, dword [0x4b7080]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 7
push ecx
mov ecx, 0x4c6f80
call fcn.004045a0
test eax, eax
jne 0x42d233
lea edx, [esp + 0x10]
mov ecx, 0x4c6f80
push edx
call fcn.00404400
test eax, eax
jne 0x42d233
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
jmp 0x42d237
push 0
push 1
push 0xf1
push esi
call ebp
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42d26a
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42d26a
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4b7084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42d29e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42d29e
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
cmp esi, edi
mov byte [esp + 0xd8], 1
je 0x42d2c6
push 0
mov ecx, esi
call fcn.00411970
add esi, 4
cmp esi, edi
jne 0x42d2b2
mov esi, dword [esp + 0x4c]
push esi
call fcn.00437568
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esp, 4
xor ebx, ebx
cmp esi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0xd8], bl
je 0x42d303
push ebx
mov ecx, esi
call fcn.00411970
add esi, 4
cmp esi, edi
jne 0x42d2f0
mov esi, dword [esp + 0x3c]
push esi
call fcn.00437568
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0xd8], 0xffffffff
call fcn.00432ed0
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret