Function at 0x4e94b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54ec46
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push 0x7c
mov dword [esp + 0x30], 0xffffffff
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x198], str.cbfxPopMenu
call fcn.004ffcfe
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x78], 0
test eax, eax
je 0x4e9543
mov ecx, eax
call fcn.004d44a0
jmp 0x4e9545
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
push 0xc
mov dword [esi + 0x19c], eax
call fcn.004ffcfe
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x78], 1
test eax, eax
je 0x4e9583
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x4e9585
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
cmp dword [esi + 0x19c], 0
mov dword [esi + 0x1a4], eax
je 0x4e992a
test eax, eax
je 0x4e992a
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xc8]
mov ecx, dword [ebp + 0x24]
add eax, 8
add eax, ecx
mov dword [esi + 0xc4], 4
mov dword [esp + 0x18], eax
xor ebx, ebx
mov dword [esi + 0xc8], 4
lea eax, [ecx + 4]
mov dword [esi + 0xcc], 4
mov dword [esi + 0xc0], eax
mov eax, 0x6bca1af3
mov dword [esi + 0x1c0], 1
mov dword [esi + 0x1c4], 0x18
mov dword [esi + 0x1c8], 3
mov dword [esi + 0x1cc], 7
mov dword [esi + 0x1d4], 0x190
mov dword [esi + 0x1d8], 0x190
mov dword [esi + 0x1f4], edi
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1d0], 3
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4e96cb
mov dword [esp + 0x14], ebx
jmp 0x4e9660
mov ecx, dword [edi + 8]
mov eax, 0x6bca1af3
sub ecx, dword [edi + 4]
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x4e9686
mov eax, dword [edi + 4]
add eax, ecx
jmp 0x4e9688
xor eax, eax
mov eax, dword [eax]
test eax, eax
jle 0x4e96a8
cmp eax, 3
jle 0x4e96a1
cmp eax, 4
jne 0x4e96a8
add dword [esi + 0x1f0], 3
jmp 0x4e96a8
add dword [esi + 0x1f0], 0x18
add ecx, 0x4c
mov eax, 0x6bca1af3
mov dword [esp + 0x14], ecx
inc ebx
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4e9660
push 0
lea eax, [esp + 0x5c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1f0]
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x18]
lea eax, [eax + ecx*2]
sub ebx, dword [esp + 0x5c]
add eax, 6
mov dword [esp + 0x20], eax
lea eax, [edx - 0x64]
cmp edi, eax
cmovg edi, eax
lea eax, [ecx + ecx]
mov dword [esp + 0x18], edi
sub edi, eax
sub edi, dword [ebp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x1ec], edi
mov edi, dword [ebp + 0x14]
lea eax, [ecx + edi]
cmp eax, edx
jle 0x4e9742
sub edi, ecx
mov dword [esp + 0x14], 1
mov eax, 0x32
cmovs edi, eax
jmp 0x4e974a
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x20]
lea eax, [ebx - 0x14]
mov dword [ebp + 0x14], edi
cmp ecx, eax
jge 0x4e9793
mov edx, dword [ebp + 0x18]
lea eax, [ecx + edx]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jge 0x4e977a
lea eax, [ebx - 0xa]
cmp dword [esp + 0x1c], eax
jle 0x4e9776
sub ebx, ecx
sub ebx, 0xa
jmp 0x4e979e
mov ebx, edx
jmp 0x4e979e
mov ebx, edx
mov eax, 0xa
sub ebx, ecx
cmp ebx, eax
cmovl ebx, eax
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
jmp 0x4e97aa
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
add ebx, 0xa
xor eax, eax
cmp dword [esp + 0x14], eax
setne al
add eax, 2
mov ecx, dword [esi + 0x1a4]
xorps xmm0, xmm0
mov dword [esi + 0x1ac], eax
lea eax, [esp + 0x1c]
push eax
movdqu xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 0
mov dword [esp + 0x20], esi
call fcn.00427040
mov edx, dword [esp + 0x18]
lea eax, [edi + 3]
mov dword [esi + 0x1dc], eax
lea ecx, [ebx + 3]
add edx, 0xfffffffa
mov edi, dword [esi + 0x19c]
add eax, edx
mov dword [esi + 0x1e0], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x1e4], eax
lea eax, [edx - 6]
add eax, ecx
mov dword [esi + 0x1e8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x208], eax
lea eax, [esp + 0x30]
push eax
push ecx
push 0x8000088
push 0x86000000
push edx
push dword [esp + 0x2c]
push ebx
push dword [ebp + 0x14]
push 0x56c344
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [esp + 0x4c]
mov ecx, edi
push eax
push str.cbfxPopMenu
push ebx
push esi
call fcn.004d46a0
test eax, eax
je 0x4e992a
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4e986f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov dword [edi], eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x3c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x211
push ebx
call edi
push 0
push 0
push 0x116
push ebx
call edi
push 0
push 0
push 0x117
push ebx
call edi
mov eax, dword [esi + 0x64]
test al, al
js 0x4e98be
or eax, 0x80
mov ecx, esi
push 0
mov dword [esi + 0x64], eax
mov eax, dword [esi]
push 9
push 0xbc3
call dword [eax + 0x10]
mov ecx, esi
call fcn.004e8ec0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e98d3
mov dword [eax], 0
push 0
push 0
push 0x212
push ebx
call edi
push esi
mov ecx, esi
call fcn.004ea270
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x4e991d
mov eax, dword [edi]
test eax, eax
je 0x4e9914
push eax
call fcn.0051d3d0
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push edi
call fcn.0051d3d0
add esp, 4
mov ecx, esi
call fcn.004e8af0
mov eax, dword [esp + 0x2c]
jmp 0x4e997b
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x4e993b
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
mov edi, dword [esi + 0x1a4]
test edi, edi
je 0x4e9971
mov eax, dword [edi]
test eax, eax
je 0x4e9968
push eax
call fcn.0051d3d0
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push edi
call fcn.0051d3d0
add esp, 4
mov ecx, esi
call fcn.004e8af0
or eax, 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 0x3c