joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc704
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048f8
xor eax, eax
push ebp
push 0x4bc8c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0049b130
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.004044b4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404908
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x4bc891
mov eax, dword [ebp - 0x14]
call fcn.00402744
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4bc88a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4bc871
mov esi, 8
mov ebx, 0x54d348
lea eax, [ebp - 0x20]
mov edx, dword [ebx]
call fcn.004044b4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4bc8d0
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bc81d
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call fcn.00407950
movzx eax, ax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x40]
mov ecx, 2
mov eax, 0x4bc8f4
call fcn.0040a528
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
call fcn.004044b4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
call fcn.00404960
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4bc867
push dword [ebx]
push 0x4bc91c
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x10]
call fcn.0040a038
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004047c8
mov edx, dword [ebp - 0x44]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
add ebx, 4
dec esi
jne 0x4bc7ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc891
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc8c8
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404440
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404440
lea eax, [ebp - 4]
call fcn.0040441c
ret
Function at 0x4c0e74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4c0e7c
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c0fac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040441c
mov esi, 0xff
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404a94
push esi
lea eax, [ebp - 4]
call fcn.00404960
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov esi, eax
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0xc]
call fcn.0040914c
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00404e1c
je 0x4c0f5f
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 0xc]
call fcn.004046d0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409c0c
cmp dword [ebp - 0x10], 0
jne 0x4c0f2e
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404968
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040e17c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00404ce4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0xc]
call fcn.00404d70
lea eax, [ebp - 8]
mov edx, dword [ebx + 0xc]
call fcn.004046d0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.00404ce4
mov eax, dword [ebp - 0x24]
call fcn.00498dd0
test al, al
je 0x4c0f5f
push 0
push edi
lea eax, [ebp - 8]
xor ecx, ecx
xor edx, edx
call fcn.004b4c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0fb3
lea eax, [ebp - 0x24]
call fcn.00404b54
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404440
lea eax, [ebp - 0x18]
call fcn.00404b54
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404440
lea eax, [ebp - 0xc]
call fcn.00404b54
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404440
ret

Function at 0x4c3264
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c3338
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004044b4
lea eax, [ebp - 8]
call fcn.00404958
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404908
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4c3322
mov eax, ebx
call fcn.00402744
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c331b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404908
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4c3305
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4c3348
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3305
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3322
mov eax, dword [ebp - 0x10]
call fcn.00402764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c333f
lea eax, [ebp - 8]
call fcn.0040441c
ret
Function at 0x4c6a00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c6a2e
mov eax, ebx
call fcn.004c74b4
cmp dword [ebx + 0x40], 0
je 0x4c6a27
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c6a9f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c6a91
cmp dword [ebx + 8], 0
je 0x4c6a50
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 0x4c6a62
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c6a91
cmp dword [ebx + 8], 0
je 0x4c6a43
cmp eax, 3
je 0x4c6a75
dec eax
jne 0x4c6a43
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 0x4c6a43
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c6a43
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c6abd
cmp dword [ebx + 0x14], 0xcc
je 0x4c6abd
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.004c6ac8
pop ebx
ret

Function at 0x4ce082
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x4ce095
xor eax, eax
jmp 0x4ce138
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x4ce0d4
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x4ce136
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ce032
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4ce134
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4ce138
jmp 0x4ce0cb
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4db240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4db2b3
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 4], edx
test al, al
je 0x4db29d
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004db09c
cmp dword [ebp - 8], 0
je 0x4db292
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00417a48
test al, al
je 0x4db29d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4db29d
mov eax, dword [ebp - 0xc]
call fcn.004db198
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db2ba
lea eax, [ebp - 0xc]
call fcn.0040441c
ret

Function at 0x4db354
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4db40e
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x4db37d
mov eax, ebx
call fcn.0040441c
jmp 0x4db3f8
mov ecx, ebx
lea edx, [ebp - 4]
call fcn.004db09c
cmp dword [ebp - 4], 0
je 0x4db3f8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00417a3c
test al, al
je 0x4db3f1
xor eax, eax
push ebp
push 0x4db3ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004db2c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db3f8
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00417a3c
test al, al
je 0x4db3e9
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.0040441c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db415
lea eax, [ebp - 0xc]
call fcn.00406294
ret

Function at 0x4dcf00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004dcebc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4dcf74
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x557f44], eax
mov ebx, 0x4dce48
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4dcf74
xor eax, eax
push ebp
push 0x4dcf6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dcf74
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dcf7c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004dcebc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4dcfe7
mov ebx, dword [0x557f44]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4dcfe7
xor eax, eax
push ebp
push 0x4dcfe0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dcfe7
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e3eec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x425d60]
call fcn.0042be8c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e40bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4e409e
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0042d390
mov eax, dword [ebp - 8]
call fcn.0042c454
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.004274d8
cmp byte [ebp + 8], 0
je 0x4e3f86
xor edx, edx
mov eax, ebx
call fcn.004e2f14
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004e2f14
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004e2e44
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4e3fc2
xor edx, edx
mov eax, ebx
call fcn.004e2f14
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004e2e44
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004e2f14
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419448
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.0042c454
pop edx
call fcn.00427b3c
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004e2e44
dec eax
test eax, eax
jl 0x4e4076
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004e2de8
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004e2f40
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004e2f40
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.00419420
mov eax, dword [ebp - 8]
call fcn.0042c454
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4e400c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004e2de8
cmp byte [ebp + 0xc], 0
je 0x4e409e
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.0042e540
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e25c4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e40c6
mov eax, dword [ebp - 8]
call fcn.004035cc
ret
Function at 0x4e9ff4
Capabilities:
Encrypt data using rc4 ksa

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
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4ea0d4
mov eax, dword [ebp - 4]
call fcn.0042c454
call fcn.00427fac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x4ea0d4
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jl 0x4ea0c8
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_GetPixel
mov edi, eax
mov eax, edi
call fcn.004079d8
xor ebx, ebx
mov bl, al
imul ebx, dword [ebp - 8]
mov eax, edi
call fcn.004079dc
and eax, 0xff
imul dword [ebp - 0xc]
add ebx, eax
mov eax, edi
call fcn.004079e0
and eax, 0xff
imul dword [ebp + 8]
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, ebx
call fcn.004079bc
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SetPixel
inc esi
dec dword [ebp - 0x1c]
jne 0x4ea053
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4ea041
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4ea0e0
Capabilities:
Encrypt data using rc4 ksa

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
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4ea1c0
mov eax, dword [ebp - 4]
call fcn.0042c454
call fcn.00427fac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x4ea1c0
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jl 0x4ea1b4
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_GetPixel
mov edi, eax
mov eax, edi
call fcn.004079d8
xor ebx, ebx
mov bl, al
imul ebx, dword [ebp - 8]
mov eax, edi
call fcn.004079dc
and eax, 0xff
imul dword [ebp - 0xc]
add ebx, eax
mov eax, edi
call fcn.004079e0
and eax, 0xff
imul dword [ebp + 8]
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, ebx
call fcn.004079bc
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SetPixel
inc esi
dec dword [ebp - 0x1c]
jne 0x4ea13f
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4ea12d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ec4fc
Capabilities:
Hash data with md5

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

Function at 0x4ecf40
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 0x4ecf85
lea eax, [ebp - 0x60]
call fcn.004ec4fc
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.004ec524
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.004ec5f4
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x4ecf87
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x4ecfae
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 0x4ecfb4
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x4ecf95
lea eax, [ebp - 0x60]
call fcn.004ec4fc
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.004ec524
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.004ecea8
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.004ec5f4
lea eax, [ebp - 0x60]
call fcn.004ec4fc
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.004ec524
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.004ec524
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.004ec5f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4efc5c
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 0x4efc70
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4efc6f
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00404a94
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4efdd9
inc ebx
mov eax, edi
call fcn.00404960
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x54e57c]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x4efd91
inc ebx
mov eax, edi
call fcn.00404960
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 + 0x54e57c]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x4efd60
inc ebx
mov eax, edi
call fcn.00404960
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 + 0x54e57c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404960
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x54e57c]
mov byte [eax + ebx - 1], dl
jmp 0x4efdcd
inc ebx
mov eax, edi
call fcn.00404960
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x54e57c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404960
mov byte [eax + ebx - 1], 0x3d
jmp 0x4efdcd
inc ebx
mov eax, edi
call fcn.00404960
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x54e57c]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00404960
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00404960
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x4efca1
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret