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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp dword [edx], eax
jle 0x1003dbc5
push ebx
push esi
mov edi, edi
mov ecx, edi
cmp edi, 2
jge 0x1003dafa
xor ecx, 1
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*2]
mov ebx, dword [edx + ecx*8 + 0x14]
lea ecx, [edx + ecx*8]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1003db58
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x1003db40
jmp 0x1003db20
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x100d59f8]
cmp cl, byte [eax + 0x100d59f8]
jne 0x1003db3d
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x1003db20
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x100d59f8]
movzx edx, byte [edx + 0x100d59f8]
sub edx, ecx
jne 0x1003dbb4
test ebx, ebx
je 0x1003dbb0
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003db62
sub eax, edx
lea esi, [ebx + 0x20]
lea edi, [eax + 1]
test esi, esi
je 0x1003dbd1
cmp dword [esi + 0x18], 0
je 0x1003dbd1
cmp byte [esi], 3
mov eax, 0x10038a90
je 0x1003db8a
mov eax, 0x10038b00
mov ebx, dword [ebp + 0xc]
push edi
push ebx
call eax
mov edx, dword [esi + 0x14]
dec edx
push edi
and edx, eax
push ebx
mov ecx, esi
call fcn.10038d00
mov edi, dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x1003dbca
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003dbc3
mov edx, dword [ebp + 8]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [edx]
jl 0x1003daf0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1003dbb4
mov edi, dword [ebp - 8]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1003dbb4
Function at 0x10044e00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp edi, 2
jge 0x10044e12
mov eax, 0x17
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
movzx ecx, byte [esi]
movzx eax, byte [esi + edi - 1]
movzx eax, byte [eax + 0x100d59f8]
movzx edx, byte [ecx + 0x100d59f8]
add edx, edx
lea eax, [eax + eax*2]
add edx, edx
xor eax, edx
xor eax, edi
cdq
mov ecx, 0x7f
idiv ecx
movzx ebx, byte [edx + str.Pk_]
dec ebx
mov dword [ebp - 4], ebx
js 0x10044ec1
lea ecx, [ecx]
movzx edx, byte [ebx + 0x100d5508]
cmp edx, edi
jne 0x10044eb4
movzx eax, word [ebx*2 + 0x100d5580]
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHERE
mov ecx, edi
test edi, edi
jle 0x10044e94
mov edi, edi
mov dl, byte [eax]
dec ecx
test dl, dl
je 0x10044e95
movzx ebx, byte [esi]
movzx edx, dl
mov dl, byte [edx + 0x100d59f8]
cmp dl, byte [ebx + 0x100d59f8]
mov ebx, dword [ebp - 4]
jne 0x10044e95
inc eax
inc esi
test ecx, ecx
jg 0x10044e70
dec ecx
test ecx, ecx
js 0x10044ecc
movzx ecx, byte [esi]
movzx eax, byte [eax]
movzx edx, byte [ecx + 0x100d59f8]
movzx ecx, byte [eax + 0x100d59f8]
sub ecx, edx
je 0x10044ecc
mov esi, dword [ebp + 8]
movzx ebx, byte [ebx + 0x100d5490]
dec ebx
mov dword [ebp - 4], ebx
jns 0x10044e50
pop esi
mov eax, 0x17
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 0x100d5668]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004dd50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
cmp byte [esi + 0xb], 0
push edi
jne 0x1004de83
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x1004dd82
nop
mov edi, dword [eax + 0x18]
push eax
call fcn.1009cc76
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x1004dd70
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0xbc], ebx
cmp eax, ebx
je 0x1004dda7
push eax
call fcn.1009cc76
add esp, 4
mov cl, byte [esi + 0xa]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc0], ebx
cmp cl, 2
jb 0x1004de66
cmp byte [esi + 0x11], bl
je 0x1004de8a
mov edi, dword [esi + 0x74]
cmp edi, ebx
je 0x1004de49
lea esp, [esp]
cmp byte [edi + 0x26], 0
je 0x1004de42
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
add ecx, eax
lea ebx, [ecx + edi + 0x38]
mov ecx, dword [ebx]
test ecx, ecx
je 0x1004ddf6
push eax
push ecx
lea edx, [edi + 0x38]
push edx
call fcn.100a0e30
add esp, 0xc
mov eax, dword [ebx]
test eax, eax
je 0x1004de05
push eax
call fcn.1009cc76
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x1004de15
push eax
call fcn.1009cc76
add esp, 4
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov byte [edi + 0x26], cl
mov word [edi + 0x24], cx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov eax, dword [esi + 0xb0]
cmp eax, ecx
je 0x1004de40
mov ecx, dword [esi + 0x30]
push ecx
lea edx, [edi + 0x38]
push edx
call eax
add esp, 8
xor ebx, ebx
mov edi, dword [edi + 0x18]
cmp edi, ebx
jne 0x1004ddd0
mov eax, dword [esi + 0x18]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov ebx, esi
mov dword [esi + 0x14], eax
call fcn.1004ef10
mov byte [esi + 5], 0
mov byte [esi + 0xa], 1
xor ebx, ebx
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
add esp, 8
mov byte [esi + 0xa], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x3c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0xf], bl
je 0x1004def5
cmp byte [esi], bl
je 0x1004def5
mov al, byte [esi + 0xb]
test al, al
je 0x1004deac
cmp al, 0xd
je 0x1004deac
cmp cl, 4
jb 0x1004de66
mov eax, esi
call fcn.1004e5f0
jmp 0x1004de66
cmp cl, 2
jne 0x1004dec5
call fcn.1004e470
mov ebx, eax
mov eax, esi
call fcn.1004df10
test ebx, ebx
jne 0x1004dece
jmp 0x1004decc
mov eax, esi
call fcn.1004e5f0
mov ebx, eax
mov dword [esi + 0x14], 0xffffffff
cmp ebx, 0xd
je 0x1004deed
cmp ebx, 0xa
je 0x1004deed
cmp ebx, 0xb
je 0x1004deed
cmp ebx, 0xf
jne 0x1004de64
mov byte [esi + 0xb], bl
jmp 0x1004de64
mov eax, esi
call fcn.1004df10
mov dword [esi + 0x14], 0xffffffff
jmp 0x1004de66
Function at 0x1004f340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, eax
cmp byte [edi + 2], 0
je 0x1004f3ab
mov ebx, dword [edi + 0x50]
mov ecx, ebx
call fcn.1003c340
mov esi, eax
test esi, esi
je 0x1004f375
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.1009cc76
add esp, 4
jmp 0x1004f384
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x1004f3ab
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
add esp, 4
test eax, eax
jne 0x1004f3ab
call fcn.1004ed80
test eax, eax
jne 0x1004f3b1
mov eax, dword [edi + 0x50]
call fcn.1003c500
xor eax, eax
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x1005a4f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1005a500
xor eax, eax
pop edi
pop ebp
ret
cmp dword [0x100f0574], 0
push esi
je 0x1005a513
cmp dword [0x100f0580], 0
jg 0x1005a533
push 0x44
call fcn.1009ce65
mov esi, eax
add esp, 4
test esi, esi
jne 0x1005a539
mov eax, 1
add dword [0x100f0580], eax
mov dword [0x100f0574], eax
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
call fcn.1005a1a0
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
call fcn.1005a2c0
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
call fcn.1005a080
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
call fcn.1005a1a0
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
call fcn.1005a080
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
call fcn.1005a1a0
mov dword [esi + 0x1c], eax
movzx ecx, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
call fcn.1005a4f0
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
push eax
call fcn.1005a080
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
push ecx
call fcn.1005a080
mov dword [esi + 0x2c], eax
add esp, 0x24
or eax, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
movzx ecx, byte [edi + 7]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 7], cl
mov word [esi + 8], 0
mov dword [esi + 0x24], 0
mov eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x10070ec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.100a39b0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10070f7a
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x10070f28
cmp dword [ebp - 0x110], 1
jne 0x10070f7a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x10070f7a
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10070f4a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10070f62
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10070f7a
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
Function at 0x10072a10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0f42
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100eb6ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + 0x60]
mov dword [ebx], 0x100cec88
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ecx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.10002310
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.1001b690
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x10072ab2
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.100021a0
mov dword [ebp - 4], 4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.10019560
mov byte [ebp - 4], 5
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x100efd8c]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100745b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5343
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], esi
call fcn.10014de0
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.1007aee0
mov ebx, 1
mov dword [ebp - 4], ebx
push 0x11
mov eax, str.liebaoUser_Data
lea ecx, [ebp - 0x2c]
call fcn.10016590
cmp dword [ebp - 0x1c], esi
je 0x10074655
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1007461c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
sete al
test al, al
je 0x10074655
xor eax, eax
push esi
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x48], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
call fcn.100166c0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
jmp 0x10074683
mov dword [ebp - 0x54], esi
xor edx, edx
push esi
mov eax, 0x100d7118
lea esi, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], dx
call fcn.10019760
mov eax, esi
mov dword [ebp - 4], 3
mov ebx, 2
xor esi, esi
mov dword [ebp - 0x68], ebx
mov dword [edi + 0x10], esi
mov esi, dword [ebp - 0x6c]
mov dword [edi + 0x14], 7
xor ecx, ecx
mov word [edi], cx
mov edi, eax
call fcn.10016430
or ebx, 4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], 2
test bl, 2
je 0x100746de
and ebx, 0xfffffffd
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x50], 8
jb 0x100746c9
mov edx, dword [ebp - 0x64]
push edx
call fcn.1009c0c0
add esp, 4
xor edi, edi
mov esi, 7
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
jmp 0x100746e3
xor edi, edi
lea esi, [edi + 7]
mov dword [ebp - 4], 1
test bl, 1
je 0x10074713
and ebx, 0xfffffffe
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x34], 8
jb 0x10074707
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1009c0c0
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x10074729
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
Function at 0x10078990
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10070ec0
test eax, eax
jne 0x100789b9
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x10078a07
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
Function at 0x10078b00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c44bd
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x450], ebx
mov eax, dword [eax]
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x44c], eax
cmp eax, ebx
jne 0x10078b56
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x44c], eax
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x21c], ax
call fcn.100a39b0
add esp, 0xc
push 0x206
lea eax, [ebp - 0x422]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x424], dx
call fcn.100a39b0
mov eax, 0x104
add esp, 0xc
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
xor ecx, ecx
push 0x10
mov eax, str.SeDebugPrivilege
lea esi, [ebp - 0x440]
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
mov word [ebp - 0x440], cx
call fcn.10019760
mov dword [ebp - 4], 1
mov ecx, esi
call fcn.100781f0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x42c], 8
jb 0x10078c03
mov edx, dword [ebp - 0x440]
push edx
call fcn.1009c0c0
add esp, 4
mov ecx, dword [ebp - 0x44c]
push ecx
push ebx
xor eax, eax
push 0x400
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
mov word [ebp - 0x440], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x10078ce9
lea edx, [ebp - 0x448]
push edx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10078ce9
mov ecx, dword [ebp - 0x444]
mov edx, dword [ebp - 0x448]
lea eax, [ebp - 0x444]
push eax
push ecx
push ebx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x10078c7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10078ce9
mov eax, dword [ebp - 0x444]
push eax
call fcn.1009ce65
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10078ce9
mov edx, dword [ebp - 0x444]
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x444]
push ecx
push edx
push esi
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10078ce0
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x424]
push eax
mov eax, dword [esi]
lea ecx, [ebp - 0x454]
push ecx
lea edx, [ebp - 0x21c]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push esi
call fcn.1009cc76
add esp, 4
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10078d01
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
mov esi, edi
call fcn.10019760
mov dword [ebp - 4], ebx
mov dword [ebp - 0x450], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
Function at 0x1007d2b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x100eb6ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov esi, 0xf
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10016010
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x1007d313
push 0x14
push str.dwIr23Cew_T_R471_
lea ecx, [ebp - 0x2c]
call fcn.100191b0
cmp edi, ebx
jne 0x1007d33a
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x1007d330
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x18], esi
xor eax, eax
jmp 0x1007d3d2
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x98], 0x67452301
mov dword [ebp - 0x94], 0xefcdab89
mov dword [ebp - 0x90], 0x98badcfe
mov dword [ebp - 0x8c], 0x10325476
jae 0x1007d37d
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x98]
call fcn.10082a10
cmp byte [ebp - 0x30], bl
jne 0x1007d39c
mov ecx, esi
mov byte [ebp - 0x30], 1
call fcn.10082ac0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push ecx
push edx
mov ecx, edi
call fcn.1007d0c0
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x1007d3c9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
add esp, 4
mov dword [ebp - 0x18], 0xf
mov eax, esi
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009c0cb
mov esp, ebp
pop ebp
ret
Function at 0x1007d800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100de6f8
push 0x100a41a0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100eb6ac]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [esi], edx
xor edi, edi
mov eax, dword [ebp + 0xc]
cmp eax, 4
jl 0x1007d984
mov ecx, eax
and ecx, 0x80000003
jns 0x1007d85a
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x1007d984
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], edx
cmp edx, eax
jge 0x1007d889
mov cl, byte [edx + ebx]
cmp cl, 0x80
jae 0x1007d97d
movzx ecx, cl
cmp byte [ecx + 0x100ed0f0], 0xff
je 0x1007d97d
inc edx
jmp 0x1007d863
push eax
call fcn.1009b929
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push eax
call fcn.100a39b0
add esp, 0x10
cmp edi, dword [ebp + 0xc]
jge 0x1007d94d
movzx eax, byte [edi + ebx]
mov cl, byte [eax + 0x100ed0f0]
inc edi
mov dword [ebp - 0x1c], edi
movzx edx, byte [edi + ebx]
inc edi
mov dword [ebp - 0x1c], edi
movzx eax, byte [edx + 0x100ed0f0]
mov ebx, eax
shr ebx, 4
and ebx, 3
movzx ecx, cl
add ecx, ecx
add ecx, ecx
or ebx, ecx
mov ecx, dword [esi]
mov edx, dword [ebp - 0x24]
mov byte [edx + ecx], bl
inc dword [esi]
mov ecx, dword [esi]
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
mov cl, byte [edi + ebx]
inc edi
mov dword [ebp - 0x1c], edi
cmp cl, 0x3d
je 0x1007d950
movzx ecx, cl
movzx ecx, byte [ecx + 0x100ed0f0]
mov dword [ebp - 0x2c], ecx
shr ecx, 2
and ecx, 0xf
and eax, 0xf
shl eax, 4
or ecx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax + edx], cl
inc dword [esi]
mov ecx, dword [esi]
mov dword [ebp - 0x20], ecx
mov al, byte [edi + ebx]
inc edi
mov dword [ebp - 0x1c], edi
cmp al, 0x3d
je 0x1007d950
movzx eax, al
mov al, byte [eax + 0x100ed0f0]
mov ecx, dword [ebp - 0x2c]
and ecx, 3
shl ecx, 6
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax + edx], cl
inc dword [esi]
jmp 0x1007d8a1
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xfffffffe
mov eax, edx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100829e0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret