joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4
Function at 0x4031f9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00411400
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0
jne 0x403217
xor al, al
jmp 0x403399
push esi
push edi
call fcn.004033a0
push edi
call fcn.00416695
pop ecx
push edi
mov esi, eax
call fcn.004033cc
test al, al
je 0x4032b7
push edi
call fcn.004033a0
test al, al
je 0x403266
lea eax, [esi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x4032b0
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a56
lea eax, [esi + 8]
push edi
push eax
call fcn.00416673
add esp, 0x14
jmp 0x4032a9
push 0x5c
pop eax
cmp word [edi], ax
jne 0x4032b0
add edi, 2
cmp word [edi], ax
jne 0x4032b0
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x4032b0
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a56
lea eax, [esi + 8]
push 0x4242c4
push eax
call fcn.00416673
lea eax, [esi + 0xe]
push edi
push eax
call fcn.00416673
add esp, 0x1c
mov al, 1
jmp 0x403398
xor al, al
jmp 0x403398
push ebx
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x403395
cmp eax, ebx
ja 0x403395
movzx eax, word [edi]
push eax
call fcn.00403402
test al, al
je 0x403325
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x403395
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a56
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00417a56
lea eax, [esi + 0xc]
push edi
push eax
call fcn.00416673
add esp, 0x20
jmp 0x403391
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.00402e0b
lea eax, [ebp - 0x1000]
push eax
call fcn.00416695
add eax, 4
add eax, esi
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x403395
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a56
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00416673
add esp, 0x14
cmp word [edi], 0x2e
jne 0x403387
movzx eax, word [edi + 2]
push eax
call fcn.00403402
test al, al
je 0x403387
add edi, 4
push dword [ebp + 0x10]
push edi
push esi
call fcn.00405a2d
mov al, 1
jmp 0x403397
xor al, al
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41013c
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.00411400
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x410374
push esi
call fcn.00416695
pop ecx
cmp eax, 0x7f6
jae 0x410374
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00412430
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1c0
cmp byte [esp + 0x1058], bl
je 0x41019c
mov dword [esp + 0x14], 0x5c0
movzx ecx, word [esi]
lea edx, [esi + 2]
push 0x22
pop edi
cmp cx, di
je 0x4101ac
mov edx, esi
mov dword [esp + 0x20], edx
mov eax, ebx
push ebp
test cx, cx
je 0x4101f6
push 0x20
mov ecx, esi
pop ebp
cmp word [ecx], di
jne 0x4101d7
jmp 0x4101ca
cmp word [esi + eax*2], di
je 0x4101d3
inc eax
cmp word [esi + eax*2], bx
jne 0x4101c4
jmp 0x4101d7
mov word [esi + eax*2], bp
cmp word [esi + eax*2], bp
je 0x41034b
cmp word [esi + eax*2 + 2], 0x2f
je 0x410345
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x4101bd
mov eax, dword [esp + 0x28]
test eax, eax
je 0x410203
cmp word [eax], bx
jne 0x41021d
cmp byte [esp + 0x105c], bl
jne 0x41021d
cmp word [0x44e70a], bx
je 0x41021d
mov dword [esp + 0x28], 0x44e70a
push edx
mov dword [esp + 0x34], 1
call fcn.004030b2
mov esi, eax
test esi, esi
je 0x410248
push str..inf
push esi
call fcn.00406c17
test eax, eax
jne 0x410248
mov dword [esp + 0x20], str.Install
push dword [esp + 0x24]
call fcn.00402343
test al, al
je 0x410270
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.00402e3b
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x410372
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x44d700], bl
jne 0x4102a9
cmp byte [esp + 0x105c], bl
jne 0x4102a9
cmp byte [0x459e12], bl
je 0x410308
test edi, edi
je 0x4102be
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4102be
push ebx
push edi
call ebp
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.0041059d
cmp byte [0x459e12], 0
je 0x410308
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x410308
mov eax, dword [esp + 0x10]
add eax, 0x3e8
cmp eax, dword [0x459e14]
jbe 0x410308
mov dword [0x459e14], eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x410325
push str..exe
push esi
call fcn.00406c17
test eax, eax
je 0x41035e
cmp byte [0x44d700], 0
mov al, byte [esp + 0x105c]
je 0x410365
test al, al
jne 0x410365
mov dword [0x459e18], 0x1b58
jmp 0x410365
cmp word [esi + eax*2], bp
jne 0x410351
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x4101fa
mov al, byte [esp + 0x105c]
test bl, bl
je 0x410372
test al, al
je 0x410372
push 1
push edi
call ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1040
ret 0xc
Function at 0x414a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x414a9f
pop dword [ebp - 0x14]
mov eax, 0x414a9f
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3cfc3
push 0
mov eax, 0xf716a362
sub eax, 0xf6d4d14e
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x4671
mov ebx, eax
mov esi, 0xaa166776
add esi, 0x562cf88a
add esi, dword [ebp - 0x14]
mov edx, 0x2bb614de
sub dword [ebp - 0x10], 0xbb25a064
mov edi, dword [esi]
xor edi, edx
sub dword [ebp - 8], 0x47c8838b
mov dword [ebx], edi
xor dword [ebp - 0xc], 0x20c4bfee
add ebx, 0xed767508
sub ebx, 0xed767504
add esi, 4
loop 0x414aed
add eax, 0x10c97
mov ebx, eax
add eax, 0x87cb1faa
sub eax, 0x87cb1fa5
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x2d30000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
mov byte [ebp - 0x18], 0x42
push 0
push esi
mov byte [ebp - 0x17], 0x43
mov byte [ebp - 0x16], 0x44
mov byte [ebp - 0x15], 0x46
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x4b
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x50
mov byte [ebp - 0xe], 0x51
mov byte [ebp - 0xd], 0x52
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x57
mov byte [ebp - 9], 0x58
mov byte [ebp - 8], 0x59
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x34
mov byte [ebp - 4], 0x36
mov byte [ebp - 3], 0x37
mov byte [ebp - 2], 0x38
mov byte [ebp - 1], 0x39
call fcn.02d3dcfd
xor edi, edi
add esp, 0xc
cmp dword [ebp + 0xc], edi
jle 0x2d300c1
mov eax, dword [ebp + 8]
mov al, byte [edi + eax]
cmp al, 0x2d
je 0x2d300bb
xor edx, edx
cmp al, byte [ebp + edx - 0x18]
je 0x2d30098
inc edx
cmp edx, 0x17
jl 0x2d3008c
cmp edx, 0x18
je 0x2d300c7
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
jle 0x2d300bb
movzx eax, byte [ecx + esi]
imul eax, eax, 0x18
add eax, edx
mov byte [ecx + esi], al
sar eax, 8
inc ecx
cmp ecx, dword [ebp + 0x14]
mov edx, eax
jl 0x2d300a4
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x2d30080
mov eax, esi
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x2d300c3

Function at 0x2d300cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
dec edi
mov byte [ebp - 0x1c], 0x42
mov byte [ebp - 0x1b], 0x43
mov byte [ebp - 0x1a], 0x44
mov byte [ebp - 0x19], 0x46
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0x4a
mov byte [ebp - 0x15], 0x4b
mov byte [ebp - 0x14], 0x4d
mov byte [ebp - 0x13], 0x50
mov byte [ebp - 0x12], 0x51
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x54
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x58
mov byte [ebp - 0xc], 0x59
mov byte [ebp - 0xb], 0x32
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x34
mov byte [ebp - 8], 0x36
mov byte [ebp - 7], 0x37
mov byte [ebp - 6], 0x38
mov byte [ebp - 5], 0x39
mov dword [ebp - 4], edi
js 0x2d30193
mov dword [ebp + 0x14], 1
push ebx
add edi, eax
sub dword [ebp + 0x14], eax
push esi
mov eax, dword [ebp + 0x14]
add eax, edi
push 6
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x2d30160
mov byte [edi], 0x2d
jmp 0x2d30187
mov esi, dword [ebp + 0xc]
xor eax, eax
jmp 0x2d30184
mov ecx, dword [ebp + 8]
add ecx, esi
movzx edx, byte [ecx]
shl eax, 8
or eax, edx
cdq
push 0x18
pop ebx
idiv ebx
mov byte [ecx], al
mov eax, edx
mov cl, byte [ebp + eax - 0x1c]
mov byte [edi], cl
dec esi
jns 0x2d30167
dec dword [ebp - 4]
dec edi
cmp dword [ebp - 4], 0
jge 0x2d3014c
pop esi
pop ebx
mov eax, dword [ebp + 0x10]
pop edi
leave
ret
Function at 0x2d31f1f
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa4
push ebx
mov byte [esi + 8], al
and al, 0x80
push edi
mov edi, ecx
mov bl, dl
mov byte [ebp + 0x5c], 0xaa
mov byte [ebp + 0x5d], 0xbb
mov byte [ebp + 0x5e], 0xcc
mov byte [ebp + 0x5f], 0xdd
mov byte [ebp + 0x60], 0xee
mov byte [ebp + 0x61], 0xff
mov byte [ebp + 0x62], 0x11
mov byte [ebp + 0x63], 0x22
mov byte [ebp + 0x64], 0x33
mov byte [ebp + 0x65], 0x44
mov byte [ebp + 0x66], 0x55
mov byte [ebp + 0x67], 0x66
mov byte [ebp + 0x68], 0x77
mov byte [ebp + 0x69], 0x88
mov byte [ebp + 0x6a], 0x99
mov byte [ebp + 0x6b], 0x99
mov byte [esi + 5], al
call fcn.02d357c3
mov dword [esi + 1], eax
test bl, bl
jne 0x2d31f89
mov byte [esi + 9], bl
jmp 0x2d32003
test byte [esi + 5], 0x80
movzx eax, bl
je 0x2d31ff0
mov ecx, eax
and ecx, 0x8000000f
mov dword [ebp + 0x6c], eax
jns 0x2d31fa4
dec ecx
or ecx, 0xfffffff0
inc ecx
je 0x2d31fae
shr bl, 4
inc bl
shl bl, 4
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x34]
push eax
mov byte [esi + 9], bl
call fcn.02d3dcd8
movzx ecx, byte [esi + 9]
mov eax, dword [ebp + 0x6c]
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x34]
push eax
call fcn.02d357a9
lea eax, [ebp + 0x5c]
push eax
movzx eax, byte [esi + 9]
push eax
lea eax, [esi + 0xa]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x7c]
call fcn.02d327f6
add esp, 0x28
jmp 0x2d32003
push eax
push dword [ebp + 0x78]
lea eax, [esi + 0xa]
push eax
mov byte [esi + 9], bl
call fcn.02d3dcd8
add esp, 0xc
movzx eax, byte [esi + 9]
sub edi, eax
lea eax, [eax + esi + 0xa]
push edi
push eax
call fcn.02d357a9
movzx edi, byte [esi + 9]
xor eax, eax
pop ecx
mov word [esi + 6], ax
pop ecx
lea ecx, [edi + 0xa]
mov eax, ecx
cdq
sub eax, edx
xor ebx, ebx
sar eax, 1
and ecx, 0x80000001
mov dword [ebp + 0x6c], ebx
jns 0x2d3203c
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp eax, ebx
mov dx, word [ebp + 0x6c]
jle 0x2d3204d
xor dx, word [esi + ebx*2]
inc ebx
cmp ebx, eax
jl 0x2d32044
test ecx, ecx
je 0x2d3205a
movzx ax, byte [edi + esi + 9]
xor dx, ax
pop edi
mov word [esi + 6], dx
pop ebx
add ebp, 0x70
leave
ret

Function at 0x2d327af
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
jle 0x2d327c1
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x2d327b8
pop esi
ret
Function at 0x2d33102
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.02d32bf5
and dword [ebp - 4], 0
mov ebx, eax
shl ebx, 2
add esp, 0xc
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x2d33174
lea edx, [esi + ebx*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], edi
mov edi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], ebx
jl 0x2d33133
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x2d332e6
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x2d4bb68]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d4bb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d4bf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c768]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x2d4bb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c368]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x2d4bb68]
and edx, ecx
xor edi, dword [edx*4 + 0x2d4cb68]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x2d4bb68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d4bb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d4bf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c768]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x2d4bb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c368]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x2d4bb68]
and edx, ecx
xor edi, dword [edx*4 + 0x2d4cb68]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x2d4bb68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d4bb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d4bf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c768]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x2d4bb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c368]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x2d4bb68]
and edx, ecx
xor edi, dword [edx*4 + 0x2d4cb68]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x2d4bb68]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x2d4bb68]
and edi, ecx
mov edi, dword [edi*4 + 0x2d4bf68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c768]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x2d4bb68]
and edx, ecx
mov edx, dword [edx*4 + 0x2d4bb68]
and ebx, ecx
xor edi, dword [ebx*4 + 0x2d4c368]
and edx, ecx
xor edi, dword [edx*4 + 0x2d4cb68]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x2d33188
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2d35067
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx + 9]
and dword [ebp - 4], 0
push esi
lea esi, [eax + 0xa]
mov eax, esi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
and edx, 0x80000001
push edi
jns 0x2d35091
dec edx
or edx, 0xfffffffe
inc edx
mov si, word [ebp - 4]
xor edi, edi
test eax, eax
jle 0x2d350a4
xor si, word [ecx + edi*2]
inc edi
cmp edi, eax
jl 0x2d3509b
test edx, edx
je 0x2d350b5
movzx eax, byte [ecx + 9]
movzx ax, byte [eax + ecx + 9]
xor si, ax
movzx eax, word [ecx + 6]
mov cx, ax
xor cx, si
xor edx, edx
cmp cx, ax
sete dl
pop edi
pop esi
dec edx
mov eax, edx
leave
ret
Function at 0x2d3636b
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x2d455e8]
or edx, dword [ebx*4 + 0x2d457e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x2d459e8]
and esi, edi
or edx, dword [esi*4 + 0x2d45be8]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x2d456e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x2d458e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x2d45ae8]
and esi, edi
or ecx, dword [esi*4 + 0x2d45ce8]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x2d455e8]
or edx, dword [ebx*4 + 0x2d457e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x2d459e8]
and esi, edi
or edx, dword [esi*4 + 0x2d45be8]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x2d456e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x2d458e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x2d45ae8]
and esi, edi
or ecx, dword [esi*4 + 0x2d45ce8]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x2d363e6
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x2d367b3
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
xor ebx, ebx
push edi
xor ecx, ecx
movzx eax, byte [ecx + 0x2d45570]
mov esi, dword [ebp + 0xc]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
and eax, 7
test byte [eax*2 + 0x2d45500], dl
setne al
mov byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0x38
jl 0x2d367c3
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 4]
lea eax, [edi + edi]
lea ecx, [ebp + eax*4 - 0xf0]
lea esi, [ebp + eax*4 - 0xf4]
movzx eax, byte [edi + 0x2d455a8]
mov dword [ecx], ebx
mov dword [esi], ebx
xor edx, edx
mov edi, eax
cmp edi, 0x1c
jge 0x2d3681d
mov bl, byte [ebp + edi - 0x74]
jmp 0x2d36824
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + edx - 0x3c], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x2d36812
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x2d3683f
mov dl, byte [ebp + eax - 0x74]
jmp 0x2d36846
mov dl, byte [ebp + eax - 0x90]
mov byte [ebp + edi - 0x3c], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x2d36834
xor ebx, ebx
xor eax, eax
lea edx, [eax + 0x2d455d0]
movzx edi, byte [edx - 0x18]
cmp byte [ebp + edi - 0x3c], bl
je 0x2d3686e
mov edi, dword [eax*4 + 0x2d45510]
or dword [esi], edi
movzx edx, byte [edx]
cmp byte [ebp + edx - 0x3c], bl
je 0x2d36880
mov edx, dword [eax*4 + 0x2d45510]
or dword [ecx], edx
inc eax
cmp eax, 0x18
jl 0x2d36855
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x2d367ef
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
call fcn.02d362c0
push 0x38
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.02d3b17f
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.02d3b17f
push 0x80
lea eax, [ebp - 0xf4]
push ebx
push eax
call fcn.02d3b17f
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret

Function at 0x2d36b92
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.02d3dcfd
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
ret