joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4912f7
Capabilities:
Encode data using xor

Disassembly:
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005081f7
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x318], eax
jmp 0x4b630a
call esi
mov ecx, dword [ebp - 0x310]
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
lea edx, [ebp - 0x310]
mov ebx, eax
push edx
push ebx
call esi
test ebx, ebx
je 0x42e80c
xor eax, eax
cmp dword [ebx], eax
je 0x51d327
lea ecx, [eax + 1]
jmp 0x4e1b18
test eax, eax
je 0x42e813
mov byte [eax], 0
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x2514
xor cx, word [eax*2 + 0x55c738]
inc eax
mov word [ebp + eax*2 - 0x30e], cx
cmp eax, 7
jl 0x4b631b
lea edx, [ebp - 0x30c]
jmp 0x4be3ca
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x314], edi
test edi, edi
je 0x42e813
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ebf
xor cx, word [eax*2 + 0x55c748]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 8
jmp 0x4c2a9a
jl 0x4be3e5
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42e80c
lea eax, [ebp - 0x310]
push eax
push 0
mov dword [ebp - 0x310], 0
jmp 0x491c72
imul ecx, ecx, 0x23be
xor cx, word [eax*2 + 0x55c75c]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 0xc
jl 0x491ca2
movzx edx, byte [ebx + 0x199]
movzx eax, byte [ebx + 0x198]
movzx ecx, byte [ebx + 0x197]
push edx
movzx edx, byte [ebx + 0x196]
push eax
movzx eax, byte [ebx + 0x195]
push ecx
movzx ecx, byte [ebx + 0x194]
jmp 0x51d30a
push edx
push eax
push ecx
lea edx, [ebx + 0x10c]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
jmp 0x546e50
lea edx, [eax + 1]
imul edx, edx, 0x1d70
xor dx, word [eax*2 + 0x55c778]
inc eax
mov word [ebp + eax*2 - 0x20e], dx
cmp eax, 0xb
jl 0x51d327
movzx eax, byte [ebx + 0x199]
movzx ecx, byte [ebx + 0x198]
movzx edx, byte [ebx + 0x197]
jmp dword [0x51d369]
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x10c]
push 0x440270
ret

Function at 0x4b252f
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
jmp dword [0x4b2558]
Function at 0x4b7a69
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x100], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*8 + 0x104], edx
inc dword [ecx + 0x2040]
mov ecx, dword [ebp - 8]
jmp 0x4a37b2
pop esi
xor ecx, ebp
pop ebx
call fcn.005081f7
mov esp, ebp
pop ebp
ret 0xc
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [edi]
push ebx
push esi
cmp eax, 0x64
jl 0x4c3e34
jmp 0x4c3dea
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x63cd
xor cx, word [eax*2 + str.R__]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 0xc
jl 0x4c3dec
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005081f7
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
test eax, eax
jle 0x4f6030
lea ebx, [edi + 8]
jmp 0x4d592a
mov eax, dword [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x4d5957
inc esi
add ebx, 0x2048
cmp esi, dword [edi]
jl 0x4d592a
jmp 0x4f6030
imul esi, esi, 0x2048
lea ecx, [esi + edi + 8]
test ecx, ecx
jne 0x4f6060
jmp 0x4f6030
mov ecx, dword [edi]
mov eax, dword [ebp - 0x110]
imul ecx, ecx, 0x2048
lea ecx, [ecx + edi + 8]
mov esi, ecx
mov dword [ecx + 0x2040], 0
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x4f6050
inc dword [edi]
mov eax, dword [ecx + 0x2040]
cmp eax, 0x3e8
jl 0x428938
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x7f0f
xor dx, word [eax*2 + 0x55c31c]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
jmp dword [0x4f6098]

Function at 0x4c8182
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4c819c
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4c8198
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret

Function at 0x4d25cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
jmp 0x54031a
lea ecx, [eax + 1]
imul ecx, ecx, 0x76b6
xor cx, word [eax*2 + 0x55c6dc]
inc eax
mov word [ebp + eax*2 - 0x436], cx
cmp eax, 0xa
jl 0x51984c
push ebx
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x30c]
push eax
call esi
add esp, 0xc
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
jmp dword [0x51989b]
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x55c6c8]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x540327
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
push eax
push ecx
call esi
add esp, 0xc
xor eax, eax
jmp 0x51984c
Function at 0x4da4db
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
cmp eax, 9
jl 0x489be0
lea edx, [ebp - 0x33b0]
push edx
mov edx, dword [ebp - 0x33b4]
lea eax, [ebp - 0x5f4]
push eax
push 0
push 0
lea ecx, [ebp - 0x318c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41846a
jmp 0x467618
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418452
sub eax, edx
lea edx, [eax + 1]
cmp edx, esi
jb 0x467641
mov dword [ebp - 0x33b0], 0x100
mov byte [ebp - 0x1b74], 0
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x2d3
xor cx, word [eax*2 + 0x55c7e0]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 7
jl 0x41847d
lea edx, [ebp - 0x33b0]
jmp 0x4c7e4a
lea eax, [ebp - 0x5f4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x467621
mov esi, dword [ebp - 0x33b0]
sub eax, edx
lea ecx, [eax + 1]
cmp ecx, esi
jae 0x41846a
mov bl, 0x20
mov byte [ebp + eax - 0x5f4], bl
lea eax, [ebp - 0x5f4]
lea edx, [eax + 1]
jmp 0x418452
cmp ecx, 6
jl 0x51eaa1
push eax
lea eax, [ebp - 0x318c]
push eax
push edi
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x33b0], 0x3e8
mov byte [ebp - 0x5f4], 0
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x72a4
xor cx, word [eax*2 + 0x55c7cc]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
jmp 0x40792a
sub eax, edx
inc eax
cmp eax, dword [ebp - 0x33b0]
jae 0x48faba
jmp 0x48fab5
mov eax, dword [ebp - 0x33b4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
xor eax, eax
lea ebx, [ebx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x341
xor cx, word [eax*2 + 0x55c7f0]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0x11
jl 0x48fad1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp dword [0x48fb04]
push edx
mov edx, dword [ebp - 0x33b4]
lea eax, [ebp - 0x1b74]
push eax
push 0
push 0
lea ecx, [ebp - 0x318c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48faba
lea eax, [ebp - 0x1b74]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c7e7b
jmp 0x48faa6
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.00497eb7
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x33bc], eax
mov dword [ebp - 0x33c4], edi
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x7a6c
jmp 0x51ea60
xor cx, word [eax*2 + 0x55c79c]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x4da50b
lea edx, [ebp - 0x33b4]
push edx
push 1
push 0
lea eax, [ebp - 0x318c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x489bcd
xor ecx, ecx
lea edx, [ecx + 1]
imul edx, edx, 0x1991
xor dx, word [ecx*2 + 0x55c7bc]
inc ecx
mov word [ebp + ecx*2 - 0x318e], dx
jmp 0x489bb2
Function at 0x4f5b5c
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x665304]
cmp eax, 0x2800
jne 0x43bbba
mov esi, 4
jmp 0x4c4557
cmp eax, 0x295a
jne 0x43bbcf
mov esi, 4
jmp 0x4c4557
cmp eax, 0x3839
jmp 0x491d40
jne 0x491d50
mov esi, 4
jmp 0x4c4557
cmp eax, 0x3ad7
jne 0x491d65
mov esi, 4
jmp 0x4c4557
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ba1
xor cx, word [eax*2 + 0x55c2d8]
inc eax
jmp 0x4c4528
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 6
jl 0x491d69
push ebx
push ebx
lea edx, [ebp - 0x108]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x18
mov word [ebp - 0x111], ax
mov eax, dword [0x665670]
mov dword [ebp - 0x11b], esi
cmp eax, ebx
jne 0x4de460
push 0x40
jmp dword [0x4c4582]
mov edx, dword [0x665674]
push edx
mov ebx, eax
call fcn.0053cdff
mov eax, dword [0x665670]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x124]
push ebx
push ecx
mov ecx, dword [ebp - 0x120]
push edx
push ecx
push edi
call eax
mov esi, eax
cmp dword [0x665674], ebx
push 0x451672
ret
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x61e2
xor dx, word [eax*2 + str.U_f6]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
cmp eax, 6
jl 0x4f5b60
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
jmp 0x4c4542
cmp eax, 0xa
jne 0x4c4557
jmp 0x43bba0
mov word [ebp - 0x113], 0xc200
mov dword [ebp - 0x10f], 0x340fd48b
mov byte [ebp - 0x10b], 0xc3
cmp eax, 6
jne 0x4f5b91
mov eax, dword [0x665300]
cmp eax, 1
jne 0x4fe6cd
mov esi, 0x18f
jmp 0x4c4557
cmp eax, 2
jne 0x4fe6dd
mov esi, eax
jmp 0x4c4557
cmp eax, 3
jne 0x4f5b5c
mov esi, eax
jmp 0x4c4557
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [0x6652fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x11c], 0xb8
mov dword [ebp - 0x117], 0x3e8
jmp 0x4fe692

Function at 0x519ee7
Capabilities:
Receive data
Receive data on socket

Disassembly:
add esi, edi
mov dword [ebp - 8], esi
test eax, eax
je 0x46b908
fild dword [ebp - 4]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp - 8]
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
call eax
cmp esi, dword [ebp + 0xc]
jl 0x519f01
cmp edi, 0xffffffff
pop edi
jne 0x4c919b
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
jmp dword [0x46b92c]
cmp eax, 0x100000
jle 0x4c31e8
mov eax, 0x100000
push 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jle 0x46b911
mov eax, dword [0x665540]
jmp 0x46b8e2
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x66553c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x4c919b
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
jmp 0x4c31d8
Function at 0x51cbdf
Capabilities:
Get hostname

Disassembly:
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.005081f7
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x5347da
lea ecx, [eax + 1]
jmp dword [0x4351a2]
mov byte [ebp + edx - 0x10c], 0
mov dword [ebp - 0x3dc], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x3b8]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a51c
lea edi, [ebp - 0x10c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44a530
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x539814
xor edx, eax
add esi, edx
test bl, bl
jne 0x523883
mov eax, 0x2aaaaaab
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
xor eax, eax
add ecx, ecx
mov edx, 4
sub edx, ecx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
jmp dword [0x49367b]
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], ebx
test eax, eax
je 0x404771
test ebx, ebx
je 0x404771
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
jmp 0x435168
mov al, byte [ebp - 0x10c]
xor ecx, ecx
test al, al
je 0x49363e
mov bl, al
lea ecx, [ecx]
mov eax, ecx
cdq
idiv dword [ebp - 0x3e0]
mov eax, dword [ebp - 0x3e4]
inc ecx
movzx edx, byte [edx + eax]
movzx eax, bl
mov bl, byte [ebp + ecx - 0x10c]
jmp 0x493632
mov edx, dword [ebp - 0x3e0]
push 1
lea eax, [ebp - 0x3dc]
push eax
push 0
push 0
jmp 0x44a4fc
mov ecx, eax
and ecx, 3
cmp byte [0x665550], 0
rep movsb byte es:[edi], byte [esi]
jne 0x539847
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x10c]
mov byte [eax + 0x665550], cl
inc eax
test cl, cl
jne 0x539831
mov eax, ebx
xor esi, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x539855
sub eax, edx
mov dword [ebp - 0x3e0], eax
jmp 0x52386e
Function at 0x52da55
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 6
jne 0x426b4a
mov eax, dword [0x665300]
cmp eax, 1
jne 0x420c6f
lea esi, [ebx + 0x13]
jmp 0x4a48a6
cmp eax, 2
jne 0x420c82
mov esi, 0x196
jmp 0x4a48a6
cmp eax, 3
jne 0x4c77df
mov esi, 0x19b
jmp 0x4c77da
push eax
jmp 0x43121e
cmp eax, 0xa
jne 0x4a48a6
mov eax, dword [0x665304]
cmp eax, 0x2800
jne 0x426b6d
mov esi, 0x1a3
jmp 0x4a48a6
cmp eax, 0x295a
jne 0x426b82
mov esi, 0x1a6
jmp 0x4a48a6
cmp eax, 0x3839
jne 0x4311db
mov esi, 0x1a8
jmp 0x4311d6
jmp 0x4a48a6
cmp eax, 0x3ad7
jne 0x4311f0
mov esi, 0x1ad
jmp 0x4a48a6
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x2d67
xor cx, word [eax*2 + 0x55c2a8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 6
jl 0x4311f2
push ebx
push ebx
lea edx, [ebp - 0x10c]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x4a4898
ret
mov eax, 0x18
mov word [ebp - 0x115], ax
mov eax, dword [0x665660]
mov dword [ebp - 0x11f], esi
cmp eax, ebx
jne 0x4c0375
push 0x40
jmp dword [0x4a48d0]
mov edx, dword [0x665664]
push edx
mov ebx, eax
call fcn.0053cdff
mov eax, dword [0x665660]
jmp 0x507906
jmp 0x4a48a6
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x17b3
xor dx, word [eax*2 + 0x55c298]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 6
jl 0x4c77e1
push ebx
push ebx
lea eax, [ebp - 0x10c]
jmp 0x426b44
mov eax, dword [0x6652fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x128], ecx
mov byte [ebp - 0x120], 0xb8
mov dword [ebp - 0x11b], 0x3e8
mov word [ebp - 0x117], 0xc200
mov dword [ebp - 0x113], 0x340fd48b
mov byte [ebp - 0x10f], 0xc3
jmp 0x420c50
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
push 0x40
push 0x3000
push ecx
push ebx
push edx
push edi
call eax
mov esi, eax
cmp dword [0x665664], ebx
jne 0x507948
mov edi, dword [sym.imp.msvcrt.dll_rand]
call edi
mov word [0x665664], ax
call edi
mov word [0x665666], ax
mov eax, dword [0x665664]
mov ebx, dword [0x665660]
push eax
call fcn.0053cdff
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
mov eax, esi
pop esi
push 0x4160ea
ret
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x124], eax
jmp 0x4e92fe

Function at 0x5421de
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ebp
call fcn.005081f7
mov esp, ebp
pop ebp
ret
jne 0x463b9b
or dword [0x669aa4], ecx
xor eax, eax
jmp 0x452365
lea edx, [eax + 1]
imul edx, edx, 0x1d8b
xor dx, word [eax*2 + 0x55c248]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x452365
xor eax, eax
lea edx, [eax + 1]
push 0x463b5a
ret
push 0
push 0
push ebx
push edi
push 0
push 0
push esi
call dword [0x669aa0]
mov ecx, dword [ebp - 4]
jmp 0x43c94e
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x669aa4], cl
jmp 0x452352
Function at 0x549344
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov eax, dword [0x665304]
cmp eax, 0x2800
jne 0x43bbba
mov esi, 4
jmp 0x4c4557
cmp eax, 0x295a
jne 0x43bbcf
mov esi, 4
jmp 0x4c4557
cmp eax, 0x3839
jmp 0x491d40
jne 0x491d50
mov esi, 4
jmp 0x4c4557
cmp eax, 0x3ad7
jne 0x491d65
mov esi, 4
jmp 0x4c4557
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ba1
xor cx, word [eax*2 + 0x55c2d8]
inc eax
jmp 0x4c4528
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 6
jl 0x491d69
push ebx
push ebx
lea edx, [ebp - 0x108]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x18
mov word [ebp - 0x111], ax
mov eax, dword [0x665670]
mov dword [ebp - 0x11b], esi
cmp eax, ebx
jne 0x4de460
push 0x40
jmp dword [0x4c4582]
mov edx, dword [0x665674]
push edx
mov ebx, eax
call fcn.0053cdff
mov eax, dword [0x665670]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x124]
push ebx
push ecx
mov ecx, dword [ebp - 0x120]
push edx
push ecx
push edi
call eax
mov esi, eax
cmp dword [0x665674], ebx
push 0x451672
ret
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x61e2
xor dx, word [eax*2 + str.U_f6]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
cmp eax, 6
jl 0x4f5b60
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
jmp 0x4c4542
cmp eax, 0xa
jne 0x4c4557
jmp 0x43bba0
mov word [ebp - 0x113], 0xc200
mov dword [ebp - 0x10f], 0x340fd48b
mov byte [ebp - 0x10b], 0xc3
cmp eax, 6
jne 0x4f5b91
mov eax, dword [0x665300]
cmp eax, 1
jne 0x4fe6cd
mov esi, 0x18f
jmp 0x4c4557
cmp eax, 2
jne 0x4fe6dd
mov esi, eax
jmp 0x4c4557
cmp eax, 3
jne 0x4f5b5c
mov esi, eax
jmp 0x4c4557
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [0x6652fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x11c], 0xb8
mov dword [ebp - 0x117], 0x3e8
jmp 0x4fe692
Function at 0x41ab9e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x41abad
pop dword [ebp - 0x24]
mov eax, 0x9fcf5b25
sub eax, 0x9f8daf78
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x505f3
push 0
mov eax, 0x6ae93dc3
add eax, 0x955b74f9
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x760d01df
add ecx, 0x89f3480a
xor esi, esi
add esi, eax
mov edi, 0xcc733b6b
sub edi, 0xcc2abd6b
add edi, dword [ebp - 0x24]
mov ebx, 0x5c39dbb1
sub ebx, 0x171687eb
xor dword [ebp - 0x10], 0x45eefd2b
mov edx, dword [edi]
xor dword [ebp - 4], 0xd50fa4bb
sub edx, ebx
xor dword [ebp - 0x14], 0x9e54ed74
mov dword [esi], edx
mov dword [ebp - 0x20], 0x14474437
add esi, 0xde2045e0
sub esi, 0xde2045dc
add edi, 0x4c0b8856
add edi, 0xb3f477ae
loop 0x41ac0e
add eax, 0x25ca4593
sub eax, 0x25c92b1c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x10002414
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
jmp 0x1000242f
call fcn.100113e7
cmp eax, 0x800700b7
jne 0x1000245a
inc esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x10020030
push str._sDism_x__x_
push edi
call fcn.100109ab
add esp, 0x14
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10002422
xor eax, eax
pop edi
pop esi
ret
Function at 0x10008923
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [0x10020028], esi
jb 0x100089e8
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.10010fce
push eax
lea ecx, [ebp + 8]
call fcn.10010df9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [esi*4 + 0x10019654]
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push str._d__.2d__.2d__.2d:_.2d:_.2d___s_tPID_d_TID_d___s_t_s_r_n
push eax
call fcn.100109ab
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
or dword [ebp - 0xc], 0xffffffff
add esp, 0x34
or dword [ebp - 8], 0xffffffff
xor edx, edx
mov eax, dword [esi - 0xc]
push edx
push ecx
add eax, eax
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push edx
push edx
push edx
push dword [0x1002002c]
call dword [sym.imp.ntdll.dll_NtWriteFile]
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.100110af
mov eax, edi
or eax, 0x10000000
neg edi
sbb edi, edi
and eax, edi
pop edi
pop esi
leave
ret 0xc