joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ceb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov byte [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push 0x44a2a0
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401db0
cmp dword [ebp - 0x10], 1
je 0x401d72
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401db0
push 8
push 0x44a2a4
push 1
push 0
push 0x4520c0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xa
push 0x44a2ac
push 1
push 0
push 0x44a2b8
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str..upd
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401e29
cmp dword [ebp - 0x10], 1
je 0x401deb
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401e29
push 8
push str.txtfile
push 1
push 0
push 0x4520c4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xa
push str.text_plain
push 1
push 0
push 0x44a2e4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x402380
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov byte [ebp - 8], 0
push str..ksc
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.MIMEDatabaseContent_Type_application_kermit
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push 0x44a470
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402526
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push 0
push 0x44a480
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40250d
lea eax, [ebp - 0x28]
push eax
push 0x2001f
push 0
push 0x44a488
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402468
push 0x44a490
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.open
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [ebp - 0x28]
push edx
push 0x2001f
push 0
push 0x44a4a0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4024ae
push 0x44a4a8
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.print
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x28]
push ecx
push 0x2001f
push 0
push 0x44a4b8
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4024f4
push str.command
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.edit
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.shell
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Kermit.Script
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x40b700
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
cmp dword [ebp + 8], 0
jne 0x40b714
jmp 0x40b8b9
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
mov edx, dword [0x452730]
movsx eax, byte [edx + 0x14]
cmp ecx, eax
jne 0x40b792
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041c968
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
add eax, 2
push eax
call fcn.00407a60
add esp, 0xc
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], 0x3a
lea edx, [ebp - 0x104]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov al, byte [ebp - 0x104]
push eax
call fcn.0042b55b
add esp, 4
movsx ecx, al
sub ecx, 0x40
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
add edx, 0x40
mov eax, dword [ebp + 8]
mov byte [eax], dl
jmp 0x40b8b9
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
test edx, edx
je 0x40b851
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3a
jne 0x40b851
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 2]
mov ecx, dword [0x452730]
movsx edx, byte [ecx + 0x14]
cmp eax, edx
je 0x40b851
mov eax, dword [ebp + 8]
add eax, 2
push eax
lea ecx, [ebp - 0x390]
push ecx
call fcn.0041c899
add esp, 8
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 0x310], cl
mov byte [ebp - 0x30f], 0x3a
mov byte [ebp - 0x30e], 0
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp + 8]
add eax, 2
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
lea edx, [ebp - 0x390]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b8bd
add esp, 0x10
jmp 0x40b8b9
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
test eax, eax
je 0x40b87c
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 1]
cmp edx, 0x3a
jne 0x40b87c
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 2]
mov edx, dword [0x452730]
movsx eax, byte [edx + 0x14]
cmp ecx, eax
je 0x40b8b9
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.0041c899
add esp, 8
push 0x80
mov eax, dword [ebp + 8]
push eax
call fcn.0042b221
add esp, 8
push 0
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040b8bd
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x40c30b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
call fcn.0040809e
add esp, 0xc
cmp eax, dword [ebp + 8]
je 0x40c335
call fcn.0040789b
mov eax, dword [eax]
jmp 0x40c35c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
call fcn.00443d5c
add esp, 0xc
cmp eax, dword [ebp + 0x10]
je 0x40c35a
call fcn.0040789b
mov eax, dword [eax]
jmp 0x40c35c
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43b984
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
je 0x43b9ca
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x20]
and edx, 0x10
test edx, edx
jne 0x43b9ca
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x15c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x158]
add eax, 1
push eax
push 0xd
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x444cf4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x444d14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00407828
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x444d37
test byte [esp + 8], 2
je 0x444d37
call fcn.0040789b
mov dword [eax], 0xd
call fcn.004078a4
mov dword [eax], 5
jmp 0x444d10
xor eax, eax
ret
Function at 0x401460
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [section.Code]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
xor esi, esi
push edi
push edi
inc esi
push esi
push edi
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapSetInformation]
push 4
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], esi
push eax
push 0x22
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtSetInformationProcess]
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x264]
mov eax, ecx
mov edx, 0x105
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x4014cf
movzx eax, word [esi + ecx]
test ax, ax
je 0x4014cf
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4014b1
test edx, edx
jne 0x4014d6
sub ecx, 2
xor eax, eax
mov word [ecx], ax
test edx, edx
je 0x4015b5
mov ax, word [ebp - 0x264]
lea ecx, [ebp - 0x264]
test ax, ax
je 0x401534
movzx edx, ax
lea esi, [ecx + 2]
cmp dx, 0x3a
je 0x40150f
mov ecx, esi
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4014f8
jmp 0x401534
xor eax, eax
mov word [ecx], ax
movzx eax, word [esi]
test ax, ax
je 0x401534
lea eax, [ebp - 0x264]
push 0x401110
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x40153a
lea esi, [ebp - 0x264]
lea ecx, [ebp - 0x58]
push 0x29
mov eax, ecx
pop edx
sub esi, eax
lea eax, [edx + 0x7fffffd5]
test eax, eax
je 0x401562
movzx eax, word [esi + ecx]
test ax, ax
je 0x401562
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x401544
test edx, edx
jne 0x401569
sub ecx, 2
xor eax, eax
mov word [ecx], ax
test edx, edx
je 0x4015b5
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_IIDFromString]
test eax, eax
js 0x4015b5
push edi
push edi
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
test eax, eax
js 0x4015b5
push edi
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.api_ms_win_core_com_private_l1_1_0.dll_CoRegisterSurrogateEx]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00401870
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x10001130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001aadd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10025040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x10001247
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movaps xmm0, xmmword [0x100228b0]
mov edx, eax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 0x76087327
xor ecx, ecx
mov dword [ebp - 0x64], 0xe0b6b63
mov byte [ebp - 0x60], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x78]
xor byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x17
jb 0x10001190
push edx
lea eax, [ebp - 0x77]
mov byte [ebp - 0x60], 0
push eax
lea eax, [ebp - 0x44]
push 0x32
push eax
call fcn.10001590
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 0
add esp, 0x10
lea edx, [ecx + 1]
movups xmmword [ebp - 0x5c], xmm0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100011d0
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.10001420
mov dword [ebp - 4], 0
lea esi, [ebp - 0x5c]
mov edi, dword [ebp - 0x4c]
inc edi
cmp dword [ebp - 0x48], 0xf
cmova esi, dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push edi
push esi
push 0xfe5d24
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call fcn.100017d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10001247
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000123d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001266
push ecx
push edx
call fcn.10008e51
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008df0
mov esp, ebp
pop ebp
ret 0xc
call fcn.1000e537
int3
Function at 0x10002a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10025040]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x100228c0]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0xc], ecx
push edi
mov dword [esp + 0x14], ebx
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
mov byte [esp + 0x28], 0
mov al, byte [esp + 0x18]
xor byte [esp + ecx + 0x19], al
inc ecx
cmp ecx, 0xf
jb 0x10002a74
sub esp, 0x18
mov byte [esp + 0x40], 0
mov edx, esp
lea ecx, [esp + 0x31]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002aa7
sub ecx, esi
lea eax, [esp + 0x31]
push ecx
push eax
mov ecx, edx
call fcn.10001420
lea ecx, [esp + 0x44]
call fcn.10005500
mov edi, dword [esp + 0x44]
xor edx, edx
add esp, 0x18
mov dword [esp + 0xc], edx
test ebx, ebx
mov ebx, dword [esp + 0x40]
jle 0x10002b22
nop dword [eax + eax]
cmp ebx, 0xf
lea ecx, [esp + 0x2c]
cmova ecx, edi
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002af0
sub ecx, esi
mov eax, edx
cmp ebx, 0xf
lea esi, [esp + 0x2c]
cmova esi, edi
xor edx, edx
div ecx
mov ecx, dword [esp + 0x10]
mov al, byte [edx + esi]
mov edx, dword [esp + 0xc]
xor byte [edx + ecx], al
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x14]
jl 0x10002ae0
cmp ebx, 0xf
jbe 0x10002b4e
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10002b44
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002b60
push ecx
push edi
call fcn.10008e51
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10008df0
mov esp, ebp
pop ebp
ret
call fcn.1000e537
int3
Function at 0x10004a70
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10025040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
push 0x40
push 0
mov dword [ebp - 0x58], edi
lea eax, [edi + 1]
push eax
call fcn.1000a980
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [edi + 0x44], xmm0
lea esi, [edi + 0x4c]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x50], 0
mov eax, dword [eax]
lea ebx, [edi + 0x5c]
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x50]
add esp, 0xc
movups xmmword [ebx], xmm0
mov byte [edi], 0
cmp eax, dword [ecx]
jne 0x10004ad6
movq qword [edi + 0x44], xmm0
jmp 0x10004ae4
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10004b0d
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.10005330
cmp byte [edi], 0
jne 0x10004bf7
xor ecx, ecx
lea edx, [edi + 0x46]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0xc], al
movzx eax, byte [edx - 5]
mov byte [ebp + ecx - 0xb], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0xa], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 9], al
add ecx, 4
cmp ecx, 8
jb 0x10004b24
mov ecx, dword [edi + 0x44]
mov eax, 0x78
shr ecx, 3
mov edi, 0x38
and ecx, 0x3f
mov byte [ebp - 0x52], 0
sub eax, ecx
mov byte [ebp - 0x52], 0
sub edi, ecx
cmp ecx, 0x38
mov cl, 0x53
cmovae edi, eax
mov byte [ebp - 0x54], cl
mov al, 0xd3
xor al, cl
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x53], al
lea eax, [ebp - 0x53]
push 1
push eax
call fcn.10005330
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000a980
push edi
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000a980
add esp, 0x18
lea eax, [ebp - 0x4c]
push edi
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.10005330
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.10005330
mov edx, 4
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 4]
mov byte [ebx], al
lea ebx, [ebx + 4]
movzx eax, byte [esi - 3]
mov byte [ebx - 3], al
movzx eax, byte [esi - 2]
mov byte [ebx - 2], al
mov cl, byte [esi - 1]
mov byte [ebx - 1], cl
sub edx, 1
jne 0x10004bd0
mov byte [edi], 1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008df0
mov esp, ebp
pop ebp
ret 4
Function at 0x100053f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10025040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
cmp byte [ecx], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
jne 0x10005445
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x67
movups xmmword [edi], xmm0
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005436
lea eax, [ebp - 0x2b]
jmp 0x100054da
xor eax, eax
xor edi, edi
push ebx
mov dword [ebp - 0x2c], eax
push esi
nop
movzx esi, byte [ecx + eax + 0x5c]
mov dl, 0x22
mov ah, 0x10
mov byte [ebp - 0x2f], 0
xor dl, ah
mov byte [ebp - 0x34], ah
mov al, 0x35
mov byte [ebp - 0x31], dl
xor al, ah
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x33], al
mov cl, 0x20
xor cl, ah
mov bl, 0x68
xor bl, ah
mov byte [ebp - 0x32], cl
push esi
lea eax, [ebp - 0x33]
mov byte [ebp - 0x30], bl
push eax
mov eax, 0x21
sub eax, edi
push eax
lea eax, [ebp - 0x28]
add eax, edi
push eax
call fcn.10005be0
mov eax, dword [ebp - 0x2c]
add edi, 2
mov ecx, dword [ebp - 0x38]
inc eax
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp edi, 0x20
jb 0x10005450
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov byte [ebp - 8], 0
pop esi
pop ebx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100054d0
lea eax, [ebp - 0x28]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10001420
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10008df0
mov esp, ebp
pop ebp
ret 4

Function at 0x10006120
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100062f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100061fd
mov edx, dword [ebp - 4]
cmp edx, dword [0x10025008]
jb 0x1000616a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1002500c]
ja 0x1000616a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000613a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000a980
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000618f
jmp 0x100061fd
cmp dword [ebp - 0x14], 0x10000
jne 0x100061e3
cmp dword [ebp - 0x18], 0x10000
jb 0x100061e3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100061c6
mov eax, dword [ebp - 8]
jmp 0x100061ff
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100061d6
xor eax, eax
jmp 0x100061ff
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100061f8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100062f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000613a
xor eax, eax
mov esp, ebp
pop ebp
ret