joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f014f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x51eed4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x521b74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b44c7
mov eax, 1
jmp 0x4b45b9
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x521b78]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b44ea
mov eax, 1
jmp 0x4b45b9
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [0x521b6c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b450e
mov eax, 1
jmp 0x4b45b9
mov byte [0x521b94], 0
mov dword [ebp - 4], 0
push 0x521b84
push 0
push 0
push 0x4b4040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x521b6c], eax
jmp 0x4b45a9
mov dword [ebp - 4], 0xffffffff
jmp 0x4b45b7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b45d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov byte [0x521b94], 1
mov eax, dword [0x521b60]
mov byte [eax + 0xd], 1
mov ecx, dword [0x521b60]
call fcn.00493910
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov ecx, dword [0x521b6c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov edx, dword [0x521b6c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
mov ecx, dword [0x521b6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0
je 0x4b4640
mov edx, dword [0x521b6c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov eax, dword [0x521b60]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x521b60]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x84]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4b49f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f01b5
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x51eed4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x521b74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b4a47
mov eax, 1
jmp 0x4b4b56
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x521b78]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b4a6a
mov eax, 1
jmp 0x4b4b56
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [0x521b70]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b4a8e
mov eax, 1
jmp 0x4b4b56
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x521b7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b4ab2
mov eax, 1
jmp 0x4b4b56
mov dword [ebp - 4], 0
push 0x521b84
push 0
push 0
push 0x4b47a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x521b7c], eax
jmp 0x4b4b46
mov dword [ebp - 4], 0xffffffff
jmp 0x4b4b54
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b4b70
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov byte [0x521b95], 1
push 0
mov eax, dword [0x521b7c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [0x521b7c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x521b68]
call fcn.00493910
lea edx, [ebp - 4]
push edx
mov eax, dword [0x521b7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0
je 0x4b4bcd
mov ecx, dword [0x521b7c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov edx, dword [0x521b68]
mov eax, dword [edx + 0x10]
mov ecx, dword [0x521b68]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x84]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4b4ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f021b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x51eed4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x521b74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b4f17
mov eax, 1
jmp 0x4b500b
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x521b78]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b4f3a
mov eax, 1
jmp 0x4b500b
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [0x521b70]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b4f5e
mov eax, 1
jmp 0x4b500b
mov byte [0x521b95], 0
mov dword [ebp - 4], 0
push 0x521b84
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0x4b4c70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x521b70], eax
jmp 0x4b4ffb
mov dword [ebp - 4], 0xffffffff
jmp 0x4b5009
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b5020
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov byte [0x521b95], 1
push 0
mov eax, dword [0x521b70]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
mov ecx, dword [0x521b70]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x521b64]
call fcn.00493910
lea edx, [ebp - 4]
push edx
mov eax, dword [0x521b70]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0
je 0x4b507d
mov ecx, dword [0x521b70]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov edx, dword [0x521b64]
mov eax, dword [edx + 0x10]
mov ecx, dword [0x521b64]
mov ecx, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x84]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4b5360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f02ac
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x51eed4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x521b74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b53b7
mov eax, 1
jmp 0x4b54e2
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x521b78]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b53da
mov eax, 1
jmp 0x4b54e2
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [0x521b70]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b53fe
mov eax, 1
jmp 0x4b54e2
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x521b6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x14], 0x103
jne 0x4b5422
mov eax, 1
jmp 0x4b54e2
mov dword [ebp - 4], 0
push 0x521b84
push 0
push 0
push 0x4b5140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x521b74], eax
push 0xffffffffffffffff
mov edx, dword [0x521b74]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4b54c5
mov dword [ebp - 4], 0xffffffff
jmp 0x4b54d3
mov edx, dword [0x521b74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b8360
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x51eed4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.004b80b0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004b82f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4b83cb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004b80e0
mov eax, dword [ebp - 0x224]
jmp 0x4b845c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4b8431
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004b8360
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4b8428
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004b80e0
mov eax, dword [ebp - 0x228]
jmp 0x4b845c
mov dword [ebp - 4], 0x100
jmp 0x4b83d2
lea ecx, [ebp - 0x14]
call fcn.004b8220
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.004b8160
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004b80e0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004be1d6
mov esp, ebp
pop ebp
ret 4
Function at 0x4b8a50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4b8a59
xor ecx, ecx
jne 0x4b8a59
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4b8a7a
mov eax, 0xd
jmp 0x4b8ad5
xor eax, eax
jne 0x4b8a61
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4b8a8b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x4bc2b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x30], 0
jne 0x4bc2da
xor eax, eax
jmp 0x4bc30c
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4bc680
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4bc309
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4bdd50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0x4fa998
push str.Error_Log.log
call fcn.004c41cb
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4bddcd
cmp dword [ebp + 8], 0
je 0x4bddcd
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c0360
add esp, 4
push eax
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.004c110b
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
push 0x4fa9ac
call fcn.004c0360
add esp, 4
push eax
push 1
push 0x4fa9b0
call fcn.004c110b
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c0f2d
add esp, 4
cmp dword [ebp - 4], 0
je 0x4bdddf
mov edx, dword [ebp - 4]
push edx
call fcn.004c0f2d
add esp, 4
mov esp, ebp
pop ebp
ret 4

Function at 0x4be1d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x51eed4]
jne 0x4be1e0
repz ret
jmp fcn.004c5c7c
Function at 0x4d2230
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004c5667
and dword [ebp - 4], 0
cmp dword [0x52295c], 0
mov ebx, eax
jne 0x4d22e1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4d2392
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4d2392
push eax
call fcn.004c55f5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x52295c], eax
call esi
push eax
call fcn.004c55f5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x522960], eax
call esi
push eax
call fcn.004c55f5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x522964], eax
call esi
push eax
call fcn.004c55f5
pop ecx
mov dword [0x52296c], eax
test eax, eax
je 0x4d22e1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c55f5
pop ecx
mov dword [0x522968], eax
mov eax, dword [0x522968]
cmp eax, ebx
je 0x4d2339
cmp dword [0x52296c], ebx
je 0x4d2339
push eax
call fcn.004c5670
push dword [0x52296c]
mov esi, eax
call fcn.004c5670
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4d2339
test edi, edi
je 0x4d2339
call esi
test eax, eax
je 0x4d2330
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4d2330
test byte [ebp - 0xc], 1
jne 0x4d2339
or dword [ebp + 0x10], 0x200000
jmp 0x4d2372
mov eax, dword [0x522960]
cmp eax, ebx
je 0x4d2372
push eax
call fcn.004c5670
pop ecx
test eax, eax
je 0x4d2372
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4d2372
mov eax, dword [0x522964]
cmp eax, ebx
je 0x4d2372
push eax
call fcn.004c5670
pop ecx
test eax, eax
je 0x4d2372
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x52295c]
call fcn.004c5670
pop ecx
test eax, eax
je 0x4d2392
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4d2394
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4de580
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push 0x1000
lea eax, [ebx + 0x90]
xor ebp, ebp
push 0x4fef98
mov ecx, 0x12
mov esi, 0x4fef50
mov edi, ebx
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
rep movsd dword es:[edi], dword [esi]
call fcn.004c0830
mov ebp, dword [esp + 0x2c]
add esp, 0xc
xor edi, edi
mov esi, 2
xor edx, edx
lea eax, [esi - 2]
div ebp
mov eax, dword [esp + 0x24]
inc edi
movzx ecx, byte [edx + eax]
xor edx, edx
lea eax, [esi - 1]
div ebp
mov eax, dword [esp + 0x24]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
xor edx, edx
mov eax, esi
div ebp
mov eax, dword [esp + 0x24]
shl ecx, 8
movzx edx, byte [edx + eax]
or ecx, edx
xor edx, edx
lea eax, [esi + 1]
div ebp
mov eax, dword [esp + 0x24]
shl ecx, 8
add esi, 4
movzx edx, byte [edx + eax]
or ecx, edx
xor dword [ebx + edi*4 - 4], ecx
cmp edi, 0x12
jb 0x4de5c7
push ebx
lea ecx, [esp + 0x14]
mov eax, ebx
call fcn.004de340
add esp, 4
mov ecx, ebx
mov edi, 8
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.004de340
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x4de634
lea esi, [ebx + 0x90]
push esi
lea ecx, [ebx + 0x40]
mov eax, ebx
call fcn.004de340
add esp, 4
mov ecx, esi
mov edi, 0x1ff
lea esi, [ecx + 8]
push esi
mov eax, ebx
call fcn.004de340
add esp, 4
sub edi, 1
mov ecx, esi
jne 0x4de664
xor eax, eax
lea ecx, [ebx + 0x8c]
mov edx, dword [ebx + eax*4]
mov dword [ecx], edx
inc eax
sub ecx, 4
cmp eax, 0x12
jb 0x4de681
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4de900
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
xor eax, eax
push edi
mov dl, al
shr dl, 4
movzx edi, dl
mov cl, al
and cl, 0xf
movzx esi, cl
mov byte [esp + 0xf], cl
mov ecx, edi
movzx edi, byte [edi + 0x520354]
xor ecx, esi
movzx esi, byte [esi + 0x520344]
mov cl, byte [ecx + 0x520364]
xor edi, esi
movzx esi, byte [edi + 0x520384]
movzx ebx, byte [esi + 0x520344]
movzx ecx, cl
movzx edi, byte [ecx + 0x520354]
xor ecx, esi
xor edi, ebx
mov bl, byte [edi + 0x5203c4]
movzx esi, dl
shl bl, 4
or bl, byte [ecx + 0x5203a4]
movzx ecx, byte [esp + 0xf]
mov edx, esi
movzx esi, byte [esi + 0x520354]
xor edx, ecx
movzx ecx, byte [ecx + 0x520344]
mov dl, byte [edx + 0x520374]
xor esi, ecx
movzx esi, byte [esi + 0x520394]
movzx edi, byte [esi + 0x520344]
movzx ecx, dl
movzx edx, byte [ecx + 0x520354]
xor edx, edi
movzx edx, byte [edx + 0x5203d4]
shl dl, 4
xor ecx, esi
or dl, byte [ecx + 0x5203b4]
mov byte [eax + 0x523df8], bl
mov byte [eax + 0x523ef8], dl
inc eax
cmp eax, 0x100
jb 0x4de906
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4e0d40
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x18]
push edi
add ecx, 8
mov edi, 8
lea esp, [esp]
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x500030]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500230]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500430]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x500630]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x500130]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500330]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500530]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x500730]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x500030]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500230]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500430]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x500630]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x500130]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500330]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x500530]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x500730]
xor esi, ebx
sub edi, 1
jne 0x4e0d60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax], edx
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4e2240
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov byte [0x5203e8], 0x80
ret
Function at 0x4e61a0
Capabilities:
Hash data using sha512

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
push esi
push edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
lea edi, [eax + 0x10]
mov ecx, 0x10
mov esi, 0x500e70
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x4e8dc0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0xb0d370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xb0d38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xb36074
push ecx
mov edi, eax
call fcn.00b21198
mov esi, eax
add esp, 8
test esi, esi
jne 0xb0d3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00b2102e
push esi
call fcn.00b20fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xb10850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xb108ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xb3b720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xb108ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00b211e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xb108ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xb3b720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xb1092a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00b22082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xb10957
mov word [eax], si
add eax, 2
push eax
call fcn.00b22030
add esp, 4
jmp 0xb10959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xb108ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xb108b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xb10ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret