joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100dfa10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x10073ffe
mov al, 1
jmp 0x10074058
test ecx, ecx
jne 0x1007401b
push 0x4f
push str.D:1sources_trinityshellxanaxdependencies_rpc_sourceconnection_win.cpp
push str.self
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
xor al, al
jmp 0x10074058
mov ecx, dword [ecx + 4]
cmp ecx, 0xffffffff
je 0x10074017
test eax, eax
jne 0x10074035
push 0x56
push str.D:1sources_trinityshellxanaxdependencies_rpc_sourceconnection_win.cpp
push 0x100b7b80
jmp 0x1007400e
and dword [ebp - 8], 0
lea edx, [ebp - 8]
push 0
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x10074054
cmp dword [ebp - 8], esi
je 0x10074056
xor cl, cl
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007d97d
leave
ret 8

Function at 0x100742c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x100dfa10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 8], edx
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x10074311
cmp word [eax], dx
je 0x10074311
push edx
lea ecx, [ebp - 8]
push ecx
push edx
push 0xf003f
push edx
push edx
push edx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10074337
mov ecx, dword [ebp - 8]
xor edx, edx
push dword [ebp + 0x1c]
push ebx
push dword [ebp + 0x14]
push edx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 8]
mov edi, eax
test ecx, ecx
je 0x10074335
cmp ecx, esi
je 0x10074335
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007d97d
leave
ret
Function at 0x100743bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x100dfa10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call esi
lea eax, [ebp - 0xa94]
push eax
push 0x20019
push ebx
push str.SoftwareValveSteam
push Ordinal_4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10074430
push str.Error_opening_Steam_key_n
jmp 0x100744d5
lea eax, [ebp - 0xa90]
mov dword [ebp - 0xa90], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push ebx
push str.SteamExe
push dword [ebp - 0xa94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa94]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100744d0
mov eax, dword [ebp - 0xa90]
cmp eax, 1
jb 0x100744d0
shr eax, 1
je 0x10074497
cmp word [ebp + ebx*2 - 0x28c], 0x2f
jne 0x10074492
push 0x5c
pop ecx
mov word [ebp + ebx*2 - 0x28c], cx
inc ebx
cmp ebx, eax
jb 0x1007447c
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xa8c]
push 0x800
push eax
call fcn.1007427a
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10074067
add esp, 0x1c
jmp 0x100744e6
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
pop ecx
push eax
call fcn.10074528
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007d97d
leave
ret

Function at 0x10074903
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1008275a
call fcn.1007d9f0
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.10074a3b
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push dword [ebp - 0x14]
push 0x100748ac
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x1007494b
call fcn.1007d99f
ret 4
push 6
mov dword [edi], ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x10075cbd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
inc ebx
mov dword [ebp - 4], esi
lea eax, [esi + 0x10]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
mov esi, eax
push dword [ebp + 0x14]
mov ecx, edx
xor eax, eax
push dword [ebp + 0x10]
shr ecx, 0x1e
xor eax, edx
xor ecx, edi
push eax
push ecx
call fcn.1007df50
mov edi, eax
mov eax, 0x138
add edi, ebx
mov dword [esi], edi
lea esi, [esi + 8]
adc edx, 0
inc ebx
mov dword [esi - 4], edx
cmp ebx, eax
jb 0x10075cdd
mov esi, dword [ebp - 4]
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 0x10
Function at 0x10079da8
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x10082a4e
call fcn.1007d9bd
mov eax, dword [ebp + 0x10]
xor edx, edx
push 3
pop ecx
and dword [ebp - 0x18], 0
lea eax, [eax + 2]
mov ebx, dword [ebp + 8]
div ecx
mov cl, byte [ebp + 0x14]
mov edi, ebx
mov esi, eax
push 0x3d
pop edx
shl esi, 2
test cl, cl
push 0x2e
movzx ecx, cl
pop eax
cmovne edx, eax
mov byte [ebp + 0x14], dl
mov eax, dword [ecx*4 + 0x100df9d8]
mov dword [ebp - 0x1c], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
xor edi, edi
mov dword [ebp - 4], eax
inc edi
mov ecx, ebx
push esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call fcn.1000e151
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10079ef0
mov eax, dword [ebp + 0xc]
xor edx, edx
sub edi, eax
push 3
mov dword [ebp - 0x20], edi
lea esi, [eax + 1]
mov edi, dword [ebp - 0x1c]
lea eax, [ecx - 1]
pop ecx
div ecx
inc eax
mov dword [ebp - 0x14], eax
movzx ecx, byte [esi - 1]
shr ecx, 2
movzx eax, byte [ecx + edi]
mov ecx, ebx
push eax
call fcn.10029ee1
mov eax, dword [ebp + 0x10]
mov cl, byte [esi - 1]
push 3
cmp dword [ebp - 0x10], eax
jae 0x10079eb6
movzx ecx, cl
pop eax
and ecx, eax
movzx eax, byte [esi]
shl ecx, 4
add ecx, edi
shr eax, 4
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.10029ee1
movzx ecx, byte [esi]
mov eax, dword [ebp - 0x20]
and ecx, 0xf
add eax, esi
shl ecx, 2
cmp eax, dword [ebp + 0x10]
jae 0x10079eaf
movzx eax, byte [esi + 1]
shr eax, 6
add eax, ecx
mov ecx, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.10029ee1
movzx eax, byte [esi + 1]
and eax, 0x3f
movzx eax, byte [eax + edi]
push eax
jmp 0x10079ed7
movzx eax, byte [ecx + edi]
push eax
jmp 0x10079ecd
movzx eax, cl
pop ecx
and eax, ecx
mov ecx, ebx
add eax, eax
movzx eax, byte [edi + eax*8]
push eax
call fcn.10029ee1
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.10029ee1
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.10029ee1
push 3
pop eax
add dword [ebp - 0x10], eax
add esi, eax
sub dword [ebp - 0x14], 1
jne 0x10079e3c
mov eax, ebx
call fcn.1007d98b
ret
Function at 0x1007b648
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0xb0
mov eax, 0x10082d22
call fcn.1007d9f0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 1
call fcn.1007b53a
movaps xmm0, xmmword [0x100b9a10]
xor ebx, ebx
mov byte [ebp - 4], 2
mov ecx, ebx
mov dword [ebp - 0xa0], ebx
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0x6e796f7d
mov dword [ebp - 0xa8], 0x716a322d
mov word [ebp - 0xa4], 0x68
mov al, byte [ebp - 0xbc]
xor byte [ebp + ecx - 0xbb], al
inc ecx
cmp ecx, 0x18
jb 0x1007b6a2
movaps xmm0, xmmword [str.G475.3_4h7257_]
lea eax, [ebp - 0xbb]
mov dword [ebp - 0x70], eax
mov ecx, ebx
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0x35223426
mov dword [ebp - 0xa8], 0x2a316976
mov word [ebp - 0xa4], 0x33
mov al, byte [ebp - 0xbc]
xor byte [ebp + ecx - 0xbb], al
inc ecx
cmp ecx, 0x18
jb 0x1007b6eb
mov ecx, dword [0x100e0924]
lea edx, [ebp - 0xbb]
mov byte [ebp - 0xa3], bl
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movd xmm0, dword [ebp + 0x1c]
lea esi, [ebp + 0x24]
cvtdq2ps xmm0, xmm0
and dword [ebp - 0x64], ebx
lea edi, [ebp - 0x8c]
and dword [ebp - 0x54], ebx
lea edx, [ebp - 0xa0]
and dword [ebp - 0x50], ebx
and dword [ebp - 0x48], ebx
and dword [ebp - 0x40], ebx
movss dword [ebp - 0x60], xmm0
movd xmm0, dword [ebp + 0x18]
cvtdq2ps xmm0, xmm0
mov ecx, dword [0x100e0e58]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], 2
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x58], xmm0
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x28], eax
push edx
movss dword [ebp - 0x3c], xmm0
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x38], xmm0
movd xmm0, dword [ebp + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x30]
lea edi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
je 0x1007b7c4
mov ecx, dword [0x100e0e58]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [ebp - 0xa0]
call fcn.1007b5c9
lea ecx, [ebp + 0x24]
call fcn.1001dae8
lea ecx, [ebp + 0x30]
call fcn.1001dae8
call fcn.1007d99f
ret
Function at 0x1007b7e5
Capabilities:
Encode data using xor

Disassembly:
push 0xb0
mov eax, 0x10082d64
call fcn.1007d9f0
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], ebx
call fcn.1007b53a
movaps xmm0, xmmword [0x100b99f0]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0xa0], 7
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0xf180e1c
mov dword [ebp - 0xa8], 0x100b534c
mov word [ebp - 0xa4], 9
mov al, byte [ebp - 0xbc]
xor byte [ebp + ecx - 0xbb], al
inc ecx
cmp ecx, 0x18
jb 0x1007b83f
movaps xmm0, xmmword [0x100b99e0]
lea eax, [ebp - 0xbb]
mov dword [ebp - 0x70], eax
mov ecx, ebx
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], 0x1e091f0d
mov dword [ebp - 0xa8], 0x11a425d
mov word [ebp - 0xa4], 0x18
mov al, byte [ebp - 0xbc]
xor byte [ebp + ecx - 0xbb], al
inc ecx
cmp ecx, 0x18
jb 0x1007b888
mov ecx, dword [0x100e0924]
lea edx, [ebp - 0xbb]
mov byte [ebp - 0xa3], bl
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movd xmm0, dword [ebp + 0x18]
lea esi, [ebp + 0x1c]
cvtdq2ps xmm0, xmm0
and dword [ebp - 0x64], 0
lea edi, [ebp - 0x24]
and dword [ebp - 0x54], 0
lea edx, [ebp - 0xa0]
and dword [ebp - 0x50], 0
and dword [ebp - 0x48], 0
and dword [ebp - 0x40], 0
movss dword [ebp - 0x5c], xmm0
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
or dword [ebp - 0x2c], 0xffffffff
mov ecx, dword [0x100e0e58]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], 0x3f000000
mov dword [ebp - 0x44], ebx
movss dword [ebp - 0x3c], xmm0
movd xmm0, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x28], 0x40
push edx
movss dword [ebp - 0x38], xmm0
movd xmm0, dword [ebp + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x4c], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], 0x42480000
mov dword [ebp - 0x14], 0x43fa0000
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
je 0x1007b95b
mov ecx, dword [0x100e0e58]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [ebp - 0xa0]
call fcn.1007b5c9
lea ecx, [ebp + 0x1c]
call fcn.1001dae8
call fcn.1007d99f
ret
Function at 0x1007c5c5
Capabilities:
Encode data using xor

Disassembly:
push 0x38
mov eax, 0x10082ebf
call fcn.1007d9bd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10117b30]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10117ae8]
cmp eax, dword [ecx + 4]
jg 0x1007c5fc
mov ecx, dword [ebp + 8]
call dword [0x10117ae4]
call fcn.1007d98b
ret
mov esi, 0x10117ae8
push esi
call fcn.1007deeb
cmp dword [0x10117ae8], 0xffffffff
pop ecx
jne 0x1007c5ed
movaps xmm0, xmmword [0x100b9a50]
xor edx, edx
movups xmmword [ebp - 0x44], xmm0
mov ecx, edx
mov dword [ebp - 4], edx
movaps xmm0, xmmword [0x100b9a20]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x7b621d7b
mov dword [ebp - 0x20], 0x6f7b6c18
mov word [ebp - 0x1c], 0x6e
jmp 0x1007c644
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x28
jb 0x1007c644
mov byte [ebp - 0x1b], dl
mov cl, 0x3a
mov dword [ebp - 0x18], 0x5d545f3a
mov eax, edx
mov dword [ebp - 0x14], 0x145f5453
mov dword [ebp - 0x10], 0x56565e
jmp 0x1007c66f
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xa
jae 0x1007c67e
mov cl, byte [ebp - 0x18]
jmp 0x1007c66f
lea eax, [ebp - 0x43]
mov byte [ebp - 0xd], dl
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.1007c6a5
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0x10117ae4], eax
call fcn.1007de9a
add esp, 0xc
jmp 0x1007c5ed
Function at 0x1007c6a5
Capabilities:
Encode data using xor

Disassembly:
push 0x6c
mov eax, 0x10082ef9
call fcn.1007d9f0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x1007c6cd
call fcn.1007d99f
ret
mov eax, dword [esi + 0x3c]
lea edi, [ebp - 0x1c]
push ebx
mov ecx, 0x10117ae0
mov eax, dword [eax + esi + 0x50]
mov dword [ebp - 0x20], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1007c4c1
mov ebx, dword [ebp - 0x18]
sub ebx, dword [ebp - 0x1c]
and dword [ebp - 4], 0
sar ebx, 2
sub dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
je 0x1007c745
xor ecx, ecx
xor edx, edx
test ebx, ebx
je 0x1007c737
mov ebx, dword [ebp - 0x1c]
lea edi, [edx + esi]
movzx eax, byte [edi + ecx]
cmp eax, dword [ebx + ecx*4]
mov ebx, dword [ebp - 0x24]
je 0x1007c730
mov eax, dword [ebp - 0x1c]
cmp dword [eax + ecx*4], 0xffffffff
je 0x1007c730
inc edx
cmp edx, dword [ebp - 0x20]
jae 0x1007c745
xor ecx, ecx
jmp 0x1007c70b
inc ecx
cmp ecx, ebx
jb 0x1007c70b
jmp 0x1007c739
mov edi, esi
lea ecx, [ebp - 0x1c]
call fcn.1000e39a
mov eax, edi
jmp 0x1007c6c7
movaps xmm0, xmmword [str.XEDM_nYCMDK_XODqwdqrdqsd]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0xa10
mov byte [ebp - 0x2a], 0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x1007c75c
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2a], 0
push eax
lea ecx, [ebp - 0x60]
call fcn.100098a9
push dword [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1001f5ad
add esp, 0xc
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10071b43
push 0x100d941c
lea eax, [ebp - 0x48]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1007c7a9
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x10082f31
call fcn.1007d9bd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10117b30]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10117af0]
cmp eax, dword [ecx + 4]
jg 0x1007c7e2
mov ecx, dword [ebp + 8]
mov edx, ecx
call dword [0x10117aec]
call fcn.1007d98b
ret
mov esi, 0x10117af0
push esi
call fcn.1007deeb
cmp dword [0x10117af0], 0xffffffff
pop ecx
jne 0x1007c7d1
movaps xmm0, xmmword [0x100b9a40]
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x264067c
mov dword [ebp - 0x20], 0x202647d
mov dword [ebp - 0x1c], 0x717564
jmp 0x1007c820
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x1a
jb 0x1007c820
mov byte [ebp - 0x19], dl
mov cl, 0x49
mov dword [ebp - 0x18], 0x2e272c49
mov eax, edx
mov dword [ebp - 0x14], 0x672c2720
mov dword [ebp - 0x10], 0x25252d
jmp 0x1007c84b
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xa
jae 0x1007c85a
mov cl, byte [ebp - 0x18]
jmp 0x1007c84b
lea eax, [ebp - 0x33]
mov byte [ebp - 0xd], dl
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.1007c6a5
or dword [ebp - 4], 0xffffffff
push esi
mov dword [0x10117aec], eax
call fcn.1007de9a
add esp, 0xc
jmp 0x1007c7d1
Function at 0x1007cda7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
sub eax, ecx
je 0x1007cde0
sub eax, 1
jne 0x1007cde5
push ecx
push ecx
push dword [ebp + 8]
push 0x1007cb33
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1007cde5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007cde5
call fcn.1007cd79
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
cmp edi, 3
push 0x3f
mov esi, edx
pop ebx
jl 0x40107a
push 3
pop ebx
xor edx, edx
div ebx
push 0x3f
pop ebx
mov dword [ebp - 4], eax
imul eax, eax, 0xfffffffd
add edi, eax
movzx eax, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
add esi, 3
mov dl, byte [esi - 2]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, ebx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, ebx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 6
and eax, ebx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
and edx, ebx
mov byte [ecx + 2], al
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 3], al
add ecx, 4
dec dword [ebp - 4]
jne 0x401025
test edi, edi
jne 0x401083
mov byte [ecx], 0
jmp 0x4010ce
movzx eax, byte [esi]
shl eax, 0x10
dec edi
mov byte [ecx + 4], 0
mov byte [ecx + 3], 0x3d
je 0x4010ad
xor edx, edx
mov dh, byte [esi + 1]
or eax, edx
mov edx, eax
shr edx, 6
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 2], dl
jmp 0x4010b1
mov byte [ecx + 2], 0x3d
mov edx, eax
shr edx, 0xc
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
shr eax, 0x12
and eax, ebx
mov byte [ecx + 1], dl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx], al
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x401355
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
or eax, 0xffffffff
cmp esi, ecx
je 0x401383
cmp dword [esp + 4], ecx
jbe 0x401383
movzx edx, byte [ecx + esi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42ac30]
inc ecx
cmp ecx, dword [esp + 4]
jb 0x401364
jmp 0x401385
xor eax, eax
ret 4
Function at 0x401e43
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push edi
je 0x401ea4
cmp dword [ebp + 0xc], 0
jle 0x401ea4
lea ebx, [esi + 0x499c]
push ebx
call fcn.004043ad
test al, al
je 0x401ea4
lea edi, [esi + 0x4a04]
cmp dword [edi], 0
jne 0x401e78
call fcn.004027fc
mov dword [edi], eax
push dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
push dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004047ec
test al, al
jne 0x401eac
call fcn.004033c0
push ebx
call fcn.004043d8
xor al, al
pop edi
pop ebx
leave
ret 0x20
call fcn.004033c0
push ebx
call fcn.004043d8
xor edi, edi
cmp dword [0x42c3e0], edi
jne 0x401ecf
call fcn.004019ec
cmp eax, edi
mov dword [0x42c3e0], eax
je 0x401ea4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x4a00]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
mov eax, dword [esi + 0x4a00]
cmp eax, 0xffffffff
je 0x401f02
cmp dword [ebp - 4], 0x103
je 0x401f1f
cmp eax, 0xffffffff
je 0x401f02
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x401c02
push 0x10000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x4a00], eax
mov al, 1
jmp 0x401ea6

Function at 0x401f23
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x401f44
xor al, al
leave
ret
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x401f86
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x401f86
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
leave
ret

Function at 0x4023c9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00410230
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00410230
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x58], 0x44
push dword [ebp + 8]
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], si
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x40242e
cmp ebx, esi
je 0x40242a
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov al, 1
jmp 0x402430
xor al, al
pop esi
leave
ret 8