joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a04e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a050e
mov eax, ebx
call fcn.004a0f94
cmp dword [ebx + 0x40], 0
je 0x4a0507
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a057f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a0571
cmp dword [ebx + 8], 0
je 0x4a0530
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 0x4a0542
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a0571
cmp dword [ebx + 8], 0
je 0x4a0523
cmp eax, 3
je 0x4a0555
dec eax
jne 0x4a0523
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 0x4a0523
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a0523
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a059d
cmp dword [ebx + 0x14], 0xcc
je 0x4a059d
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.004a05a8
pop ebx
ret
Function at 0x4b8428
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b84e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b7c
mov eax, dword [0x5b1bf0]
cmp dword [eax], 2
jne 0x4b8497
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404e14
mov eax, dword [ebx]
call fcn.00404cf0
push eax
mov eax, dword [ebx]
call fcn.00404ce0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404cf0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404e14
jmp 0x4b84c9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409cf8
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b84e9
lea eax, [ebp - 0x3f0]
call fcn.00404460
ret
Function at 0x4d951c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004d9508
test eax, eax
jne 0x4d953d
mov eax, esi
call fcn.00404460
jmp 0x4d95ce
mov eax, ebx
call fcn.004d9664
test al, al
je 0x4d9583
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404550
test edi, edi
je 0x4d957a
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4d95ce
mov eax, esi
call fcn.00404460
jmp 0x4d95ce
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4d95c7
mov eax, dword [ebp + 0x208]
call fcn.0041aefc
test eax, eax
jle 0x4d95b5
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.00439da8
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004044b4
jmp 0x4d95ce
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.004044b4
jmp 0x4d95ce
mov eax, esi
call fcn.00404460
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4db2a4
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.004068a8
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x4f24b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x5b3c64
test esi, esi
jne 0x4f24d2
xor eax, eax
jmp 0x4f25d4
cmp dword [ebp], 0
jne 0x4f24dd
call fcn.004f2448
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4f25ad
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4f24e9
test edi, edi
jbe 0x4f25cf
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4f25b1
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5123c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x5b17bc]
mov eax, dword [eax]
call fcn.0046a088
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, esi
jb 0x5123cf
pop esi
pop ebx
ret

Function at 0x512944
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.004097c0
test al, al
je 0x5129cb
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403020
or esi, 0x100
test esi, esi
jns 0x51297f
call fcn.004035a4
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404930
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x5129cb
mov dl, 1
mov eax, dword [0x4238a0]
call fcn.0042b774
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042bb80
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x5129cb
mov eax, esp
call fcn.0040f2e4
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x517344
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x517500
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a150
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.0045c814
call fcn.004fef80
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x5173c8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00424a30
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a150
mov eax, dword [eax + 0xc]
pop edx
call fcn.00424a38
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00424918
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00409b7c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a150
call fcn.004257a0
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.0042498c
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004249c8
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004249c8
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.004249c8
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00424a30
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a150
mov eax, dword [eax + 0xc]
pop edx
call fcn.004248c4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042a150
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x54]
mov ecx, edx
shl edx, 6
add edx, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xb8]
mov edx, dword [ecx + edx*4 + 0xb0]
call fcn.00424708
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x517507
lea eax, [ebp - 4]
call fcn.00404460
ret
Function at 0x5331e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x5331fc
mov eax, ebx
call fcn.00532a7c
cmp dword [ebx + 0x68], 0
jne 0x533209
mov eax, ebx
call fcn.005329d8
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x5333bc
cmp dword [ebx + 0x68], 0
je 0x5333bc
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00532848
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00511fe8
cmp eax, dword [esp]
je 0x53328b
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00511ffc
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x533267
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.00511fe8
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x533280
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x53329e
mov eax, dword [eax + 0x18]
call fcn.00450974
mov esi, eax
jmp 0x5332a1
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x5332b6
or esi, 0xffffffff
jmp 0x5332c0
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.004498c4
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.004498e8
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00449910
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.00449934
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.004068c4
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00450974
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00450974
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00450974
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042a150
call fcn.004257a0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00450974
push eax
mov eax, dword [0x5b1124]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.00450974
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5335fc
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp], eax
mov eax, dword [esp]
xor ecx, ecx
mov edx, 0x10
call fcn.00403020
lea eax, [esp + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x5337e8
push 0
push 0x5337f0
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x5337e8
push 0
push 0x533800
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x5337e8
push 0
push 0x533810
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x5337e8
push 0
push 0x533820
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x5337e8
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 1
jl 0x5337e8
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x5337e8
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x5337e8
push 0x40
push 0x1000
push 0x1000
push 0
push edi
call sub.kernel32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x5337e8
or ebx, 0xffffffff
cmp ebx, dword [esp + 4]
jge 0x5337d4
inc ebx
push esi
push ebx
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x5337ca
lea eax, [esp + 0xc]
push eax
push 0x18
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x5337ca
test byte [esp + 0x1d], 0xd
jne 0x5337ca
mov al, byte [esp + 0x1c]
and al, 8
cmp al, 8
je 0x5337ca
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x5337ca
cmp dword [esp + 0xc], 0
je 0x5337ca
mov eax, dword [0x5b17bc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0x10]
jne 0x5337ca
push esi
push ebx
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x5337a6
lea eax, [esp + 0xc]
push eax
push 0x10
mov eax, dword [esp + 8]
push eax
push esi
push edi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0xc], 0
je 0x5337d4
lea eax, [esp + 0x28]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, dword [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
call fcn.00406908
jmp 0x5337d4
cmp ebx, dword [esp + 4]
jl 0x53370a
push 0x8000
push 0
push esi
push edi
call sub.kernel32.dll_VirtualFreeEx
push edi
call sub.kernel32.dll_CloseHandle
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x534bb8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416f80]
call fcn.00404e78
xor eax, eax
push ebp
push 0x534cfc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5abbf4], 0
jne 0x534c0b
mov ecx, dword [0x5b0fd4]
mov dl, 1
mov eax, dword [0x407c64]
call fcn.0040d804
call fcn.00403df8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403020
mov eax, ebx
call fcn.00404ce0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x534d0c
lea edi, [ebp - 0x30]
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
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406060
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404cf0
test eax, eax
jle 0x534ca3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x534c9c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004046f8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004046e0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c0c
test eax, eax
jne 0x534c9c
mov ebx, 0x15
jmp 0x534ca8
mov ebx, 0x10
jmp 0x534ca8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5abbf4]
call fcn.00534b10
mov eax, dword [ebp - 8]
call fcn.00534b10
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534d03
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404484
lea eax, [ebp - 0x10]
mov edx, dword [0x416f80]
call fcn.00404f48
ret

Function at 0x540610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov eax, 8
test byte [edx + 1], 0x80
setne bl
mov si, word [edx]
add esi, esi
mov edi, ecx
and edi, 0xff
shr edi, 7
or si, di
mov word [edx], si
test bl, bl
je 0x54063e
xor word [edx], 0x1021
add ecx, ecx
and cl, 0xff
dec eax
jne 0x540618
pop edi
pop esi
pop ebx
ret
Function at 0x54d3f4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0054dfc4
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x54dec0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x54df05
lea eax, [ebp - 0x60]
call fcn.0054d3f4
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.0054d41c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0054d4ec
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x54df07
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x54df2e
mov bl, byte [esi]
xor bl, 0x36
mov byte [eax], bl
mov bl, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x54df34
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x54df15
lea eax, [ebp - 0x60]
call fcn.0054d3f4
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0054d41c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.0054dda0
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0054d4ec
lea eax, [ebp - 0x60]
call fcn.0054d3f4
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0054d41c
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.0054d41c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0054d4ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x552070
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push ecx
mov ebx, 0x5ac0cc
test edx, edx
jne 0x552083
xor eax, eax
jmp 0x552198
mov dword [esp], 1
cmp byte [esp], 0
je 0x5520a0
push ecx
push edx
push eax
call fcn.0055219c
add esp, 0xc
jmp 0x552198
push ecx
push edx
push eax
call fcn.005524a0
add esp, 0xc
jmp 0x552198
pop edx
pop esi
pop ebx
ret
Function at 0x566198
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x5661ac
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x5661ab
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00404abc
xor ebx, ebx
cmp esi, dword [esp]
jge 0x566315
inc ebx
mov eax, edi
call fcn.00404988
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x5afd74]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x5662cd
inc ebx
mov eax, edi
call fcn.00404988
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov cl, byte [ebp + esi + 1]
and cl, 0xf0
and ecx, 0xff
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x5afd74]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x56629c
inc ebx
mov eax, edi
call fcn.00404988
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov cl, byte [ebp + esi + 2]
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x5afd74]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404988
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x5afd74]
mov byte [eax + ebx - 1], dl
jmp 0x566309
inc ebx
mov eax, edi
call fcn.00404988
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x5afd74]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404988
mov byte [eax + ebx - 1], 0x3d
jmp 0x566309
inc ebx
mov eax, edi
call fcn.00404988
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x5afd74]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404988
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00404988
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x5661dd
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5671ec
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, 0x5afed0
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x56720b
mov esi, 1
mov edx, 0x5affd8
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
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 0x567285
dec ebx
je 0x5672a9
dec ebx
je 0x5672cd
dec ebx
je 0x5672f0
jmp 0x567309
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x567309
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x567309
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x567309
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x567272
inc esi
add edx, 0x40
cmp esi, 9
jne 0x567227
mov esi, 0x20
mov eax, 0x5aff00
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x56732e
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x567368
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x5aff87]
test bl, bl
jbe 0x567399
lea eax, [esi + 0x3e0]
call fcn.00567348
lea eax, [esi + 0x3fc]
call fcn.00567348
dec bl
jne 0x56737f
mov cl, 0x30
mov edi, 0x5aff58
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x5673bb
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x5673ca
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x5673a3
pop edx
pop edi
pop esi
pop ebx
ret