joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a19e8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0x4a1a64
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a1a55
xor edx, edx
push ebp
push 0x4a1a4e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4a1a74
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x4a1a31
push ebx
call eax
mov byte [ebp - 1], 1
jmp 0x4a1a37
push ebx
call sub.kernel32.dll_GetSystemInfo
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1a5b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
push ebx
call sub.kernel32.dll_GetSystemInfo
mov al, byte [ebp - 1]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a412c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
xor ecx, ecx
mov edx, 0x24
call fcn.00403ac0
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0xc]
add esp, 0x24
ret

Function at 0x4a414c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
xor ecx, ecx
mov edx, 0x24
call fcn.00403ac0
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 8]
add esp, 0x24
ret
Function at 0x4a4190
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4350
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403ac0
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x5598e0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5598e4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x5598e8], eax
mov eax, dword [0x56b200]
cmp dword [eax], 2
sete byte [0x5593d4]
push 0x4a435c
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0049efc8
cmp byte [0x5593d4], 0
jne 0x4a421c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0049eff8
test al, al
je 0x4a421c
mov eax, dword [ebp - 0x4c]
mov dword [0x570bbc], eax
jmp 0x4a4223
xor eax, eax
mov dword [0x570bbc], eax
call fcn.004a10fc
and eax, 0x7f
cmp eax, 0x10
ja case.0x4a4234.0
jmp dword [eax*4 + 0x4a423b]
mov byte [0x5593c0], 1
jmp case.0x4a4234.0
mov byte [0x5593c4], 1
jmp case.0x4a4234.0
mov byte [0x5593c8], 1
jmp case.0x4a4234.0
mov byte [0x5593cc], 1
jmp case.0x4a4234.0
mov byte [0x5593d0], 1
jmp case.0x4a4234.0
mov byte [0x5593d8], 1
mov byte [0x5593dc], 1
jmp case.0x4a4234.0
mov byte [0x5593d8], 1
mov byte [0x5593e0], 1
jmp case.0x4a4234.0
mov byte [0x5593d8], 1
mov byte [0x5593e0], 1
mov byte [0x5593e4], 1
jmp case.0x4a4234.0
mov byte [0x5593e8], 1
jmp case.0x4a4234.0
mov byte [0x5593ec], 1
jmp case.0x4a4234.0
mov byte [0x5593f0], 1
jmp case.0x4a4234.0
mov byte [0x5593f4], 1
jmp case.0x4a4234.0
mov byte [0x5593f8], 1
jmp case.0x4a4234.0
mov byte [0x5593fc], 1
jmp case.0x4a4234.0
mov byte [0x559400], 1
jmp case.0x4a4234.0
mov byte [0x559404], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4357
lea eax, [ebp - 4]
call fcn.0040539c
ret

Function at 0x4a7ac0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a7aee
mov eax, ebx
call fcn.004a8574
cmp dword [ebx + 0x40], 0
je 0x4a7ae7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a7b5f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a7b51
cmp dword [ebx + 8], 0
je 0x4a7b10
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a7b22
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a7b51
cmp dword [ebx + 8], 0
je 0x4a7b03
cmp eax, 3
je 0x4a7b35
dec eax
jne 0x4a7b03
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a7b03
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a7b03
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a7b7d
cmp dword [ebx + 0x14], 0xcc
je 0x4a7b7d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a7b88
pop ebx
ret
Function at 0x4bae80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4baeaf
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4baf2e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004b8d8c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4baefc
mov cx, word [esp]
sub cx, si
jmp 0x4baefe
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4baee5
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4baf24
mov cx, word [esp]
sub cx, si
jmp 0x4baf26
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4baf0d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4baf8b
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004bab54
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4baf76
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4baf8b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4bae8a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c5fb4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 0xd
call fcn.00402df4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 0xd
call fcn.00403ac0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov dword [edx + 9], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c5b98
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x462
mov eax, dword [0x570db0]
push eax
call sub.user32.dll_SendMessageA
mov esp, ebp
pop ebp
ret 8
Function at 0x4d3b50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4d3b65
add esp, 0xfffffff0
call fcn.004047c4
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp - 8]
call fcn.00405868
xor eax, eax
push ebp
push 0x4d3c5b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.004d449c
lea eax, [edi + 0x30]
mov edx, dword [ebp - 8]
call fcn.004053f0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [edi + 0x28], esi
mov eax, esi
call fcn.004d3a18
mov word [ebp - 0x1c], 2
mov word [ebp - 0x1a], 0
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
call sub.wsock32.dll_bind
test eax, eax
je 0x4d3bda
or eax, 0xffffffff
call fcn.004d3a18
mov word [ebp - 0x1c], 2
mov ax, word [ebp + 8]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 8]
call fcn.00405878
mov ebx, eax
push ebx
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebp - 0x18], esi
inc esi
jne 0x4d3c2a
push ebx
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4d3c1d
or eax, 0xffffffff
call fcn.004d3a18
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x28]
push eax
call sub.wsock32.dll_connect
test eax, eax
je 0x4d3c45
or eax, 0xffffffff
call fcn.004d3a18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3c62
lea eax, [ebp - 8]
call fcn.0040539c
ret

Function at 0x4d3e58
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d3ebe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], edx
test esi, esi
jle 0x4d3eb4
push 0
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
mov eax, ebx
call fcn.004d3a18
test ebx, ebx
jne 0x4d3ea5
mov eax, 0x4d3f0c
call fcn.004c8f6c
sub esi, ebx
add dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
add dword [eax + 0x1c], ebx
test esi, esi
jg 0x4d3e7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d3f04
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4d4c5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405868
xor eax, eax
push ebp
push 0x4d4d1e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
push 0xa
mov eax, dword [ebp - 4]
call fcn.00405878
push eax
mov eax, dword [0x56c668]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x4d4d08
push ebx
mov eax, dword [0x56c668]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4d4d08
xor eax, eax
push ebp
push 0x4d4d01
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [0x56c668]
push eax
call sub.kernel32.dll_SizeofResource
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LockResource
push eax
call fcn.004d5350
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
call fcn.00408a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4d08
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4d25
lea eax, [ebp - 4]
call fcn.0040539c
ret

Function at 0x4d51d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x4d51e5
or edx, 0x200
test eax, 0x20000000
je 0x4d5218
test eax, 0x40000000
je 0x4d5204
test eax, 0x80000000
je 0x4d51ff
or edx, 0x40
jmp 0x4d523f
or edx, 0x20
jmp 0x4d523f
test eax, 0x80000000
je 0x4d5213
or edx, 0x80
jmp 0x4d523f
or edx, 0x10
jmp 0x4d523f
test eax, 0x40000000
je 0x4d5230
test eax, 0x80000000
je 0x4d522b
or edx, 4
jmp 0x4d523f
or edx, 2
jmp 0x4d523f
test eax, 0x80000000
je 0x4d523c
or edx, 8
jmp 0x4d523f
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x4d6d54
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov esi, eax
lea edi, [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebp, edx
mov edx, ebp
mov eax, 0x55e190
mov ecx, 0x48
call fcn.00403168
lea edx, [ebp + 0x48]
mov eax, 0x55e1d8
mov ecx, 0x1000
call fcn.00403168
xor edi, edi
mov esi, 0x12
mov dword [esp + 8], ebp
xor edx, edx
mov eax, 4
shl edx, 8
xor ecx, ecx
mov cl, byte [esp + edi + 0xc]
or edx, ecx
inc edi
cmp edi, 0x10
jl 0x4d6daf
xor edi, edi
dec eax
jne 0x4d6d9c
mov eax, dword [esp + 8]
xor dword [eax], edx
add dword [esp + 8], 4
dec esi
jne 0x4d6d95
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
xor esi, esi
mov edx, esp
mov eax, ebp
mov cl, 1
call fcn.004d6e30
mov eax, dword [esp]
mov dword [ebp + esi*4], eax
mov eax, dword [esp + 4]
mov dword [ebp + esi*4 + 4], eax
add esi, 2
cmp esi, 0x11
jle 0x4d6dcd
mov edi, 4
mov ebx, ebp
xor esi, esi
mov edx, esp
mov eax, ebp
mov cl, 1
call fcn.004d6e30
mov eax, dword [esp]
mov dword [ebx + esi*4 + 0x48], eax
mov eax, dword [esp + 4]
mov dword [ebx + esi*4 + 0x4c], eax
add esi, 2
cmp esi, 0xff
jle 0x4d6df8
add ebx, 0x400
dec edi
jne 0x4d6df6
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d6e30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov byte [esp], cl
mov esi, edx
mov ebx, eax
lea edi, [esp + 1]
mov edx, edi
mov eax, esi
mov ecx, 8
call fcn.00403168
cmp byte [esp], 0
je 0x4d6ee3
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, 1
xor edx, edx
mov dl, byte [edi + 3]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 2]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 1]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4]
xor ecx, dword [esi + 4]
xor edx, ecx
mov dword [esi + 4], edx
xor edx, edx
mov dl, byte [edi + 7]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 6]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 5]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi + 4]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4 + 4]
xor ecx, dword [esi]
xor edx, ecx
mov dword [esi], edx
add eax, 2
cmp eax, 0x10
jle 0x4d6e62
mov eax, dword [ebx + 0x44]
xor dword [esi + 4], eax
jmp 0x4d6f68
mov eax, dword [ebx + 0x44]
xor dword [esi + 4], eax
mov eax, 0x10
xor edx, edx
mov dl, byte [edi + 7]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 6]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 5]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi + 4]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4]
xor ecx, dword [esi]
xor edx, ecx
mov dword [esi], edx
xor edx, edx
mov dl, byte [edi + 3]
mov edx, dword [ebx + edx*4 + 0x48]
xor ecx, ecx
mov cl, byte [edi + 2]
add edx, dword [ebx + ecx*4 + 0x448]
xor ecx, ecx
mov cl, byte [edi + 1]
xor edx, dword [ebx + ecx*4 + 0x848]
xor ecx, ecx
mov cl, byte [edi]
add edx, dword [ebx + ecx*4 + 0xc48]
mov ecx, dword [ebx + eax*4 - 4]
xor ecx, dword [esi + 4]
xor edx, ecx
mov dword [esi + 4], edx
sub eax, 2
cmp eax, 1
jge 0x4d6eee
mov eax, dword [ebx]
xor dword [esi], eax
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4d774c
Capabilities:
Hash data with md5

Disassembly:
push ebx
add esp, 0xffffffa8
mov ebx, eax
mov edx, esp
mov eax, ebx
mov ecx, 0x58
call fcn.00403168
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
mov edx, ebx
mov eax, esp
mov ecx, 0x58
call fcn.00403168
add esp, 0x58
pop ebx
ret
Function at 0x4d7da8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
mov edi, esp
mov ebp, 0x55f218
mov eax, dword [ebp]
mov dword [ebx + 4], eax
push edi
call sub.kernel32.dll_GetLocalTime
mov ecx, dword [ebp]
and ecx, 0xf
mov esi, dword [ebx + 4]
shl esi, cl
mov ax, word [edi + 8]
or ax, word [edi + 0xc]
movzx eax, ax
shl eax, 0x10
mov dx, word [edi + 0xa]
or dx, word [edi + 0xe]
movzx edx, dx
or eax, edx
xor esi, eax
mov dword [ebx + 4], esi
mov dword [ebp], esi
inc dword [ebp]
cmp dword [ebx + 4], 0
je 0x4d7db8
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4dae68
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff88
mov dword [esp + 4], edx
mov dword [esp], eax
lea eax, [esp + 0x39]
xor ecx, ecx
mov edx, 0x3f
call fcn.00403ac0
lea edx, [esp + 0xc]
mov ecx, 0x2d
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x4dafeb
mov edi, 1
xor esi, esi
jmp 0x4daf2b
mov al, byte [esp + edi + 0xb]
xor edx, edx
mov dl, al
shr edx, 2
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x56125c]
mov byte [esp + esi + 0x39], dl
mov edx, eax
shl edx, 4
xor eax, eax
mov al, byte [esp + edi + 0xc]
shr eax, 4
or dl, al
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x56125c]
mov byte [esp + esi + 0x3a], al
mov dl, byte [esp + edi + 0xc]
shl edx, 2
xor eax, eax
mov al, byte [esp + edi + 0xd]
shr eax, 6
or dl, al
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x56125c]
mov byte [esp + esi + 0x3b], al
mov dl, byte [esp + edi + 0xd]
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x56125c]
mov byte [esp + esi + 0x3c], al
add edi, 3
add esi, 4
mov eax, dword [esp + 8]
sub eax, 2
cmp edi, eax
jle 0x4daeae
cmp edi, dword [esp + 8]
jg 0x4dafd1
mov al, byte [esp + edi + 0xb]
xor edx, edx
mov dl, al
shr edx, 2
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x56125c]
mov byte [esp + esi + 0x39], dl
cmp edi, dword [esp + 8]
jne 0x4daf88
mov edx, eax
shl edx, 4
and dl, 0x30
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x56125c]
mov byte [esp + esi + 0x3a], al
mov byte [esp + esi + 0x3b], 0x3d
jmp 0x4dafc9
mov edx, eax
shl edx, 4
and dl, 0x30
xor eax, eax
mov al, byte [esp + edi + 0xc]
shr eax, 4
and al, 0xf
or dl, al
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x56125c]
mov byte [esp + esi + 0x3a], al
mov dl, byte [esp + edi + 0xc]
shl edx, 2
and dl, 0x3c
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x56125c]
mov byte [esp + esi + 0x3b], al
mov byte [esp + esi + 0x3c], 0x3d
add esi, 4
lea edx, [esp + 0x39]
mov ecx, esi
mov eax, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [esp + 8], 0x2d
jge 0x4dae85
add esp, 0x78
pop edi
pop esi
pop ebx
ret
Function at 0x4db6ec
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x100c], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4db822
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx], 0x1000
jle 0x4db74b
lea edx, [ebp - 0x100c]
mov eax, dword [0x56a860]
call fcn.00407668
mov ecx, dword [ebp - 0x100c]
mov dl, 1
mov eax, dword [0x40b6f8]
call fcn.004110b0
call fcn.00404cf0
xor ecx, ecx
mov eax, dword [ebx]
mov dword [ebp - 8], eax
mov al, byte [ebp + 8]
mov byte [ebp + ecx - 0x1008], al
inc ecx
cmp dword [ebx], 0x7f
jle 0x4db7a2
mov eax, dword [ebx]
mov esi, 0xff
cdq
idiv esi
mov esi, eax
test esi, esi
jne 0x4db777
mov esi, 1
mov eax, esi
or al, 0x80
mov byte [ebp + ecx - 0x1008], al
add ecx, esi
mov eax, esi
test eax, eax
jle 0x4db79d
mov edx, dword [ebx]
and dl, 0xff
mov byte [ebp + ecx - 0x1008], dl
shr dword [ebx], 8
dec ecx
dec eax
jne 0x4db78a
inc esi
add ecx, esi
jmp 0x4db7ac
mov eax, dword [ebx]
mov byte [ebp + ecx - 0x1008], al
inc ecx
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebx], eax
cmp dword [ebx], 0x1000
jle 0x4db7e2
lea edx, [ebp - 0x1010]
mov eax, dword [0x56a860]
call fcn.00407668
mov ecx, dword [ebp - 0x1010]
mov dl, 1
mov eax, dword [0x40b6f8]
call fcn.004110b0
call fcn.00404cf0
lea edx, [ebp + ecx - 0x1008]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00403168
mov ecx, dword [ebx]
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1008]
call fcn.00403168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db829
lea eax, [ebp - 0x1010]
mov edx, 2
call fcn.004053c0
ret

Function at 0x4dd084
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, edx
push ecx
shr ecx, 2
je 0x4dd09e
cld
mov eax, dword [edi]
xor dword [esi], eax
add esi, 4
add edi, 4
dec ecx
jne 0x4dd091
pop ecx
and ecx, 3
je 0x4dd0ad
mov al, byte [edi]
xor byte [esi], al
inc esi
inc edi
dec ecx
jne 0x4dd0a4
pop edi
pop esi
ret

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

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov al, byte [esp]
mov al, byte [eax + 0x56132c]
mov byte [esp + 4], al
xor eax, eax
mov al, byte [esp + 1]
mov al, byte [eax + 0x56132c]
mov byte [esp + 5], al
xor eax, eax
mov al, byte [esp + 2]
mov al, byte [eax + 0x56132c]
mov byte [esp + 6], al
xor eax, eax
mov al, byte [esp + 3]
mov al, byte [eax + 0x56132c]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
pop ecx
pop edx
ret
Function at 0x4dd148
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov byte [ebp - 0x15], cl
mov ebx, edx
mov dword [ebp - 0x14], eax
xor eax, eax
lea edx, [ebp - 0x10]
cmp byte [ebp - 0x15], 0
jne 0x4dd1d6
lea ecx, [eax]
and ecx, 0x80000003
jns 0x4dd173
dec ecx
or ecx, 0xfffffffc
inc ecx
movzx ecx, byte [ebx + ecx*4]
mov ecx, dword [ecx*4 + 0x561564]
lea esi, [eax + 1]
and esi, 0x80000003
jns 0x4dd18e
dec esi
or esi, 0xfffffffc
inc esi
movzx esi, byte [ebx + esi*4 + 1]
xor ecx, dword [esi*4 + 0x561964]
lea esi, [eax + 2]
and esi, 0x80000003
jns 0x4dd1aa
dec esi
or esi, 0xfffffffc
inc esi
movzx esi, byte [ebx + esi*4 + 2]
xor ecx, dword [esi*4 + 0x561d64]
lea esi, [eax + 3]
and esi, 0x80000003
jns 0x4dd1c6
dec esi
or esi, 0xfffffffc
inc esi
movzx esi, byte [ebx + esi*4 + 3]
xor ecx, dword [esi*4 + 0x562164]
mov dword [edx], ecx
jmp 0x4dd24b
lea ecx, [eax]
and ecx, 0x80000003
jns 0x4dd1e5
dec ecx
or ecx, 0xfffffffc
inc ecx
movzx ecx, byte [ebx + ecx*4]
mov cl, byte [ecx + 0x56132c]
mov byte [edx], cl
lea ecx, [eax + 1]
and ecx, 0x80000003
jns 0x4dd201
dec ecx
or ecx, 0xfffffffc
inc ecx
movzx ecx, byte [ebx + ecx*4 + 1]
mov cl, byte [ecx + 0x56132c]
mov byte [edx + 1], cl
lea ecx, [eax + 2]
and ecx, 0x80000003
jns 0x4dd21f
dec ecx
or ecx, 0xfffffffc
inc ecx
movzx ecx, byte [ebx + ecx*4 + 2]
mov cl, byte [ecx + 0x56132c]
mov byte [edx + 2], cl
lea ecx, [eax + 3]
and ecx, 0x80000003
jns 0x4dd23d
dec ecx
or ecx, 0xfffffffc
inc ecx
movzx ecx, byte [ebx + ecx*4 + 3]
mov cl, byte [ecx + 0x56132c]
mov byte [edx + 3], cl
inc eax
add edx, 4
cmp eax, 4
jne 0x4dd15e
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x10
call fcn.004dd084
mov edi, ebx
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret