Function at 0x4350f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490790
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c4074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x78]
call fcn.00464f50
mov eax, dword [ebx + 0x90]
mov ecx, dword [eax + 8]
lea eax, [ebx + 0x84]
push eax
call fcn.00444850
mov eax, dword [ebx + 0x90]
mov ecx, dword [eax + 8]
call fcn.00444660
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.004294e0
mov ecx, ebx
call fcn.00435720
mov ecx, ebx
call fcn.00435da0
mov edx, dword [ebx + 0x90]
test byte [edx + 0xc], 1
je 0x4351a8
mov eax, dword [ebx + 0xa4]
mov esi, dword [eax + 0x34]
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4351a1
mov eax, dword [ecx]
push 0x4e20
push esi
push dword [ebx + 0x254]
call dword [eax + 4]
mov edx, dword [ebx + 0x90]
mov dword [edx + 0xc], 0
mov ecx, ebx
call fcn.00436160
xor esi, esi
call fcn.0041ecc0
mov edi, dword [ebx + 0xa4]
test al, al
mov ecx, 0x20000
cmove esi, ecx
mov dword [ebp - 0x14], esi
lea esi, [ebx + 0x1a8]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0x30]
shr ecx, 1
test cl, 1
je 0x435207
cmp dword [ebp - 0x18], 0x400
jl 0x435207
cmp eax, 0x300
jl 0x435207
mov edi, dword [ebx + 0x12c]
mov dword [ebp - 0x10], edi
jmp 0x435210
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4c4bb8]
mov ecx, 0x4ab49c
push dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
lea eax, [esi + 0x20]
push eax
push 0x4c4b88
mov dword [0x4c4bb8], ecx
call fcn.0043ab90
movzx edi, ax
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], edi
test eax, eax
jne 0x4353b7
call fcn.0046cd7e
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4353b7
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x24
push 0
push 0x1036
push dword [ebx + 0x1ac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x85
lea ecx, [ebp - 0x18]
call fcn.00408e90
mov dword [ebp - 4], 1
sub esp, 0xc
push 0x118
push ecx
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1ac]
push 0
call fcn.00437cc0
mov edx, 0x86
lea ecx, [ebp - 0x14]
call fcn.00408e90
mov byte [ebp - 4], 2
sub esp, 0xc
push 0x50
push ecx
push dword [ebp - 0x14]
lea ecx, [ebx + 0x1ac]
push 1
call fcn.00437cc0
mov edx, 0x88
lea ecx, [ebp - 0x10]
call fcn.00408e90
mov byte [ebp - 4], 3
sub esp, 0xc
push 0x50
push ecx
push dword [ebp - 0x10]
lea ecx, [ebx + 0x1ac]
push 2
call fcn.00437cc0
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435313
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435331
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x435350
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
call fcn.0041ecc0
mov edi, dword [ebx + 0xa4]
test al, al
mov eax, 0x20000
cmove esi, eax
mov dword [ebp - 0x10], esi
lea esi, [ebx + 0x1d0]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0x30]
shr ecx, 1
test cl, 1
je 0x435474
cmp dword [ebp - 0x18], 0x400
jl 0x435474
cmp eax, 0x300
jl 0x435474
mov edi, dword [ebx + 0x12c]
mov dword [ebp - 0x18], edi
jmp 0x43547d
push 0
push 0
push eax
call fcn.0046ce80
test di, di
je 0x435262
lea edi, [esi + 8]
test edi, edi
je 0x435706
test esi, esi
je 0x435706
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x20], 0x4c6108
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x4c6108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4c6120]
mov dword [edi + 8], eax
mov byte [ebp - 0x1c], 1
mov dword [0x4c6120], edi
mov dword [ebp - 4], 0xffffffff
push 0x4c6108
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x4c48dc]
mov ecx, dword [0x4c48e4]
mov edx, dword [0x4c48d8]
sub ecx, edi
mov eax, dword [0x4c48e0]
push 0
push dword [0x4c5088]
sub eax, edx
mov byte [ebp - 0x1c], 0
push esi
push dword [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp - 0x18]
push edi
push edx
push 0x5600880d
push 0
movzx eax, ax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x435262
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4c4c48]
mov ecx, str.RichEdit20W
push dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
lea eax, [esi + 0x20]
push eax
push 0x4c4c18
mov dword [0x4c4c48], ecx
call fcn.0043ab90
movzx edi, ax
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x4354cc
call fcn.0046cd7e
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4354cc
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x435583
push 0
push 0
push eax
call fcn.0046ce80
test di, di
je 0x435583
lea edi, [esi + 8]
test edi, edi
je 0x435706
test esi, esi
je 0x435706
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 4], eax
mov dword [ebp - 0x20], 0x4c6108
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 7
push 0x4c6108
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4c6120]
mov dword [edi + 8], eax
mov byte [ebp - 0x1c], 1
mov dword [0x4c6120], edi
mov dword [ebp - 4], 0xffffffff
push 0x4c6108
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x4c48dc]
mov eax, dword [0x4c48e4]
mov edx, dword [0x4c48d8]
sub eax, ecx
push 0
push dword [0x4c5088]
mov byte [ebp - 0x1c], 0
push esi
push dword [ebp - 0x18]
push eax
mov eax, dword [0x4c48e0]
sub eax, edx
push eax
mov eax, dword [ebp - 0x14]
push ecx
push edx
push 0x56200804
push 0
movzx eax, ax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xcb
push dword [ebx + 0x1d4]
call esi
push 0
push 0
push 0x43b
push dword [ebx + 0x1d4]
call esi
or eax, 0x4000000
push eax
push 0
push 0x445
push dword [ebx + 0x1d4]
call esi
push 0
push 0
push 0x45b
push dword [ebx + 0x1d4]
call esi
mov eax, dword [ebx + 0x1d4]
mov esi, dword [ebx + 0xa4]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1ac]
push 0
mov dword [ebp - 0x18], eax
call edi
push 1
mov dword [ebp - 0x10], eax
call edi
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x435637
cmp dword [ebp - 0x10], 0x400
jl 0x435637
cmp eax, 0x300
jl 0x435637
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + 0x14c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
call fcn.00437ed0
mov dword [ebx + 0x198], 0
jmp 0x435658
mov eax, dword [ebp - 0x18]
lea ecx, [ebx + 0xcc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
call fcn.00437ed0
mov dword [ebx + 0x118], 0
mov esi, dword [ebx + 0x94]
cmp dword [esi + 4], 1
jne 0x4356d1
mov esi, dword [esi + 0xc]
push 0
call edi
push 1
mov dword [ebp - 0x18], eax
call edi
mov ecx, dword [esi + 0x30]
shr ecx, 1
test cl, 1
je 0x43568c
cmp dword [ebp - 0x18], 0x400
jl 0x43568c
cmp eax, 0x300
jge 0x4356d1
push dword [ebx + 0xd4]
lea esi, [ebx + 0xcc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x4356af
push 5
push dword [esi + 8]
call edi
push 0
push dword [esi + 4]
call edi
cmp dword [esi + 0x28], 1
je 0x4356c3
mov dword [esi + 0x28], 1
mov ecx, esi
mov dword [esi + 0x50], 1
call fcn.00437ed0
mov eax, dword [ebx + 0x90]
lea ecx, [ebx + 0x80]
mov dword [eax], ecx
mov ecx, ebx
call fcn.00436810
mov dword [ebx + 0x8c], 0
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 8
push 1
push 0xc0000005
call fcn.004086a0
int3