Function at 0x48bfa0
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 0x48c002
movzx eax, word [edx + 0x38]
mov ecx, eax
test ax, ax
jne 0x48bfee
call sym.SystemInformer.exe_Ordinal_1430
jmp 0x48c029
mov eax, dword ds:[edx + 0x3c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
jmp 0x48c018
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 ecx, esi
mov edx, 0x18
mov dword [ecx + edx], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x48c060
push 0xa
lea eax, [esi + 0xb0]
push eax
push ecx
call fcn.005880a8
add esp, 0xc
lea eax, [esi + 0xca]
push 0x10
push eax
push dword [esi + 0x10]
call fcn.005880a8
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x48c097
push eax
push 0x400
lea edi, [esi + 0x28]
push edi
call sym.SystemInformer.exe_Ordinal_1560
test eax, eax
js 0x48c084
or dword [esi + 0x98], 0x80
cmp dword [edi], 0
jne 0x48c097
push dword [esi + 0x10]
push 0x1000
push edi
call sym.SystemInformer.exe_Ordinal_1560
mov eax, dword ds:[esi + 0x28]
test eax, eax
je 0x48c15b
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]
test eax, eax
js 0x48c15b
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 eax, dword [esp + 0xb0]
mov dword [esi + 0x98], edx
jmp 0x48c160
mov eax, dword [0x633ba4]
mov dword [esi + 0x100], eax
mov eax, dword [esi + 0x10]
cmp eax, 4
je 0x48c1ee
test eax, eax
jle 0x48c208
lea ecx, [esp + 0x1c]
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1531
test eax, eax
js 0x48c190
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c208
lea ecx, ds:[esp + 0x1c]
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1532
test eax, eax
js 0x48c1b2
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
jmp 0x48c1b5
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x48c208
nop dword [eax]
test eax, eax
je 0x48c1c9
cmp dword [eax], 0
jne 0x48c208
push ecx
call sym.SystemInformer.exe_Ordinal_1509
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x2c], eax
test ecx, ecx
je 0x48c208
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x48c208
call fcn.004fe0c0
jmp 0x48c208
call sym.SystemInformer.exe_Ordinal_1514
test eax, eax
je 0x48c208
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 0x48c3cc
cmp dword [0x635a90], 3
lea ecx, ds:[esp + 0x1c]
push ecx
jl 0x48c230
mov edx, 8
mov ecx, eax
call fcn.005248c0
jmp 0x48c24b
push 8
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcessToken]
nop dword [eax]
cmp eax, 0xc0000022
je 0x48c44e
test eax, eax
js 0x48c44e
lea eax, [esp + 0x88]
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 0x48c2af
mov ebp, dword [esp + 0x28]
movzx eax, byte [ebp + 1]
lea ebx, [eax*4 + 8]
push ebx
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push ebx
mov edi, eax
push ebp
push edi
call fcn.00586310
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [esi + 0x50], edi
call fcn.0048b5c0
mov dword [esi + 0x2d4], eax
lea eax, [esp + 0x88]
push eax
push 4
lea eax, [esp + 0x98]
push eax
push 0x12
push dword [esp + 0x2c]
call dword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x48c2db
mov eax, dword [esp + 0x90]
mov dword [esi + 0x54], eax
lea eax, [esp + 0x88]
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 0x48c31c
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 0x48c34d
mov eax, dword [esp + 0x80]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x5c], eax
lea eax, [esp + 0x88]
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 0x48c399
cmp dword [esp + 0x84], 0
mov edx, 0x200000
setne al
xor ecx, ecx
test al, al
mov eax, dword [esi + 0x98]
cmovne ecx, edx
and eax, 0xffdfffff
or ecx, eax
mov dword [esi + 0x98], ecx
cmp dword [0x62db64], 0x3e
jb 0x48c3bd
test dword [esi + 0x98], 0x10000
je 0x48c3bd
mov ecx, dword [esp + 0x1c]
call fcn.00516a00
mov dword [esi + 0x2d0], eax
push dword [esp + 0x1c]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x48c44e
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48c3dc
cmp eax, 4
jne 0x48c44e
cmp dword [esi + 0x50], 0
jne 0x48c40a
push 0xc
push 4
push dword [0x633a74]
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 0x48c444
mov eax, dword [0x6347e4]
test eax, eax
je 0x48c43c
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x5d95a4
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1365
test eax, eax
je 0x48c43c
mov eax, dword [eax + 4]
lock inc dword [eax - 4]
jmp 0x48c43e
xor eax, eax
mov dword [esi + 0x2d4], eax
or dword [esi + 0x98], 0x8000000
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x48c464
push eax
push dword [esi + 0x10]
call sym.SystemInformer.exe_Ordinal_1060
mov dword [esi + 0x320], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c4b7
cmp dword [0x62db64], 0x3f
jb 0x48c499
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 0x48c4be
mov al, byte [esp + 0x7f]
mov byte [esi + 0x324], al
jmp 0x48c4be
test dword [esi + 0x98], 0x2000
je 0x48c4be
mov al, byte [esi + 0x324]
and al, 0xfa
or al, 2
mov byte [esi + 0x324], al
jmp 0x48c4be
mov byte [esi + 0x324], 0xff
cmp dword [0x62db64], 0x3f
jb 0x48c5b1
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c5b1
test dword [0x633798], 0x80000
je 0x48c5b1
push 0
push 8
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], 7
push ecx
push 0x34
push eax
mov dword [esp + 0xa0], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x48c537
mov al, byte [esp + 0x8c]
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 0x48c5b1
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 0x48c5b1
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 0x48c652
test dword [0x633798], 0x100000
je 0x48c652
cmp dword [esi + 0x10], 4
jne 0x48c605
push 0
push 4
lea eax, [esp + 0x8c]
push eax
push 0xdd
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x48c652
mov ecx, dword [esp + 0x84]
and ecx, 0x100
shl ecx, 0xf
jmp 0x48c63f
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c652
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 0x48c652
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 0x48c69f
mov ecx, dword ds:[esi + 0x28]
test ecx, ecx
je 0x48c69f
test dword [esi + 0x98], 0x8000
je 0x48c69f
cmp dword [0x635a90], 3
jl 0x48c69f
push ecx
push 4
lea eax, [esp + 0x88]
mov edx, 0xd
push eax
call fcn.00525000
test eax, eax
js 0x48c69f
mov eax, dword [esp + 0x80]
mov dword [esi + 0x33c], eax
cmp dword [0x62db64], 0x64
jb 0x48c877
mov ebp, dword [esi + 0x28]
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x48c877
push 0x4b4
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x4b4
mov ebx, eax
push 0
push ebx
call fcn.005861b0
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 0x48c74e
nop dword [eax]
cmp ebp, 8
jae 0x48c877
push ebx
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, dword [esp + 0x1c]
push edi
push 4
push dword [0x633a74]
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 0x48c700
test eax, eax
js 0x48c877
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 + 0x88], 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 + 0x90], edx
mov dword [esi + 0x84], eax
jne 0x48c823
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.ntdll.dll_RtlValidSid]
test al, al
je 0x48c81c
push edi
push 4
lfence
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push dword [esp + 0x84]
mov edi, eax
push ebx
push edi
call fcn.00586310
add esp, 0xc
mov dword [esi + 0x50], edi
mov edx, dword [esp + 0x90]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x48c82f
cmp dword [eax], 0
jne 0x48c84a
cmp edx, 2
jbe 0x48c84a
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 0x48c859
cmp dword [eax], 0
jne 0x48c877
cmp ebp, 2
jbe 0x48c877
lea eax, [ebp - 2]
push eax
lfence
push dword [esp + 0x8c]
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 0x48c8af
cmp dword [edx + 4], ecx
jne 0x48c8af
mov eax, dword [esi + 0x28]
test eax, eax
je 0x48c8af
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.00583f7f
add esp, 0xbc
ret