Function at 0x4d6461
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov esi, ecx
test dl, dl
je 0x4d6742
mov eax, dword [esi + 0xac]
and dword [esp + 0x68], 0
and dword [esp + 0x30], 0
and dword [esp + 0x38], 0
and dword [esp + 0x70], 0
and dword [esp + 0x78], 0
and dword [esp + 0x98], 0
and dword [esp + 0x6c], 0
and dword [esp + 0x34], 0
and dword [esp + 0x3c], 0
and dword [esp + 0x74], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x9c], 0
mov dword [esp + 0x20], edx
test eax, eax
je 0x4d64e2
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
lea edi, [esp + 0x68]
push ecx
push edx
push edi
push edi
push dword [eax + 8]
call sub.kernel32.dll_GetProcessTimes
lea ecx, [esp + 0x98]
lea edi, [esp + 0x78]
lea eax, [esp + 0x70]
push ecx
push edi
push eax
call sub.kernel32.dll_GetSystemTimes
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp ebx, eax
mov edx, edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
sbb edx, ecx
mov edx, 0
cmovb eax, edx
cmovb ecx, edx
sub ebx, eax
lea eax, [esp + 0x98]
sbb edi, ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24], ebx
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
cmp ecx, eax
mov ecx, edx
sbb ecx, ebx
mov ecx, 0
mov edi, dword [esp + 0x2c]
cmovb ebx, ecx
cmovb eax, ecx
mov ecx, dword [esi + 8]
sub edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esi], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 4], ecx
mov dword [esi + 0x1c], edx
sbb edx, ebx
mov dword [esp + 0x10], ecx
mov ecx, edi
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x54]
mov ebx, edx
or ecx, dword [esp + 0x24]
or ebx, dword [esp + 0x28]
mov dword [esi + 0x14], eax
or ecx, ebx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x10], ecx
je 0x4d6733
xor ecx, ecx
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
dec ecx
add edi, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
cmovb edi, ecx
cmovb edx, ecx
cmp dword [esp + 0xc], ebx
mov ecx, eax
movd xmm0, edi
mov edi, dword [esp + 0x48]
movd xmm1, edx
punpckldq xmm0, xmm1
sbb ecx, edi
mov ecx, 0
cmovb ebx, ecx
cmovb edi, ecx
sub dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x4c]
sbb eax, edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x14], edi
mov ecx, eax
sbb ecx, ebx
mov ecx, 0
cmovb edi, ecx
cmovb ebx, ecx
sub dword [esp + 0x14], edi
movq qword [esp + 0x90], xmm0
fild qword [esp + 0x90]
fnstcw word [esp + 0xa]
movzx ecx, word [esp + 0xa]
sbb eax, ebx
shr edx, 0x1f
or ecx, 0x300
mov word [esp + 0x1e], cx
mov ecx, 0xffffffff
fldcw word [esp + 0x1e]
fadd dword [edx*4 + 0x511830]
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0xc]
adc eax, dword [esp + 0x10]
fldcw word [esp + 0xa]
cmovb eax, ecx
cmovb edx, ecx
fstp dword [esp + 0x60]
movd xmm0, eax
movd xmm1, edx
shr eax, 0x1f
punpckldq xmm1, xmm0
movq qword [esp + 0x88], xmm1
fild qword [esp + 0x88]
fnstcw word [esp + 8]
movzx ecx, word [esp + 8]
or ecx, 0x300
mov word [esp + 0x1c], cx
mov ecx, dword [ebp + 0xc]
fldcw word [esp + 0x1c]
movd xmm2, ecx
shr ecx, 0x1f
fadd dword [eax*4 + 0x511830]
fldcw word [esp + 8]
mov eax, dword [ebp + 8]
fstp dword [esp + 0x5c]
movd xmm1, eax
movss xmm0, dword [esp + 0x5c]
punpckldq xmm1, xmm2
divss xmm0, dword [esp + 0x60]
movq qword [esp + 0x80], xmm1
fild qword [esp + 0x80]
fnstcw word [esp + 6]
movzx eax, word [esp + 6]
mulss xmm0, dword [0x511838]
or eax, 0x300
mov word [esp + 0x1a], ax
fldcw word [esp + 0x1a]
fadd dword [ecx*4 + 0x511830]
fldcw word [esp + 6]
fstp dword [esp + 0x64]
mulss xmm0, dword [esp + 0x64]
jmp 0x4d6736
xorps xmm0, xmm0
mov edx, dword [esp + 0x20]
movss dword [esi + 0xb0], xmm0
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
test dx, 0xff00
je 0x4d67b1
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4d67b1
lea ecx, [esp + 0x98]
push ecx
push dword [eax + 8]
call sub.kernel32.dll_GetProcessIoCounters
test eax, eax
je 0x4d67b1
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
movsd xmm0, qword [esp + 0xb0]
movq xmm1, qword [esp + 0xb8]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
movq xmm2, qword [esi + 0x90]
movq qword [esi + 0x80], xmm2
movsd qword [esi + 0x88], xmm0
movq qword [esi + 0x90], xmm1
xor eax, eax
sub edi, dword [esi + 0x68]
sbb ebx, dword [esi + 0x6c]
cmovb edi, eax
cmovb ebx, eax
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], edi
mov byte [esi + 0xd8], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret