joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a068
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48a233
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48a211
mov dl, 1
mov eax, dword [0x41d818]
call fcn.004044bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405448
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x48a1fa
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004797a8
test al, al
je 0x48a1ee
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x48a244
lea eax, [ebp - 0x25c]
call fcn.0040e71c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x48a1ee
xor eax, eax
push ebp
push 0x48a1e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x48a27c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x48a1d0
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004056b8
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x48a1d0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004056b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a1ee
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x48a0dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00424094
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a23a
lea eax, [ebp - 0x268]
call fcn.00405448
ret
Function at 0x48ad94
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5817d0]
cmp byte [eax + 0xad], 0
jne 0x48ae0b
cmp dword [0x5817e8], 0
jne 0x48adc9
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48ad50
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5817e8], eax
cmp dword [0x5817e4], 0
jne 0x48ade4
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x5817e4], eax
cmp dword [0x5817ec], 0
jne 0x48ae0b
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x48acf0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x5817ec], eax
pop ecx
pop ebp
ret

Function at 0x48aed4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0048ae6c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x48aef5
xor eax, eax
call fcn.0048aea4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x48af0f
mov al, 1
call fcn.0048aea4
mov esp, ebp
pop ebp
ret

Function at 0x48b7a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x5817d0]
cmp dword [eax + 0x30], 0
je 0x48b86a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x48b861
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x48b720
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x48b861
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x48b81b
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x48b861
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00420298
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x48b830
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret
Function at 0x48baa0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x5817d0]
cmp dword [eax + 0x30], 0
je 0x48bbab
cmp byte [ebp - 5], 0
jne 0x48bb30
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x48bb25
push 0
push 0x48ba20
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
cmp dword [eax + 8], 0
jle 0x48bb25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x48bb25
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00420298
push eax
call sub.user32.dll_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x48bafd
mov eax, dword [ebp - 4]
inc dword [eax + 0x9c]
jmp 0x48bbab
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jle 0x48bbab
mov eax, dword [ebp - 4]
dec dword [eax + 0x9c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x48bbab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
cmp dword [eax + 8], 0
jle 0x48bb9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x48bb9d
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
call fcn.00420298
push eax
call sub.user32.dll_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x48bb75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
mov esp, ebp
pop ebp
ret

Function at 0x48c7bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xac], 0
je 0x48c801
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00405538
jmp 0x48c812
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.0040549c
mov esp, ebp
pop ebp
ret

Function at 0x48e054
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x48e0de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00472e40
test al, al
je 0x48e0de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004728f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48e0de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x48e0ce
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004728f8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00468804
jmp 0x48e0de
mov cl, 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x74]
mov eax, dword [ebp - 4]
call fcn.0048de24
pop ecx
pop ebp
ret
Function at 0x491974
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x49197d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x491b2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00491cbc
xor eax, eax
push ebp
push 0x491b0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x4919cc
call fcn.00404e4c
jmp 0x491b14
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x491a9b
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x491a21
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x491a21
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049191c
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004057cc
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x491a5a
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0049191c
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004057cc
mov eax, dword [ebp - 0x14]
call fcn.0040590c
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x491af7
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0049191c
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x491b48
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004057cc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00491940
jmp 0x491af7
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x491abe
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x491abe
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x491ad4
mov eax, ebx
call fcn.0040590c
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x491af7
lea eax, [ebp - 0x24]
mov ecx, 0x491b48
mov edx, ebx
call fcn.00405758
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00491940
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491b14
mov eax, dword [ebp - 4]
call fcn.00491ccc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491b36
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.0040546c
ret
Function at 0x49381c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, 1
jmp 0x49383d
inc edi
mov eax, esi
call fcn.00405708
cmp edi, eax
jg 0x49384f
cmp byte [esi + edi - 1], 0x20
je 0x49383c
mov eax, esi
test eax, eax
je 0x49385a
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x49391a
cmp byte [esi + edi - 1], 0x2e
je 0x49393c
jmp 0x49391a
cmp byte [esi + edi - 1], 0x2e
jne 0x4938c9
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jg 0x49393c
cmp dword [ebp - 0xc], 0xff
jg 0x49393c
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], 0
je 0x4938ac
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp edi, dword [ebp - 0x10]
jl 0x4938b5
mov bl, 1
jmp 0x4938c3
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x49393c
jmp 0x493919
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4938ec
mov eax, dword [ebp - 0xc]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [ebp - 0xc], eax
jmp 0x493919
inc edi
mov eax, esi
call fcn.00405708
cmp edi, eax
jg 0x4938fe
cmp byte [esi + edi - 1], 0x20
je 0x4938eb
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], 0
je 0x493912
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp edi, dword [ebp - 0x14]
jle 0x49393c
jmp 0x493929
inc edi
mov eax, esi
call fcn.00405708
cmp edi, eax
jle 0x493872
cmp dword [ebp - 8], 3
jne 0x49393c
cmp dword [ebp - 0xc], 0xff
jg 0x49393c
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d1ed4
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x581c3c], 0
jne 0x4d1efa
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4d1e1c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x581c3c], eax
pop ebp
ret
Function at 0x4e31d8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4e3229
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4e3210
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4e3200
jmp 0x4e3229
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4e3211
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f0fac
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004f1bac
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
pop ebp
ret
Function at 0x4f46dc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov ebx, dword [ebp - 8]
jmp 0x4f46f5
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4f46f4
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00405b94
xor ebx, ebx
cmp esi, dword [ebp - 8]
jge 0x4f486c
inc ebx
mov eax, edi
call fcn.00405964
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [ebp - 8]
jge 0x4f4823
inc ebx
mov eax, edi
call fcn.00405964
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [ebp - 8]
jge 0x4f47ef
inc ebx
mov eax, edi
call fcn.00405964
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405964
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x4f4860
inc ebx
mov eax, edi
call fcn.00405964
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405964
mov byte [eax + ebx - 1], 0x3d
jmp 0x4f4860
inc ebx
mov eax, edi
call fcn.00405964
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405964
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00405964
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [ebp - 8]
jl 0x4f4727
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4f7528
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x579028
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4f7547
mov esi, 1
mov edx, 0x579130
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4f75c0
dec ebx
je 0x4f75e2
dec ebx
je 0x4f7604
dec ebx
je 0x4f7625
jmp 0x4f763f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4f763f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4f763f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4f763f
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4f75b0
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4f7563
mov esi, 0x20
mov eax, 0x579058
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4f7664
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f76a0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x5790df]
test bl, bl
jbe 0x4f76d5
lea eax, [esi + 0x3e0]
call fcn.004f767c
lea eax, [esi + 0x3fc]
call fcn.004f767c
dec bl
jne 0x4f76bb
mov cl, 0x30
mov edx, 0x5790b0
mov eax, dword [ebp - 4]
movzx ebx, byte [edx]
mov byte [ebp - 5], bl
cmp byte [ebp - 5], 0x1c
ja 0x4f76fb
movzx ebx, byte [ebp - 5]
movzx ebx, byte [esi + ebx + 0x3df]
mov byte [eax], bl
jmp 0x4f7709
movzx ebx, byte [ebp - 5]
movzx ebx, byte [esi + ebx + 0x3df]
mov byte [eax], bl
inc eax
inc edx
dec cl
jne 0x4f76df
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4f7718
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004f74c0
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4f7734
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004f74c0
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004f74c0
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4f7750
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004f76a0
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4f777a
mov bl, 1
mov eax, 0x578fa8
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4f77b3
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4f77c0
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4f779f
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4f77ea
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004f7528
jmp 0x4f7811
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004f7528
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4f7819
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4f77d2
mov bl, 0x40
mov esi, 0x578fe8
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x4f787f
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4f788c
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4f7868
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004f74e8
inc ebx
inc esi
cmp bl, 0x41
jne 0x4f789a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f79d8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [ebp - 0x10], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [ebp - 0xf], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [ebp - 0xe], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [ebp - 0xd], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [ebp - 0xb], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [ebp - 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [ebp - 9], al
mov edi, 8
lea eax, [ebp - 0x10]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4f7a83
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4f7a7e
mov eax, dword [ebp - 8]
mov edx, 8
call fcn.00405b94
push 1
mov eax, dword [ebp - 8]
call fcn.00405964
mov edx, eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004f7718
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret