joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488a10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b9839
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebp
push esi
push 0xfde9
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 1
jle 0x488b30
mov edi, eax
lea ebx, [esp + 0x14]
call fcn.0048a2e0
mov dword [esp + 0x24], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ebx, ebx
push ebx
push ebx
push eax
push ecx
push 0xffffffffffffffff
push ebp
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 1
jle 0x488af8
mov ecx, dword [esi]
mov byte [ecx + eax - 1], bl
mov edx, dword [esi]
cmp edx, ebx
jne 0x488ad8
mov ebp, dword [esp + 0x2c]
xor eax, eax
push eax
push edx
mov eax, ebp
call fcn.0040b3e5
jmp 0x488afc
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x488ae0
mov ebp, dword [esp + 0x2c]
sub eax, edi
push eax
push edx
mov eax, ebp
call fcn.0040b3e5
jmp 0x488afc
mov ebp, dword [esp + 0x2c]
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x488b1a
xor edi, edi
call fcn.0048a420
push esi
call fcn.0058125d
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x488b50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b96c9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
call edx
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], esi
push esi
push esi
push 0xffffffffffffffff
push ebp
push esi
push 0xfde9
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 1
jle 0x488c76
mov edi, eax
lea ebx, [esp + 0x14]
call fcn.0048a380
mov dword [esp + 0x24], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push 0xffffffffffffffff
push ebp
xor ebx, ebx
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 1
jle 0x488c3e
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov edx, dword [esi]
cmp edx, ebx
jne 0x488c17
mov ebp, dword [esp + 0x2c]
xor eax, eax
push eax
push edx
mov eax, ebp
call fcn.0040b4fa
jmp 0x488c42
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x488c20
mov ebp, dword [esp + 0x2c]
sub eax, edi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040b4fa
jmp 0x488c42
mov ebp, dword [esp + 0x2c]
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x488c60
xor edi, edi
call fcn.0048a470
push esi
call fcn.0058125d
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x489120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b97d9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
mov dword [esp + 0x18], ebp
call edx
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x44], ebx
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp esi, 0xffffffff
jne 0x4891a7
call fcn.0058070b
jmp 0x4891af
cmp esi, 0x7ffffffe
jbe 0x4891b8
call fcn.0058070b
mov eax, dword [esp + 0x34]
cmp eax, esi
jae 0x4891ed
mov edx, dword [esp + 0x30]
push edx
push esi
lea eax, [esp + 0x24]
push eax
call fcn.0040cbd6
mov eax, dword [esp + 0x34]
cmp esi, ebx
jbe 0x48924a
cmp esi, 1
jne 0x48920d
cmp eax, 8
mov eax, dword [esp + 0x20]
jae 0x4891e6
lea eax, [esp + 0x20]
xor edx, edx
mov word [eax], dx
jmp 0x489231
cmp esi, ebx
jne 0x4891d2
mov edi, 8
cmp eax, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
jae 0x489206
lea eax, [esp + 0x20]
xor ecx, ecx
mov word [eax], cx
jmp 0x48924f
mov edi, dword [esp + 0x20]
cmp eax, 8
jae 0x48921a
lea edi, [esp + 0x20]
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esi
jae 0x489244
lea eax, [esp + 0x20]
xor ecx, ecx
mov word [eax + esi*2], cx
mov edi, 8
mov dword [esp + 0x44], 2
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x489265
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x34]
push ecx
push 0xffffffffffffffff
push edx
push eax
call fcn.00583d4b
mov esi, eax
add esp, 0x14
cmp esi, ebx
jle 0x4892a4
cmp esi, dword [esp + 0x30]
jbe 0x489290
call fcn.0058204a
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x48929e
lea eax, [esp + 0x20]
xor ecx, ecx
mov word [eax + esi*2], cx
cmp dword [esp + 0x34], edi
jb 0x4892b8
mov eax, dword [esp + 0x20]
mov edx, eax
cmp eax, ebx
jne 0x4892bc
xor eax, eax
jmp 0x4892d0
lea edx, [esp + 0x20]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4892c1
sub eax, esi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040b4fa
mov byte [esp + 0x44], bl
cmp dword [esp + 0x34], edi
jb 0x4892f0
mov edx, dword [esp + 0x20]
push edx
call fcn.0058125d
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
mov eax, ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00581268
add esp, 0x34
ret
Function at 0x489470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b9719
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x20], ebx
mov edx, dword [0x6dc778]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x6dc778
mov dword [esp + 0x24], ebp
call eax
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x60]
push ebx
cdq
push 2
push edx
push eax
mov dword [esp + 0x30], 1
call fcn.00587090
mov esi, eax
add esi, 1
adc edx, ebx
mov eax, esi
add eax, 0x80000000
adc edx, ebx
mov dword [esp + 0x1c], edx
jne 0x489508
cmp eax, 0xffffffff
jbe 0x489512
push 0x80004005
call fcn.00402d13
cmp esi, ebx
jle 0x48965c
lea edi, [esi + 1]
mov eax, 0xf
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp edi, 0xffffffff
jne 0x48953a
call fcn.0058070b
jmp 0x48953f
cmp edi, 0xfffffffe
jbe 0x489548
call fcn.0058070b
mov eax, dword [esp + 0x40]
cmp eax, edi
jae 0x489579
mov ecx, dword [esp + 0x3c]
push ecx
push edi
lea ecx, [esp + 0x30]
call fcn.0040b154
mov eax, dword [esp + 0x40]
cmp edi, ebx
jbe 0x4895c4
cmp edi, 1
jne 0x489596
cmp eax, 0x10
mov eax, dword [esp + 0x2c]
jae 0x489575
lea eax, [esp + 0x2c]
mov byte [eax], bl
jmp 0x4895ae
cmp edi, ebx
jne 0x489561
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
jae 0x489592
lea eax, [esp + 0x2c]
mov byte [eax], bl
jmp 0x4895c9
cmp eax, 0x10
mov eax, dword [esp + 0x2c]
jae 0x4895a3
lea eax, [esp + 0x2c]
push edi
push ebx
push eax
call fcn.00586790
add esp, 0xc
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], edi
jae 0x4895c1
lea eax, [esp + 0x2c]
mov byte [eax + edi], bl
mov edi, 0x10
mov dword [esp + 0x50], 2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
cmp dword [esp + 0x40], edi
jae 0x4895e3
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
call fcn.00420e4e
add esp, 4
test eax, eax
je 0x489635
mov esi, dword [esp + 0x18]
cmp esi, ebx
jl 0x489635
cmp esi, dword [esp + 0x3c]
jbe 0x48960f
call fcn.0058204a
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x48961d
lea eax, [esp + 0x2c]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x48962e
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00408519
mov byte [esp + 0x50], bl
cmp dword [esp + 0x40], edi
jb 0x48964c
mov eax, dword [esp + 0x2c]
push eax
call fcn.0058125d
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov eax, ebp
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00581268
add esp, 0x40
ret
Function at 0x48a4d0
Capabilities:
Get token privileges

Disassembly:
push 0xffffffffffffffff
push 0x5b56cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48a513
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x48a61f
push 0xc
call fcn.005812e3
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 1
cmp esi, ebx
je 0x48a58c
push 0x1000
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.00582da6
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp ecx, 0x1000
jae 0x48a583
mov edx, 0x1000
sub edx, ecx
push edx
add ecx, eax
push ebx
push ecx
call fcn.00586790
add esp, 0xc
mov dword [esi + 4], 0x1000
jmp 0x48a58e
xor esi, esi
mov byte [esp + 0x24], bl
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 2
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push eax
push edi
push 3
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x48a5f2
xor eax, eax
cmp dword [edi], ebx
jbe 0x48a5de
lea ecx, [edi + 0xc]
jmp 0x48a5d0
mov dword [ecx], 2
inc eax
add ecx, 0xc
cmp eax, dword [edi]
jb 0x48a5d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push eax
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x48a61f
cmp dword [esi + 4], ebx
je 0x48a612
mov eax, dword [esi]
push ebx
push eax
call fcn.00582da6
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push esi
call fcn.0058125d
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48a636
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x48a650
Capabilities:
Access peb ldr_data
Get common file path
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b96c9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
call edx
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x24], esi
mov edi, 0x400
lea ebx, [esp + 0x14]
mov dword [esp + 0x18], 1
call fcn.0048a380
mov dword [esp + 0x24], 2
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push 1
push ecx
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48a6fe
mov edx, dword [esi]
cmp edx, ebx
jne 0x48a6e1
xor eax, eax
jmp 0x48a6f5
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48a6e6
sub eax, edi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.0040b4fa
mov byte [esp + 0x24], bl
add dword [esi + 8], 0xffffffff
jne 0x48a71c
xor edi, edi
call fcn.0048a470
push esi
call fcn.0058125d
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x48ace0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5bb7d2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x6dc778]
mov edx, dword [eax + 0xc]
mov ecx, 0x6dc778
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 1
mov eax, 0x6810b8
test eax, 0xffff0000
jne 0x48ad56
mov ecx, eax
movzx esi, cx
push esi
call fcn.00402e28
add esp, 4
cmp eax, ebx
je 0x48ad65
push esi
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0040cd66
jmp 0x48ad65
push ebx
push 0x6810b8
lea eax, [esp + 0x18]
call fcn.0040b4fa
mov dword [esp + 0x20], 2
lea ebp, [edi + 0xc]
lea eax, [esp + 0x10]
mov ecx, ebp
call fcn.0048aa10
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ad9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp byte [edi + 8], 0
jne 0x48add8
mov eax, dword [edi]
push ebp
push eax
mov byte [edi + 8], 1
call ebx
mov esi, eax
mov eax, dword [edi + 0x260]
cmp esi, eax
je 0x48adcd
cmp eax, 0xffffffff
je 0x48adcd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x260], esi
cmp esi, 0xffffffff
jmp 0x48aded
mov eax, dword [edi + 0x260]
cmp eax, 0xffffffff
je 0x48ae05
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x48ae05
lea esi, [edi + 0x38]
call fcn.00487180
test al, al
jne 0x48ada5
lea eax, [edi + 4]
mov ecx, ebp
call fcn.0048aa10
mov esi, dword [esp + 0x28]
push ebp
push esi
call fcn.0048ae40
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x48aec0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5b36f8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
mov byte [esp + 0xf], bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], ebx
push 0x44
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00586790
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ebx
push 1
xor ecx, ecx
push ebx
mov word [esp + 0x6c], cx
mov ecx, dword [esp + 0x90]
push ebx
push ecx
push ebx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 1
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x48afa0
mov edx, dword [esp + 0x10]
push 0x493e0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x48af93
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x48afa0
mov byte [esp + 0xf], 1
jmp 0x48afa0
mov edx, dword [esp + 0x10]
push 2
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x48afb9
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48afc4
push eax
call esi
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x48b000
Capabilities:
Compare security identifiers

Disassembly:
push 0xffffffffffffffff
push 0x5b36c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [0x6dd398]
xor esi, esi
cmp dword [edi], esi
je 0x48b0d0
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x48b057
push eax
call ebx
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
push 1
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
jne 0x48b0bd
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x48b0bd
cmp dword [esp + 0x10], esi
je 0x48b0bd
mov ecx, dword [edi]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x48b0bd
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x48b0a6
push eax
call ebx
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x48b0d0
push eax
call ebx
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x48b2b0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 0x34], ebx
ja 0x48b2c4
cmp dword [esi + 0x30], 0x40
jbe 0x48b3c8
mov edi, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebp
test eax, eax
jne 0x48b3cd
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x48b3cd
mov byte [esi + 0x38], 1
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x34]
xor ecx, ecx
lea edx, [eax + 0xf8]
cmp edi, ecx
jb 0x48b3c8
ja 0x48b30f
mov ecx, dword [esi + 0x30]
cmp ecx, edx
jbe 0x48b3c8
mov edx, dword [esi + 0x28]
add eax, edx
push 0xf8
push eax
mov dword [esi + 0x24], eax
call ebp
test eax, eax
jne 0x48b3cd
mov eax, dword [esi + 0x24]
cmp dword [eax], 0x4550
jne 0x48b3cd
mov ecx, 0x2000
test word [eax + 0x16], cx
jne 0x48b345
mov byte [esi + 0x44], 1
mov edx, eax
movzx eax, word [edx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x48b361
mov dword [esi + 0x40], 1
add edx, 0x78
jmp 0x48b378
mov ecx, 0x20b
cmp ax, cx
jne 0x48b37b
mov dword [esi + 0x40], 2
add edx, 0x88
mov dword [esi + 0x20], edx
cmp dword [esi + 0x20], ebx
je 0x48b3cd
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 6]
mov dword [esi + 0x3c], ecx
test ecx, ecx
je 0x48b3cd
movzx edx, word [eax + 0x14]
mov ebx, dword [esi + 0x34]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, dword [esi + 0x28]
add ecx, edx
lea edi, [ecx + eax + 0x18]
xor ecx, ecx
cmp ebx, ecx
jb 0x48b3c8
ja 0x48b3b6
mov ecx, dword [esi + 0x30]
cmp ecx, edi
jbe 0x48b3c8
pop edi
mov ebx, 1
lea edx, [edx + eax + 0x18]
pop ebp
mov eax, ebx
mov dword [esi + 0x1c], edx
pop ebx
ret
mov ebx, 2
pop edi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x48b5f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 0x24]
push ebx
push esi
mov ecx, eax
push edi
mov edi, dword [eax + 0x28]
movzx eax, word [eax + 0x14]
lea esi, [eax + ecx + 0x18]
movzx ecx, word [ecx + 6]
xor eax, eax
test ecx, ecx
jbe 0x48b628
lea ecx, [ecx]
mov edx, dword [esi + 0xc]
cmp edi, edx
jb 0x48b620
mov ebx, dword [esi + 8]
add ebx, edx
cmp edi, ebx
jb 0x48b630
inc eax
add esi, 0x28
cmp eax, ecx
jb 0x48b610
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, esi
lea edx, [eax + 1]
jmp 0x48b640
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48b640
sub eax, edx
push eax
mov eax, dword [esp + 0x18]
push esi
call fcn.0040b3e5
mov eax, dword [esp + 0x18]
mov edx, edi
sub edx, dword [esi + 0xc]
mov dword [eax], edx
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x1c]
sub ecx, edi
add ecx, dword [esi + 0xc]
mov dword [edx], ecx
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0xc]
add eax, edi
pop edi
pop esi
pop ebx
ret 0x10