Function at 0x48c080
Capabilities:
Check processdebugport
Encode data using base64
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xbc
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [edx + 0x48]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x14], edx
push edi
cmp dword [esi + 0x10], 0
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x50]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
je 0x48c0e2
movzx ecx, word [edx + 0x38]
test cx, cx
jne 0x48c0cc
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x48c109
mov eax, dword ds:[edx + 0x3c]
mov dword [esp + 0x98], eax
mov eax, ecx
mov dword [esp + 0x94], eax
jmp 0x48c0f8
mov dword [esp + 0x98], str.System_Idle_Process
mov dword [esp + 0x94], 0x26
push 0
push 0
lea eax, [esp + 0x9c]
push eax
call sym.SystemInformer.exe_Ordinal_1331
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x48c13c
push 0xa
lea eax, [esi + 0xb0]
push eax
push ecx
call fcn.005880c8
add esp, 0xc
lea eax, [esi + 0xca]
push 0x10
push eax
push dword [esi + 0x10]
call fcn.005880c8
add esp, 0xc
mov eax, dword ds:[esi + 0x10]
test eax, eax
jle 0x48c174
push eax
push 0x400
lea edi, [esi + 0x28]
push edi
call sym.SystemInformer.exe_Ordinal_1560
test eax, eax
js 0x48c161
or dword [esi + 0x98], 0x80
cmp dword [edi], 0
jne 0x48c174
push dword [esi + 0x10]
push 0x1000
push edi
call sym.SystemInformer.exe_Ordinal_1560
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c22a
push 0
push 0x20
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], 0x20
push ecx
push 0
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
nop
test eax, eax
js 0x48c22a
mov edx, dword [esp + 0xc0]
mov ecx, edx
mov eax, dword [esi + 0x98]
and ecx, 1
and eax, 0xffffdfff
shl ecx, 0xd
or ecx, eax
mov eax, edx
and eax, 0x80
and ecx, 0xffffbfff
shl eax, 7
or eax, ecx
mov ecx, edx
and eax, 0xffff7fff
and ecx, 0x100
shl ecx, 7
or ecx, eax
mov eax, edx
and eax, 2
and ecx, 0xfffffdff
shl eax, 8
or eax, ecx
mov ecx, edx
and eax, 0xfffeffff
and ecx, 0x40
shl ecx, 0xa
or ecx, eax
mov eax, edx
and eax, 8
and ecx, 0xfffbffff
shl eax, 0xf
and edx, 0x20
or eax, ecx
shl edx, 0xc
and eax, 0xfffdffff
or edx, eax
mov dword [esi + 0x98], edx
mov eax, dword [esi + 0x10]
cmp eax, 4
je 0x48c26f
test eax, eax
jle 0x48c288
lea ecx, ds:[esp + 0x1c]
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1531
test eax, eax
js 0x48c250
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c288
lea ecx, ds:[esp + 0x1c]
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1532
test eax, eax
js 0x48c288
mov eax, dword [esp + 0x1c]
jmp 0x48c285
call sym.SystemInformer.exe_Ordinal_1514
test eax, eax
je 0x48c288
push eax
mov dword [esi + 0x30], eax
call sym.SystemInformer.exe_Ordinal_1509
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c448
cmp dword [0x635a54], 3
lea ecx, ds:[esp + 0x1c]
push ecx
jl 0x48c2b0
mov edx, 8
mov ecx, eax
call fcn.00524980
jmp 0x48c2cb
push 8
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcessToken]
nop dword [eax]
cmp eax, 0xc0000022
je 0x48c4c6
test eax, eax
js 0x48c4c6
lea eax, [esp + 0x8c]
push eax
push 0x4c
lea eax, [esp + 0x30]
push eax
push 1
push dword [esp + 0x2c]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48c32f
mov ebp, dword [esp + 0x28]
movzx eax, byte [ebp + 1]
lea ebx, [eax*4 + 8]
push ebx
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ebx
mov edi, eax
push ebp
push edi
call fcn.00586330
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [esi + 0x50], edi
call fcn.0048b6a0
mov dword [esi + 0x2d4], eax
lea eax, [esp + 0x8c]
push eax
push 4
lea eax, [esp + 0x90]
push eax
push 0x12
push dword [esp + 0x2c]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48c35b
mov eax, dword [esp + 0x88]
mov dword [esi + 0x54], eax
lea eax, [esp + 0x8c]
push eax
push 4
lea eax, [esp + 0x88]
push eax
push 0x14
push dword [esp + 0x2c]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48c39c
mov ecx, dword [esp + 0x80]
mov eax, dword [esi + 0x98]
neg ecx
sbb ecx, ecx
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
mov dword [esi + 0x98], ecx
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x24]
call sym.SystemInformer.exe_Ordinal_1544
test eax, eax
js 0x48c3cd
mov eax, dword [esp + 0x80]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x5c], eax
lea eax, [esp + 0x8c]
push eax
push 4
lea eax, [esp + 0x8c]
push eax
push 0x1a
push dword [esp + 0x2c]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48c413
cmp dword [esp + 0x84], 0
setne al
movzx ecx, al
mov eax, dword [esi + 0x98]
shl ecx, 0x15
and eax, 0xffdfffff
or ecx, eax
mov dword [esi + 0x98], ecx
cmp dword [0x62db64], 0x3e
jb 0x48c437
test dword [esi + 0x98], 0x10000
je 0x48c437
mov ecx, dword [esp + 0x1c]
call fcn.00516ae0
mov dword [esi + 0x2d0], eax
push dword ds:[esp + 0x1c]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x48c4c6
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48c454
cmp eax, 4
jne 0x48c4c6
cmp dword [esi + 0x50], 0
jne 0x48c482
push 0xc
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
movq xmm0, qword [0x5d95a4]
movq qword [eax], xmm0
mov ecx, dword [0x5d95ac]
mov dword [eax + 8], ecx
mov dword [esi + 0x50], eax
cmp dword [esi + 0x2d4], 0
jne 0x48c4bc
mov eax, dword [0x6347c4]
test eax, eax
je 0x48c4b4
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x5d95a4
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1365
test eax, eax
je 0x48c4b4
mov eax, dword [eax + 4]
lock inc dword [eax - 4]
jmp 0x48c4b6
xor eax, eax
mov dword [esi + 0x2d4], eax
or dword [esi + 0x98], 0x8000000
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x48c4dc
push eax
push dword [esi + 0x10]
call sym.SystemInformer.exe_Ordinal_1060
mov dword [esi + 0x320], eax
mov eax, dword ds:[esi + 0x28]
test eax, eax
je 0x48c534
cmp dword [0x62db64], 0x3f
jb 0x48c516
push 0
push 1
lea ecx, [esp + 0x87]
push ecx
push 0x3d
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48c53b
mov al, byte [esp + 0x7f]
mov byte [esi + 0x324], al
jmp 0x48c53b
test dword [esi + 0x98], 0x2000
je 0x48c53b
mov al, byte [esi + 0x324]
and al, 0xfa
or al, 2
mov byte [esi + 0x324], al
jmp 0x48c53b
mov byte [esi + 0x324], 0xff
cmp dword [0x62db64], 0x3f
jb 0x48c62d
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c62d
test dword [0x633778], 0x80000
nop dword [eax]
je 0x48c62d
push 0
push 8
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], 7
push ecx
push 0x34
push eax
mov dword [esp + 0xa4], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48c5b7
mov al, byte [esp + 0x90]
and al, 1
movzx ecx, al
mov eax, dword [esi + 0x98]
shl ecx, 0x16
and eax, 0xffbfffff
or ecx, eax
mov dword [esi + 0x98], ecx
cmp dword [0x62db64], 0x72
nop
jb 0x48c62d
push 0
push 8
lea eax, [esp + 0x9c]
mov dword [esp + 0x9c], 7
push eax
push 0x34
push dword [esi + 0x28]
mov dword [esp + 0xac], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48c62d
mov edx, dword [esp + 0x98]
mov ecx, edx
mov eax, dword [esi + 0x98]
shr ecx, 3
movzx ecx, cl
shl ecx, 0x18
xor ecx, eax
shr edx, 4
and ecx, 0x1000000
xor ecx, eax
movzx eax, dl
shl eax, 0x19
xor eax, ecx
and eax, 0x2000000
xor eax, ecx
mov dword [esi + 0x98], eax
cmp dword [0x62db64], 0x6d
jb 0x48c6cc
test dword [0x633778], 0x100000
je 0x48c6cc
cmp dword [esi + 0x10], 4
jne 0x48c67d
push 0
push 4
lea eax, [esp + 0x8c]
push eax
push 0xdd
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x48c6cc
mov ecx, dword [esp + 0x84]
and ecx, 0x100
shl ecx, 0xf
jmp 0x48c6b9
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c6cc
push 0
push 8
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa4], 0xf
push ecx
push 0x34
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48c6cc
mov al, byte [esp + 0xa0]
and al, 1
movzx ecx, al
shl ecx, 0x17
mov eax, dword [esi + 0x98]
and eax, 0xff7fffff
or ecx, eax
mov dword [esi + 0x98], ecx
cmp dword [0x62db64], 0x71
jb 0x48c717
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x48c717
test dword [esi + 0x98], 0x8000
je 0x48c717
cmp dword [0x635a54], 3
jl 0x48c717
push ecx
push 4
lea eax, [esp + 0x88]
mov edx, 0xd
push eax
call fcn.005250c0
test eax, eax
js 0x48c717
mov eax, dword [esp + 0x80]
mov dword [esi + 0x33c], eax
cmp dword [0x62db64], 0x64
nop
jb 0x48c8f7
mov ebp, dword [esi + 0x28]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x48c8f7
push 0x4b4
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x4b4
mov ebx, eax
push 0
push ebx
call fcn.005861d0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 0x4b4
push ebx
push 0x40
push ebp
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
xor ebp, ebp
cmp eax, 0xc0000004
jne 0x48c7ce
nop word [eax + eax]
cmp ebp, 8
jae 0x48c8f7
push ebx
push 0
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, dword [esp + 0x1c]
push edi
push 4
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push edi
push ebx
push 0x40
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
inc ebp
cmp eax, 0xc0000004
je 0x48c777
test eax, eax
js 0x48c8f7
lfence
mov ecx, dword [ebx + 0x4c]
mov edi, ecx
mov eax, dword [ebx + 0x48]
sub edi, eax
mov ebp, dword [ebx + 0x54]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x50]
mov edx, eax
sub ebp, eax
mov dword [esp + 0x84], edi
sub edx, ecx
add eax, ebx
add ecx, ebx
mov dword [esp + 0x8c], eax
cmp dword [esi + 0x50], 0
mov eax, dword [ebx + 8]
mov dword [esp + 0x80], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov dword [esi + 0x318], eax
mov dword [esi + 0x31c], ecx
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ecx
mov eax, dword [ebx + 0x40]
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x88], edx
mov dword [esi + 0x84], eax
jne 0x48c8a3
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.ntdll.dll_RtlValidSid]
test al, al
je 0x48c89c
push edi
push 4
lfence
push dword [0x633a54]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push dword [esp + 0x84]
mov edi, eax
push ebx
push edi
call fcn.00586330
add esp, 0xc
mov dword [esi + 0x50], edi
mov edx, dword [esp + 0x88]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x48c8af
cmp dword [eax], 0
jne 0x48c8ca
cmp edx, 2
jbe 0x48c8ca
lea eax, [edx - 2]
push eax
lfence
push dword [esp + 0x84]
call sym.SystemInformer.exe_Ordinal_1330
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x2d0]
test eax, eax
je 0x48c8d9
cmp dword [eax], 0
jne 0x48c8f7
cmp ebp, 2
jbe 0x48c8f7
lea eax, [ebp - 2]
push eax
lfence
push dword [esp + 0x90]
call sym.SystemInformer.exe_Ordinal_1330
mov dword [esi + 0x2d0], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x30]
add ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x34]
adc eax, dword [edx + 0x2c]
or ecx, eax
jne 0x48c92f
cmp dword [edx + 4], ecx
jne 0x48c92f
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c92f
or dword [esi + 0x98], 0x80000
push eax
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [esi + 0x28], 0
mov ecx, dword ds:[esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f9f
add esp, 0xbc
ret