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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [esp + 0xf0], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 4], ecx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
xor eax, eax
dec eax
lea esi, [esp + 0xc]
mov dword [esi - 4], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x1c], 1
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x78]
push str.prod
call fcn.004025b0
lea ecx, [esp + 0x84]
push edi
call fcn.00420ae0
lea ecx, [esp + 0x90]
push 0x54e2ff
call fcn.004025b0
lea ecx, [esp + 0x9c]
push ebx
call fcn.00420ae0
lea ecx, [esp + 0xa8]
push 0x54e303
call fcn.004025b0
lea ecx, [esp + 0xb4]
push dword [ebp + 0x10]
call fcn.00420ae0
lea ecx, [esp + 0xc0]
push str.plat
call fcn.004025b0
lea ecx, [esp + 0xcc]
push str.Win32
call fcn.004025b0
lea ecx, [esp + 0xd8]
push 0x5460d7
call fcn.004025b0
lea ecx, [esp + 0xe4]
push dword [ebp + 0x14]
call fcn.00420ae0
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi - 4], esi
lea ebx, [esp + 0x44]
lea eax, [esp + edi]
add eax, 0x78
lea ecx, [esp + 8]
push eax
push eax
push esi
push ebx
call fcn.00408a04
add edi, 0x18
cmp edi, 0x78
jne 0x46aedd
mov esi, pe_nt_image_headers32
test byte [esp + esi + 0x6c], 1
je 0x46af10
push dword [esp + esi + 0x74]
call fcn.005128f8
add esp, 4
test byte [esp + esi + 0x60], 1
je 0x46af23
push dword [esp + esi + 0x68]
call fcn.005128f8
add esp, 4
add esi, 0xffffffe8
jne 0x46aefd
xor esi, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
xorps xmm0, xmm0
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x48], xmm0
mov edi, 0x2c
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 4]
call fcn.00440bf0
push edi
push ebx
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x46b0c5
mov eax, dword [esp + 0x6c]
shr eax, 0xc
lea ebx, [esp + 0x30]
push esi
push eax
push ebx
call fcn.004344f0
add esp, 0xc
mov dword [esp + 0x78], str.ProcessPrivateUsage
movsd xmm0, qword [ebx]
movsd qword [esp + 0x7c], xmm0
mov eax, dword [ebx + 8]
mov dword [esp + 0x84], eax
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
lea esi, [esp + 0x20]
lea ecx, [esp + 8]
lea eax, [esp + 0x78]
push eax
push esi
call fcn.0046b2d6
test byte [esp + 0x7c], 1
je 0x46afc4
push dword [esp + 0x84]
call fcn.005128f8
add esp, 4
test byte [esp + 0x30], 1
je 0x46afd7
push dword [esp + 0x38]
call fcn.005128f8
add esp, 4
mov eax, dword [esp + 0x4c]
shr eax, 0xc
xor edi, edi
push edi
push eax
push ebx
call fcn.004344f0
add esp, 0xc
mov dword [esp + 0x78], str.ProcessPeakWorkingSetSize
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x7c], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea ecx, [esp + 8]
lea eax, [esp + 0x78]
push eax
push esi
call fcn.0046b2d6
test byte [esp + 0x7c], 1
je 0x46b03b
push dword [esp + 0x84]
call fcn.005128f8
add esp, 4
test byte [esp + 0x30], 1
je 0x46b04e
push dword [esp + 0x38]
call fcn.005128f8
add esp, 4
mov eax, dword [esp + 0x68]
shr eax, 0xc
xor edi, edi
push edi
push eax
push ebx
call fcn.004344f0
add esp, 0xc
mov dword [esp + 0x78], str.ProcessPeakPagefileUsage
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x7c], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea ecx, [esp + 8]
lea eax, [esp + 0x78]
push eax
push esi
call fcn.0046b2d6
test byte [esp + 0x7c], 1
je 0x46b0b2
push dword [esp + 0x84]
call fcn.005128f8
add esp, 4
test byte [esp + 0x30], 1
je 0x46b0c5
push dword [esp + 0x38]
call fcn.005128f8
add esp, 4
xorps xmm0, xmm0
movups xmmword [esp + 0x9c], xmm0
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0x7c], xmm0
mov dword [esp + 0xac], 0
mov eax, 0x38
mov dword [esp + 0x78], eax
push eax
lea eax, [esp + 0x7c]
push eax
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x46b1df
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x7c]
lea ebx, [esp + 0x20]
push eax
push ebx
call fcn.004342c0
add esp, 8
lea esi, [esp + 0x30]
mov dword [esi], str.SystemCommitRemaining
movsd xmm0, qword [ebx]
movsd qword [esi + 4], xmm0
mov eax, dword [ebx + 8]
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea edi, [esp + 0x70]
lea ecx, [esp + 8]
push esi
push edi
call fcn.0046b2d6
test byte [esi + 4], 1
je 0x46b161
push dword [esp + 0x3c]
call fcn.005128f8
add esp, 4
test byte [esp + 0x20], 1
je 0x46b174
push dword [esp + 0x28]
call fcn.005128f8
add esp, 4
push dword [esp + 0x80]
push ebx
call fcn.004342c0
add esp, 8
mov dword [esp + 0x30], str.SystemCommitLimit
movsd xmm0, qword [esp + 0x20]
movsd qword [esp + 0x34], xmm0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 8]
push esi
push edi
call fcn.0046b2d6
test byte [esp + 0x34], 1
je 0x46b1cc
push dword [esp + 0x3c]
call fcn.005128f8
add esp, 4
test byte [esp + 0x20], 1
je 0x46b1df
push dword [esp + 0x28]
call fcn.005128f8
add esp, 4
mov eax, dword [ebp + 0x10]
movzx ebx, byte [eax]
test bl, 1
je 0x46b1f2
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x46b1f5
inc eax
shr ebx, 1
mov dword [esp], eax
lea esi, [eax + ebx]
cmp ebx, 6
jl 0x46b239
mov edi, 0x616e6163
mov ecx, ebx
mov eax, dword [esp]
add ecx, 0xfffffffb
push ecx
push 0x63
push eax
call fcn.00515240
add esp, 0xc
test eax, eax
je 0x46b239
mov ecx, dword [eax]
xor ecx, edi
movzx edx, word [eax + 4]
xor edx, 0x7972
or edx, ecx
je 0x46b27a
inc eax
mov ecx, esi
sub ecx, eax
cmp ecx, 6
jge 0x46b20a
mov edi, 0x1920
cmp ebx, 3
jl 0x46b293
mov eax, dword [esp]
add ebx, 0xfffffffe
push ebx
push 0x64
push eax
call fcn.00515240
add esp, 0xc
test eax, eax
je 0x46b293
movzx ecx, word [eax]
xor ecx, 0x6564
movzx edx, byte [eax + 2]
xor edx, 0x76
or dx, cx
je 0x46b285
inc eax
mov ebx, esi
sub ebx, eax
cmp ebx, 3
jge 0x46b246
jmp 0x46b293
cmp eax, esi
je 0x46b239
cmp eax, dword [esp]
je 0x46b28e
jmp 0x46b239
cmp eax, esi
je 0x46b293
cmp eax, dword [esp]
jne 0x46b293
mov edi, 0x1960
mov edx, dword [esp + 4]
lea eax, [edx + 0x10]
lea ecx, [esp + 0x14]
push eax
lea esi, [esp + 0xc]
push esi
push ecx
push edi
push edx
call fcn.00496590
add esp, 0x14
mov ebx, eax
mov ecx, esi
push dword [esp + 0xc]
call fcn.00408910
mov ecx, dword [esp + 0xf0]
xor ecx, ebp
call fcn.00512931
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10