Function at 0x4374c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4771ad
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x495240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp esi, 0x4e
ja 0x437608
je 0x4375a6
cmp esi, 5
je 0x43757c
cmp esi, 0x10
je 0x437534
cmp esi, 0x18
jne 0x437619
mov eax, dword [edi]
call dword [eax + 8]
mov ecx, edi
call fcn.00437480
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 0xc
mov eax, dword [edi]
call dword [eax + 0xc]
cmp dword [edi + 0x24], 0
push 0
jne 0x43755d
call dword [sym.imp.USER32.dll_PostQuitMessage]
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 0xc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
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 0xc
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov edx, dword [edi]
shr eax, 0x10
push eax
movzx eax, cx
mov ecx, edi
push eax
call dword [edx + 4]
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 0xc
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
cmp eax, edx
je 0x437622
mov esi, dword [ebp + 0x10]
mov ebx, dword [esi]
mov ecx, dword [eax]
cmp ebx, dword [ecx + 4]
je 0x4375fc
add eax, 4
cmp eax, edx
jne 0x4375b5
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
cmp eax, edx
je 0x43775b
mov ecx, dword [eax]
cmp esi, dword [ecx + 4]
je 0x437697
add eax, 4
cmp eax, edx
jne 0x4375d4
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 0xc
mov eax, dword [ecx]
mov ebx, dword [ebp + 0xc]
push esi
push ebx
call dword [eax + 0xc]
jmp 0x4375c6
cmp esi, 0x7b
je 0x4376b3
cmp esi, 0x111
je 0x437622
push dword [ebp + 0x10]
push ebx
jmp 0x4376da
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4375c6
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
cmp eax, edx
je 0x43775b
mov esi, dword [edi + 0x28]
nop word [eax + eax]
mov ecx, dword [eax]
cmp esi, dword [ecx + 4]
je 0x437664
add eax, 4
cmp eax, edx
jne 0x437640
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 0xc
cmp byte [ecx + 0x1c], 0
je 0x43775b
add ecx, 0xc
cmp byte [ecx + 0x10], 0
je 0x437771
push ebx
call fcn.00416b20
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 0xc
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
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 0xc
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
je 0x4376d4
mov edx, ebx
mov ebx, dword [eax]
cmp edx, dword [ebx + 4]
je 0x4376f8
add eax, 4
cmp eax, ecx
jne 0x4376c6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x437776
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
call dword [eax + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0xc]
call fcn.00436620
cmp byte [ebp - 0x14], 0
je 0x4376d4
mov esi, dword [edi + 4]
lea ecx, [ebp - 0x24]
call fcn.00417170
mov edx, dword [ebp + 0x10]
mov ecx, edx
push 0
push esi
push 0
shr ecx, 0x10
push ecx
movzx ecx, dx
push ecx
push 2
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp byte [ebp - 0x14], 0
mov eax, dword [ebx + 4]
mov dword [edi + 0x28], eax
je 0x43775b
lea ecx, [ebp - 0x24]
call fcn.004370d0
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 0xc
call fcn.0042f9e0
call fcn.0044e75f
int3