Function at 0x4c0b40
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov dword [esp + 0x20], edx
mov edi, ecx
mov esi, 0x598864
mov eax, edx
lea esp, [esp]
mov bl, byte [eax]
cmp bl, byte [esi]
jne 0x4c0b82
test bl, bl
je 0x4c0b7c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4c0b82
add eax, 2
add esi, 2
test cl, cl
jne 0x4c0b60
xor eax, eax
jmp 0x4c0b87
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4c0b99
mov eax, 0x4c07c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4c0d9d
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4c0d9d
cmp eax, 0x7fffffff
jae 0x4c0d9d
add eax, edi
mov dword [esp + 0x10], eax
cmp dword [eax], 0x4550
jne 0x4c0d9d
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4c0d9d
cmp dword [eax + 0x7c], 0
je 0x4c0d9d
movzx ebx, word [ebp + 8]
lea esi, [ecx + edi]
cmp ebx, dword [esi + 0x18]
jae 0x4c0d8b
lfence
mov eax, dword [esi + 0x1c]
mov ecx, edx
add eax, edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x20]
lea eax, [eax + ebx*4]
mov eax, dword [eax + edi]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4c0c3a
mov edi, edi
test dl, dl
je 0x4c0c36
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4c0c3a
add ecx, 2
add eax, 2
test dl, dl
jne 0x4c0c18
xor eax, eax
jmp 0x4c0c3f
sbb eax, eax
or eax, 1
nop
test eax, eax
jne 0x4c0d87
lfence
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ebx*2]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + eax*4]
add ebx, edi
cmp ebx, esi
jb 0x4c0d7c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x7c]
add eax, esi
cmp ebx, eax
jae 0x4c0d7c
mov edi, ebx
lfence
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4c0c81
push dword [0x5cd4f8]
sub edi, ecx
lea esi, [edi + edi]
lea eax, [esi + 0xa]
push eax
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, eax
xor edx, edx
lea eax, [ecx + 8]
mov dword [esp + 0x10], ecx
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov word [eax + esi], dx
push dword [ecx + 4]
push edi
push ebx
call sym.ProcessHacker.exe_PhZeroExtendToUtf16Buffer
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x2e
push edi
call sym.ProcessHacker.exe_PhSplitStringRefAtChar
test al, al
je 0x4c0d76
push dword [esp + 0x18]
push dword [esp + 0x20]
call sym.ProcessHacker.exe_PhCreateStringEx
push dword [esp + 0x20]
mov esi, eax
push dword [esp + 0x28]
mov dword [esp + 0x20], esi
call sym.ProcessHacker.exe_PhConvertUtf16ToUtf8Ex
mov ecx, dword ds:[esi + 4]
mov dword [esp + 0x14], eax
call fcn.004c05e0
mov esi, eax
test esi, esi
jne 0x4c0d1d
mov eax, dword [esp + 0x18]
push dword [eax + 4]
call sym.ProcessHacker.exe_PhLoadLibrary
mov esi, eax
test esi, esi
je 0x4c0d64
mov edi, dword [esp + 0x14]
mov edi, dword [edi + 4]
cmp byte [edi], 0x23
jne 0x4c0d53
add dword ds:[esp + 0x24], 2
lea eax, [esp + 0x28]
sub dword [esp + 0x20], 2
push eax
push 0xa
lea eax, [esp + 0x28]
push eax
call sym.ProcessHacker.exe_PhStringToInteger64
mov ecx, esi
test al, al
je 0x4c0d55
push dword [esp + 0x28]
xor edx, edx
jmp 0x4c0d59
mov ecx, esi
mov edx, edi
push 0
call fcn.004c0760
mov edi, dword [esp + 0x10]
mov ebx, eax
push dword [esp + 0x14]
call sym.ProcessHacker.exe_PhDereferenceObject
push dword [esp + 0x18]
call sym.ProcessHacker.exe_PhDereferenceObject
push edi
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x20]
push 0
mov ecx, edi
call fcn.004c0760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4