joyce8/EMBER2024-capa huggingface dataset:
Function at 0x578519
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x1240034
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x578570
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x578570
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x578570
xor eax, eax
inc eax
jmp 0x578572
xor eax, eax
leave
ret 0x10

Function at 0x57859b
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x1240034
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x578609
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x124085c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x578600
cmp dword [ebp - 0xc], 4
jne 0x578600
cmp dword [ebp - 0x10], edi
je 0x578600
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1267950], edi
xor eax, eax
jmp 0x578648
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1267950], edi
jge 0x578643
lea eax, [ebp - 0x34]
push eax
mov dword [0x1267950], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x578643
cmp word [ebp - 0x14], 5
jb 0x578643
call fcn.00578576
test eax, eax
je 0x578643
emms
mov dword [0x1267950], 1
mov eax, dword [0x1267950]
pop edi
leave
ret

Function at 0x59de01
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x59de39
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0059beae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0059be86
jmp 0x59de45
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x59f4f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x59f538
call fcn.005a54a0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x59f538
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x59f52f
xor eax, eax
jmp 0x59f540
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0059f546
pop edi
pop esi
pop ebx
ret 4
Function at 0x5ae640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x12a9020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x5ae6d8
push getpeername
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x5ae6b8
xor eax, eax
push ebp
push 0x5ae6b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x5ae6f4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ae6b8
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x12a9020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x12a9020], ax
mov esp, ebp
pop ebp
ret

Function at 0x5af404
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x12ba044], 0
je 0x5af465
cmp word [0x12ba218], 0xd7b2
jne 0x5af42d
cmp dword [0x12ba220], 0
jbe 0x5af42d
mov eax, 0x12ba214
call dword [0x12ba230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x12a9090
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x5af48c
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0x12a9030], 0
jne 0x5af481
push 0
push 0x12a9088
push 0x12a9090
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret
Function at 0x5b7d84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x12a933c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x5b7e48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x5b7dbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x5b7e5f
dec edx
je 0x5b7ea0
jmp 0x5b7efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x5b7efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5b7f60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x5b7f7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x5b808f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x5b7fb0
je 0x5b7ffc
sub ecx, 0x2b
je 0x5b7ff2
sub ecx, 4
je 0x5b7ff7
dec ecx
sub ecx, 0xa
jb 0x5b7fe1
jmp 0x5b7fff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x5b7fc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x5b7fd0
jmp 0x5b7fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x5b7fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x5b7fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x5b7fff
mov byte [eax], 0x3e
jmp 0x5b7fff
mov byte [eax], 0x3f
jmp 0x5b7fff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x5b7f8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x5b804f
cmp byte [esp + 3], 0xff
jne 0x5b804f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x5b8087
cmp dl, 0xff
je 0x5b8087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x5b7f88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x5b811c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x12ba7a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x5b8138
shr eax, 1
xor eax, 0xedb88320
jmp 0x5b813a
shr eax, 1
dec edx
jne 0x5b812b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x5b8124
pop ebx
ret
Function at 0x5b8150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x5b8159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005afa38
xor eax, eax
push ebp
push 0x5b8239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005b811c
mov eax, dword [0x12b9e0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.005ade7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.005ae218
call fcn.005adba8
test eax, eax
jne 0x5b8216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.005adfcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x5b8210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x12ba7a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x5b81ec
cmp dword [ebp - 8], 0
jne 0x5b81c3
lea eax, [ebp - 0x154]
call fcn.005adfec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b8240
lea eax, [ebp - 4]
call fcn.005af588
ret

Function at 0x5c3718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5c3738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5c3726
pop edi
pop esi
pop ebx
ret
Function at 0x5cbfd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x12bacb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x12af670]
mov eax, dword [esi*4 + 0x12af6b0]
xor eax, dword [esp]
call fcn.005cbf70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.005cbfac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x12af680]
mov eax, dword [esi*4 + 0x12af6c0]
xor eax, dword [esp]
call fcn.005cbf70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.005cbfac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x12af690]
mov eax, dword [esi*4 + 0x12af6d0]
xor eax, dword [esp]
call fcn.005cbf70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.005cbfac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x12af6a0]
mov eax, dword [esi*4 + 0x12af6e0]
xor eax, dword [esp]
call fcn.005cbf70
mov edi, eax
mov eax, edi
call fcn.005cbfac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x5cbfe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5cc138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x5cc16d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x5cc193
inc ebx
cmp ebx, 0xf
jne 0x5cc17d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5cc14f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5d5ee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0x12b40f4
mov ebx, 0x12bece4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.005d4e30
mov dword [esp + 8], eax
mov eax, edi
call fcn.005d4e40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.005d4e30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.005d4e40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x5d5ef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4341ae
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov byte [ebp - 0x2c], 0x53
mov byte [ebp - 0x2b], 0x68
mov byte [ebp - 0x17], 0x46
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x6c
mov byte [ebp - 0x27], 0x33
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x50
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1a], 0x47
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x26], 0x32
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x1b], 0x48
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0
mov byte [ebp - 0xe], 0x68
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xc], 0
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004ea030
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x434243
push ecx
call fcn.00591d59
jmp 0x4342b1
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0059955f
mov esp, ebp
pop ebp
ret
Function at 0x442123
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov byte [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
mov word [ebp - 3], ax
mov byte [ebp - 1], al
mov byte [ebp - 0xd0], 0x46
mov byte [ebp - 0xcf], 0x3d
mov byte [ebp - 0xce], 0x33
mov byte [ebp - 0xcd], 0x1a
mov byte [ebp - 0xcc], 0x17
mov byte [ebp - 0xcb], 0x66
mov byte [ebp - 0xca], 0xaa
mov byte [ebp - 0xc9], 0x27
mov byte [ebp - 0xc8], 0x24
mov byte [ebp - 0xc7], 0x7f
mov byte [ebp - 0xc6], 0x22
mov byte [ebp - 0xc5], 0x83
mov byte [ebp - 0xc4], 0x58
mov byte [ebp - 0xc3], 0x60
mov byte [ebp - 0xc2], 0
mov byte [ebp - 0xc1], 0x9f
cmp dword [ebp + 8], 0
je 0x4421be
cmp dword [ebp + 0x10], 0
jne 0x4421c8
mov eax, 0x10d
jmp 0x442257
lea ecx, [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.00442417
add esp, 8
cmp dword [ebp + 0xc], 0x10
jbe 0x4421f0
mov dword [ebp - 0xd4], 0x10
jmp 0x4421f9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.0048b47a
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.004425b2
add esp, 8
cmp dword [ebp + 0x14], 0x10
jae 0x442234
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd8], eax
jmp 0x44223e
mov dword [ebp - 0xd8], 0x10
mov ecx, dword [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0048b47a
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x442417
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x44243d
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 4
jge 0x44248d
mov dword [ebp - 0x18], 0
jmp 0x44245e
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 4
jge 0x44248b
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + ecx*4 - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [edx + ecx], al
jmp 0x44244c
jmp 0x442434
cmp dword [ebp - 0x14], 0xb0
jge 0x4425ad
mov dword [ebp - 0x18], 0
jmp 0x4424ac
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 4
jge 0x4424e1
mov edx, dword [ebp - 0x18]
add edx, 1
and edx, 0x80000003
jns 0x4424c5
dec edx
or edx, 0xfffffffc
inc edx
xor eax, eax
mov al, byte [ebp + edx*4 - 0xd]
mov ecx, dword [ebp - 0x18]
mov dl, byte [ebp + ecx*4 - 0x10]
xor dl, byte [eax + str.cw]
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax*4 - 0x10], dl
jmp 0x4424a3
mov ecx, dword [ebp - 0x20]
mov dl, byte [ebp - 0x10]
xor dl, byte [ecx*4 + 0x49e41c]
mov byte [ebp - 0x10], dl
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
jmp 0x44250c
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 4
jge 0x442556
mov dword [ebp - 0x18], 0
jmp 0x442524
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 4
jge 0x442554
mov eax, dword [ebp - 0x18]
lea ecx, [ebp + eax*4 - 0x10]
mov edx, dword [ebp - 0x18]
lea eax, [ebp + edx*4 - 0x10]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov cl, byte [ecx + edx]
xor cl, byte [eax + esi - 1]
mov edx, dword [ebp - 0x18]
lea eax, [ebp + edx*4 - 0x10]
mov edx, dword [ebp - 0x1c]
mov byte [eax + edx], cl
jmp 0x44251b
jmp 0x442503
mov dword [ebp - 0x1c], 0
jmp 0x442568
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x4425a8
mov dword [ebp - 0x18], 0
jmp 0x442580
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 4
jge 0x4425a6
mov edx, dword [ebp - 0x18]
lea eax, [ebp + edx*4 - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov al, byte [eax + edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x442577
jmp 0x44255f
jmp 0x44248d
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4425b2
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004426a0
add esp, 8
mov dword [ebp - 4], 1
jmp 0x4425da
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xa
jge 0x442646
mov dword [ebp - 8], 0
jmp 0x4425f2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x442612
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
mov cl, byte [edx + str.cw]
mov byte [eax], cl
jmp 0x4425e9
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004426e1
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00442749
add esp, 4
mov ecx, dword [ebp - 4]
shl ecx, 4
mov edx, dword [ebp + 8]
add edx, ecx
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004426a0
add esp, 8
jmp 0x4425d1
mov dword [ebp - 0xc], 0
jmp 0x442658
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x10
jge 0x442678
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov dl, byte [eax + str.cw]
mov byte [ecx], dl
jmp 0x44264f
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004426e1
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0xa0
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004426a0
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x4428a3
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004426a0
add esp, 8
mov dword [ebp - 8], 0
jmp 0x4428d0
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x10
jge 0x4428f0
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov al, byte [ecx + 0x49e31c]
mov byte [edx], al
jmp 0x4428c7
push 0x10
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004426e1
add esp, 8
mov dword [ebp - 4], 9
jmp 0x442910
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jle 0x44297c
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004426a0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00442990
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x44294c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x10
jge 0x44296c
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov dl, byte [eax + 0x49e31c]
mov byte [ecx], dl
jmp 0x442943
push 0x10
mov eax, dword [ebp + 0xc]
push eax
call fcn.004426e1
add esp, 8
jmp 0x442907
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004426a0
add esp, 8
mov esp, ebp
pop ebp
ret