Function at 0x436e00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x496240]
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 0x436f48
je 0x436ee6
cmp esi, 5
je 0x436ebc
cmp esi, 0x10
je 0x436e74
cmp esi, 0x18
jne 0x436f59
mov eax, dword [edi]
call dword [eax + 8]
mov ecx, edi
call fcn.00436dc0
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 0x436e9d
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 0x436f62
mov esi, dword [ebp + 0x10]
mov ebx, dword [esi]
mov ecx, dword [eax]
cmp ebx, dword [ecx + 4]
je 0x436f3c
add eax, 4
cmp eax, edx
jne 0x436ef5
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
cmp eax, edx
je 0x43709b
mov ecx, dword [eax]
cmp esi, dword [ecx + 4]
je 0x436fd7
add eax, 4
cmp eax, edx
jne 0x436f14
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 0x436f06
cmp esi, 0x7b
je 0x436ff3
cmp esi, 0x111
je 0x436f62
push dword [ebp + 0x10]
push ebx
jmp 0x43701a
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x436f06
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
cmp eax, edx
je 0x43709b
mov esi, dword [edi + 0x28]
nop word [eax + eax]
mov ecx, dword [eax]
cmp esi, dword [ecx + 4]
je 0x436fa4
add eax, 4
cmp eax, edx
jne 0x436f80
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 0x43709b
add ecx, 0xc
cmp byte [ecx + 0x10], 0
je 0x4370b1
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 0x437014
mov edx, ebx
mov ebx, dword [eax]
cmp edx, dword [ebx + 4]
je 0x437038
add eax, 4
cmp eax, ecx
jne 0x437006
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 0x4370b6
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.00435f60
cmp byte [ebp - 0x14], 0
je 0x437014
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 0x43709b
lea ecx, [ebp - 0x24]
call fcn.00436a10
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.0042f420
call fcn.0044eff1
int3