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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x5ac004]
xor eax, esp
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
push esi
push edi
test ebx, ebx
je 0x4cf097
cmp dword [ebx], 0
je 0x4cf097
mov edi, dword [ebx]
lea eax, [esp + 0x78]
mov ebx, dword [ebx + 4]
push 0xc8
push 0
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0
call fcn.0051fd40
xor esi, esi
add esp, 0xc
mov dword [esp + 0x1c], esi
test edi, edi
je 0x4cef06
cmp word [ebx], 0x40
jne 0x4cef06
lea eax, [esp + 0xc]
add ebx, 2
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x14], ebx
push eax
push 0x7c
lea eax, [esp + 0x18]
sub edi, 2
push eax
mov dword [esp + 0x1c], edi
call sym.ProcessHacker.exe_PhSplitStringRefAtChar
cmp dword [esp + 0x30], esi
je 0x4cf097
lea eax, [esp + 0x28]
push eax
push 0xa
lea eax, [esp + 0x38]
push eax
call sym.ProcessHacker.exe_PhStringToInteger64
test al, al
je 0x4cf097
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
jmp 0x4cef0b
mov eax, dword [sym.ProcessHacker.exe_PhGlobalDpi]
mov dword [esp + 0x14], eax
test edi, edi
je 0x4cf069
push 0
push 0x7c
lea eax, [esp + 0x14]
push eax
call sym.ProcessHacker.exe_PhFindCharInStringRef
mov dword [esp + 0x24], ebx
cmp eax, 0xffffffff
jne 0x4cef36
mov esi, edi
xor ebx, ebx
xor edi, edi
jmp 0x4cef43
lea esi, [eax + eax]
add ebx, 2
sub edi, esi
add ebx, esi
sub edi, 2
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], esi
test esi, esi
je 0x4cf097
push 0
push 0x2c
lea eax, [esp + 0x28]
push eax
call sym.ProcessHacker.exe_PhFindCharInStringRef
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
cmp ecx, 0xffffffff
jne 0x4cef82
mov ecx, esi
mov dword [esp + 0x2c], 0
xor esi, esi
jmp 0x4cef92
add ecx, ecx
add eax, 2
add eax, ecx
sub esi, ecx
mov dword [esp + 0x2c], eax
sub esi, 2
mov dword ds:[esp + 0x28], esi
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4cf097
test esi, esi
je 0x4cf097
lea eax, ds:[esp + 0x30]
push eax
push 0xa
lea eax, [esp + 0x44]
push eax
call sym.ProcessHacker.exe_PhStringToInteger64
test al, al
je 0x4cf097
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
cmp eax, 0x32
jae 0x4cefec
mov ecx, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x78], ecx
inc eax
cmp esi, eax
cmovb esi, eax
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x30]
push eax
push 0xa
lea eax, [esp + 0x30]
push eax
call sym.ProcessHacker.exe_PhStringToInteger64
lea ecx, [ecx]
test al, al
je 0x4cf097
mov eax, dword [sym.ProcessHacker.exe_PhGlobalDpi]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp edx, eax
je 0x4cf039
test edx, edx
je 0x4cf039
mul ecx
mov ecx, dword [esp + 0x14]
shr ecx, 1
push 0
push dword [esp + 0x18]
add eax, ecx
adc edx, 0
push edx
push eax
call fcn.0053f070
mov ecx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 2
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
push 0x1060
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [esp + 0x18]
test edi, edi
jne 0x4cef17
lea eax, [esp + 0x78]
push eax
push esi
push 0x103a
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x144]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 8