joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066fe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009454d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100a6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x1006711d
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10067067
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x10067052
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10021100
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10067081
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x100670c6
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x100670b3
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x100670c6
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10027c50
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x100670f5
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100670e1
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x10067105
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10067118
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x1006711d
mov eax, dword [ebp - 0x14]
jmp 0x1006703e
mov edi, dword [edi + 0x18]
jmp 0x1006711f
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x10067157
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1006714d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006714d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1008cf56
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008cadc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10067180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009454d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100a6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 1
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x100672bd
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10067207
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x100671f2
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10021100
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10067221
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x10067266
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10067253
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x10067266
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10027c50
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x10067295
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10067281
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x100672a5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100672b8
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x100672bd
mov eax, dword [ebp - 0x14]
jmp 0x100671de
mov edi, dword [edi + 0x18]
jmp 0x100672bf
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x100672f7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100672ed
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100672ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1008cf56
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008cadc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10067ae0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10067b11
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10027470
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10067c1c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x10067ba1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10067c12
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10067bdb
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10067bd3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10067c0f
cmp edi, edx
je 0x10067bec
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10067c25
cmp edi, edx
jne 0x10067be0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10067b50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10067c0f
Function at 0x10067c50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10067c81
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10027470
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10067d8c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x10067d0f
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10067d82
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10067d49
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10067d41
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10067d7f
cmp edi, edx
je 0x10067d5c
nop dword [eax]
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10067d95
cmp edi, edx
jne 0x10067d50
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10067cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10067d7f

Function at 0x100693c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100693eb
push 0
push 0
push 0
push 0x10024790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100693eb
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x1007b970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1007bb01
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x1007bb01
mov eax, dword [0x100c95c8]
cmp dword [eax + 0x174], 0xffffffff
je 0x1007bb01
mov eax, dword [0x100c9858]
add eax, 0xffffff91
xor eax, 0x46b12ff1
cmp dword [eax + ebx], 0
mov eax, dword [0x100c9820]
setle cl
add eax, 0xffffff9f
xor eax, 0x46b12fe3
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x100c9814]
add eax, 0xffffffa2
xor eax, 0x46b12fe0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x100c9818]
add eax, 0xffffffa1
xor eax, 0x46b12fe1
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x100c981c]
lea eax, [ecx - 0x60]
xor eax, 0x46b12fe2
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x1007ba5e
lea eax, [ecx - 0x60]
xor eax, 0x46b12fe2
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x1007ba56
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1007ba4a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1007ba47
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x100c981c]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x1007ba13
lea eax, [ecx - 0x60]
xor eax, 0x46b12fe2
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x100c95dc]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1007baf2
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007bab6
xor edx, edx
test ecx, ecx
je 0x1007badc
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007bac3
cmp edi, 0x79705c5e
je 0x1007bae7
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1007baf2
mov ecx, dword [ebp - 4]
jmp 0x1007baa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x1007baf4
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x100c96b0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1008cc3d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x1008cc72
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x1008cc6f
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x1008cc7b
add edx, 0x28
cmp edx, esi
jne 0x1008cc5d
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x1008cc78

Function at 0xf81774
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf8177e
pushal
call 0xf81784
pop ebp
sub ebp, 0x10
sub ebp, 0xb81774
jmp 0xf8179a
mov eax, 0xb81774
add eax, ebp
add eax, 0x4c
mov ecx, 0x587
mov edx, 0x450c04a
xor byte [eax], dl
inc eax
dec ecx
jne 0xf817b1
jmp 0xf817c4
rol dword [edi + 0x4a76c3c1], 0x4a
dec edx
retf
Function at 0x40159a
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 0x401619
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 edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, 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 esi, 3
add ecx, 4
dec dword [ebp - 4]
jne 0x4015bf
test edi, edi
jne 0x401622
mov byte [ecx], 0
jmp 0x40166f
movzx eax, byte [esi]
shl eax, 0x10
dec edi
mov byte [ecx + 4], 0
mov byte [ecx + 3], 0x3d
je 0x40164e
movzx edx, byte [esi + 1]
shl edx, 8
or eax, edx
mov edx, eax
shr edx, 6
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [ecx + 2], dl
jmp 0x401652
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 0x4017ba
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
or eax, 0xffffffff
cmp dword [esp + 8], ecx
ja 0x4017c9
xor eax, eax
jmp 0x4017ea
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41e400]
inc ecx
cmp ecx, dword [esp + 8]
jb 0x4017c9
ret 8
Function at 0x4018cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x104
cmp dword [ebp + 0x7c], 1
jg 0x4018e4
xor al, al
jmp 0x401a2c
push ebx
push esi
xor ecx, ecx
push edi
mov byte [ebp + 0x6e], cl
xor eax, eax
mov edi, 0x100
mov byte [ebp + eax - 0x92], al
inc eax
cmp eax, edi
jl 0x4018f3
mov byte [ebp - 0x94], cl
mov byte [ebp - 0x93], cl
xor esi, esi
movzx ecx, byte [ebp - 0x94]
movzx ecx, byte [ecx + str.3Pf4GxTaDnx50qWe2Xz62uSptFsR3g3PAtruefriendissomeonewhothinksthatyouareagoodeggeventhoughheknowsthatyouareslightlycrackedgroove]
lea eax, [ebp + esi - 0x92]
movzx edx, byte [eax]
add ecx, edx
movzx edx, byte [ebp - 0x93]
add ecx, edx
and ecx, 0x800000ff
jns 0x401940
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0x93], cl
mov dl, byte [eax]
movzx ecx, cl
lea ecx, [ebp + ecx - 0x92]
mov bl, byte [ecx]
mov byte [eax], bl
mov byte [ecx], dl
movzx eax, byte [ebp - 0x94]
inc eax
and eax, 0x8000001f
jns 0x40196c
dec eax
or eax, 0xffffffe0
inc eax
inc esi
cmp esi, edi
mov byte [ebp - 0x94], al
jl 0x40190d
xor edi, edi
cmp dword [ebp + 0x7c], edi
mov byte [ebp + 0x6e], 1
jle 0x401a27
movzx esi, byte [ebp - 0x93]
movzx eax, al
inc eax
and eax, 0x800000ff
jns 0x40199f
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x94], al
movzx eax, al
lea eax, [ebp + eax - 0x92]
movzx ecx, byte [eax]
add ecx, esi
and ecx, 0x800000ff
jns 0x4019c4
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0x93], cl
mov dl, byte [eax]
movzx ecx, cl
lea ecx, [ebp + ecx - 0x92]
mov bl, byte [ecx]
mov byte [eax], bl
mov byte [ecx], dl
movzx esi, byte [ebp - 0x93]
movzx eax, byte [ebp - 0x94]
movzx edx, byte [ebp + esi - 0x92]
movzx ebx, byte [ebp + eax - 0x92]
mov ecx, dword [ebp + 0x78]
add edx, ebx
add ecx, edi
and edx, 0x800000ff
jns 0x401a11
dec edx
or edx, 0xffffff00
inc edx
movzx edx, dl
mov dl, byte [ebp + edx - 0x92]
xor byte [ecx], dl
inc edi
cmp edi, dword [ebp + 0x7c]
jl 0x401990
pop edi
pop esi
mov al, 1
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x4022ef
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, 0x41584e
call fcn.00411720
sub esp, 0x4c
push ebx
push esi
push edi
lea eax, [ebp - 0x58]
push eax
call fcn.004052d5
and dword [ebp - 4], 0
push dword [ebp + 0x20]
mov eax, dword [0x421254]
push dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x14]
lea esi, [ebp - 0x58]
push dword [ebp + 0x10]
mov byte [ebp - 0xd], 0
call fcn.00405570
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov edi, dword [eax + 0x24]
add edi, 0x5a
call fcn.004020aa
mov esi, eax
call fcn.00402105
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call fcn.00402131
call fcn.00402196
mov ebx, dword [esi + 8]
add ebx, 0x20
call fcn.00403b93
push ebx
push esi
call fcn.004018cc
push 0x14
pop ecx
lea eax, [ebp - 0x2c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x402370
call fcn.00403b93
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x402291
push 0x10000
push 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0x20], eax
cmp eax, 0xffffffff
je 0x4023ea
call fcn.00403b93
mov ecx, ebx
imul ecx, ecx, 0x18
push dword [eax + ecx + 0x10]
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4023d6
cmp eax, 0x102
jne 0x4023e1
push 0
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x1c], 0
jne 0x402460
call fcn.00403b93
push eax
push 0x78
pop eax
call fcn.004033bb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x304]
inc ebx
test eax, eax
jle 0x402410
mov ecx, eax
jmp 0x402413
xor ecx, ecx
inc ecx
mov eax, ebx
cdq
idiv ecx
mov ebx, edx
mov dword [ebp - 0x14], ebx
call fcn.00403b93
cmp ebx, dword [eax + 0x304]
jl 0x40236a
mov dword [0x421254], ebx
call fcn.00403b93
push esi
call fcn.00404f1a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x58]
push eax
call fcn.00405317
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c
call fcn.00405353
mov byte [ebp - 0xd], 1
jmp 0x40242e
Function at 0x4029ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push ebx
push esi
push 0x44
pop ecx
mov edx, ecx
lea eax, [ebp - 0x58]
xor ebx, ebx
mov byte [eax], bl
inc eax
dec edx
jne 0x4029c1
push 0x10
pop edx
lea eax, [ebp - 0x10]
mov byte [eax], bl
inc eax
dec edx
jne 0x4029cd
push dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x858]
push eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x2c], 0x81
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4180d0
lea eax, [ebp - 0x858]
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x858]
push eax
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x858]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402a44
cmp edi, ebx
je 0x402a40
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov al, 1
jmp 0x402a46
xor al, al
pop esi
pop ebx
leave
ret 8

Function at 0x402a4c
Capabilities:
Modify service
Start service

Disassembly:
push ebx
push ebp
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
cmp ebp, ebx
jne 0x402a6a
xor al, al
pop ebp
pop ebx
ret 4
push esi
push edi
push 0xf01ff
push dword [esp + 0x18]
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
cmp esi, ebx
jne 0x402a91
push ebp
call edi
pop edi
mov al, bl
pop esi
jmp 0x402a65
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x402abf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x402ac1
mov bl, 1
push esi
call edi
jmp 0x402a88