joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5391b2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.0054134f
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x5391df
xor eax, eax
jmp 0x539383
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x500511
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2ac], esi
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2b0], esi
call fcn.0053689a
push esi
push eax
call fcn.00500530
add esp, 0x14
test eax, eax
je 0x53922c
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.005414dc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.0053687c
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00537f8b
add esp, 0x28
test eax, eax
jne 0x539263
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
jne 0x53929f
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.005414ad
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x53929f
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0x53807b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x9c], fcn.005380ca
mov eax, dword [ebp - 4]
mov dword [eax + 0xa0], ecx
cmp dword [ebp - 8], esi
jne 0x53931f
mov eax, dword [ebp - 4]
push 0x38
add eax, 0x78
push str.1.2.5
push eax
call fcn.005348db
add esp, 0xc
cmp eax, 0xfffffffa
je 0x539308
cmp eax, 0xfffffffc
je 0x539301
cmp eax, 0xfffffffe
je 0x5392fa
test eax, eax
je 0x53931a
push str.Unknown_zlib_error
jmp 0x53930d
push str.zlib_stream_error
jmp 0x53930d
push str.zlib_memory_error
jmp 0x53930d
push str.zlib_version_error
push dword [ebp - 4]
call fcn.005368b6
pop ecx
mov dword [ebp - 8], edi
pop ecx
cmp dword [ebp - 8], esi
je 0x53934f
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.0054141c
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.005413d6
add esp, 0x14
jmp 0x5391d8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push esi
push esi
mov eax, dword [eax + 0xb0]
mov dword [ecx + 0x84], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push dword [ebp - 4]
mov eax, dword [eax + 0xb4]
mov dword [ecx + 0x88], eax
call fcn.0053e2ca
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x54708b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x2c]
mov edx, dword [edi + 0x74]
mov dword [ebp - 0xc], ebx
mov eax, dword [edi + 0x2c]
mov esi, dword [edi + 0x3c]
add eax, 0xfffffefa
sub esi, dword [edi + 0x6c]
add eax, ebx
sub esi, edx
mov dword [ebp - 8], esi
cmp dword [edi + 0x6c], eax
jb 0x547134
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004fe430
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
mov esi, ecx
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
movzx ecx, bx
movzx eax, word [edi]
mov edx, eax
mov dword [ebp - 4], ecx
sub eax, ecx
xor ecx, ecx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x5470e2
mov edi, dword [ebp + 8]
mov esi, ebx
mov eax, dword [edi + 0x40]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx eax, word [edi]
mov edx, eax
sub eax, dword [ebp - 4]
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
sub esi, 1
jne 0x54710f
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
add esi, ebx
mov ebx, dword [edi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x547258
mov edx, dword [edi + 0x6c]
mov ecx, dword [edi + 0x74]
add edx, ecx
add edx, dword [edi + 0x38]
cmp eax, esi
mov dword [ebp - 4], edx
cmovbe esi, eax
test esi, esi
je 0x5471a2
sub eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x547175
push esi
push dword [ebx]
push dword [ebx + 0x30]
call fcn.00534d65
jmp 0x547185
cmp eax, 2
jne 0x54718e
push esi
push dword [ebx]
push dword [ebx + 0x30]
call fcn.00534ab8
mov edx, dword [ebp - 4]
add esp, 0xc
mov dword [ebx + 0x30], eax
push esi
push dword [ebx]
push edx
call fcn.004fe430
add dword [ebx], esi
add esp, 0xc
add dword [ebx + 8], esi
mov ecx, dword [edi + 0x74]
lea edx, [ecx + esi]
mov dword [ebp - 8], edx
mov dword [edi + 0x74], edx
cmp edx, 3
jb 0x5471d2
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
mov edx, dword [ebp - 8]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp edx, 0x106
jae 0x5471ea
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x5471ea
mov ebx, dword [ebp - 0xc]
jmp 0x5470a0
mov ecx, dword [edi + 0x16c0]
mov esi, dword [edi + 0x3c]
cmp ecx, esi
jae 0x547258
mov ebx, dword [edi + 0x6c]
add ebx, edx
cmp ecx, ebx
jae 0x547228
mov eax, 0x102
sub esi, ebx
cmp esi, eax
cmova esi, eax
mov eax, dword [edi + 0x38]
push esi
add eax, ebx
push 0
push eax
call fcn.004fec20
lea eax, [esi + ebx]
add esp, 0xc
mov dword [edi + 0x16c0], eax
jmp 0x547258
lea eax, [ebx + 0x102]
cmp ecx, eax
jae 0x547258
sub ebx, ecx
sub esi, ecx
lea eax, [ebx + 0x102]
cmp eax, esi
cmovbe esi, eax
mov eax, dword [edi + 0x38]
push esi
add eax, ecx
push 0
push eax
call fcn.004fec20
add esp, 0xc
add dword [edi + 0x16c0], esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5499e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
call fcn.004025e0
shl eax, 1
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00402600
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402600
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x549a18
mov al, 1
jmp 0x549a1a
xor al, al
pop ebp
ret

Function at 0x549ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x549afb
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402600
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x549b24
or eax, 0xffffffff
jmp 0x549bb0
mov dword [ebp - 0x10], 1
push 0x400
push 0
lea edx, [ebp - 0x430]
push edx
call fcn.004fec20
add esp, 0xc
mov dword [ebp - 0xc], 0x400
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00402600
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
jne 0x549bab
lea edx, [ebp - 0x430]
push edx
lea ecx, [ebp - 0x30]
call fcn.004026f0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402660
lea ecx, [ebp - 0x30]
call fcn.00402640
xor eax, eax
jmp 0x549bb0
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret

Function at 0x549db0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov byte [ebp - 1], 0
mov ecx, dword [ebp + 8]
call fcn.004025e0
test eax, eax
je 0x549e77
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], ax
mov ecx, 0x614
mov word [ebp - 0x18], cx
push 0x20a
push 0
lea edx, [ebp - 0x234]
push edx
call fcn.004fec20
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00402600
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00409850
add esp, 8
mov ecx, dword [ebp + 8]
call fcn.004025e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x234], cx
mov ecx, dword [ebp + 8]
call fcn.004025e0
xor edx, edx
mov word [ebp + eax*2 - 0x232], dx
lea eax, [ebp - 0x234]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 3
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x549e6a
mov dword [ebp - 8], 1
jmp 0x549e71
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [ebp - 1], dl
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x549e80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
mov ecx, dword [ebp + 8]
call fcn.00402600
push eax
call fcn.00501c26
add esp, 8
cmp eax, 0xffffffff
jne 0x549eac
mov ecx, dword [ebp + 8]
call fcn.00402600
push eax
call fcn.0050940a
add esp, 4
mov al, 1
pop ebp
ret

Function at 0x549eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x549ee5
mov ecx, dword [ebp + 8]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x549ee5
mov dword [ebp - 4], 1
jmp 0x549eec
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x54a2c0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565c57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402770
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.004069c0
push 0x58ee30
lea ecx, [ebp - 0x44]
call fcn.00406ae0
lea ecx, [ebp - 0x28]
call fcn.00402770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x54a361
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402640
jmp 0x54a445
push 0x58ee3c
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x54a38d
push 0x58ee40
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x54a38f
jmp 0x54a3ec
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004069c0
push 0x58ee48
lea ecx, [ebp - 0x28]
call fcn.00406ae0
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x28]
call fcn.00406ae0
mov eax, dword [ebp - 0x294]
and eax, 0x10
je 0x54a3dd
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004027b0
call fcn.0054a2c0
add esp, 0x18
jmp 0x54a3ec
lea ecx, [ebp - 0x28]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x294]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x54a361
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x54a460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565c7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
call fcn.0040b300
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054a670
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x1c]
or ecx, dword [ebp - 0x18]
jne 0x54a4d7
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040b250
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b230
mov eax, dword [ebp + 8]
jmp 0x54a57b
push 0x58ef3c
mov ecx, dword [ebp + 0xc]
call fcn.00402600
push eax
call fcn.0050ac5f
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x54a51f
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040b250
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b230
mov eax, dword [ebp + 8]
jmp 0x54a57b
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b210
mov ecx, dword [ebp - 0x14]
push ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp - 0x28]
call fcn.0040b1d0
push eax
call fcn.0050a64f
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.00509a51
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040b250
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b230
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x54a6b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004fec20
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.004fec20
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402600
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x414]
push edx
mov ecx, dword [ebp + 8]
call fcn.004026f0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x54d420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1068
call fcn.004ee560
cmp dword [ebp + 8], 0
jne 0x54d457
cmp dword [ebp + 0x10], 0
je 0x54d44f
push str.FileNameInPut_Is_NULL
push 0x58fc2c
mov eax, dword [ebp + 0x10]
push eax
call fcn.00411820
add esp, 0xc
mov eax, dword [ebp + 0xc]
jmp 0x54d56c
push 0x58fc30
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.0050acc8
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x54d495
cmp dword [ebp + 0x10], 0
je 0x54d48d
mov eax, dword [ebp + 8]
push eax
push 0x58fc34
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00411820
add esp, 0xc
mov eax, dword [ebp + 0xc]
jmp 0x54d56c
lea edx, [ebp - 0x68]
push edx
call fcn.00550740
add esp, 4
mov eax, dword [ebp - 8]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x1068]
push ecx
call fcn.0050a64f
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x54d4dd
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0054d930
add esp, 0xc
jmp 0x54d4a1
mov edx, dword [ebp - 8]
push edx
call fcn.005136b5
add esp, 4
test eax, eax
je 0x54d50d
cmp dword [ebp + 0x10], 0
je 0x54d508
mov eax, dword [ebp + 8]
push eax
push 0x58fc48
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00411820
add esp, 0xc
mov eax, dword [ebp + 0xc]
jmp 0x54d56c
lea edx, [ebp - 0x68]
push edx
call fcn.0054d570
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00509a51
add esp, 4
mov dword [ebp - 4], 0
jmp 0x54d537
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x14
jge 0x54d55f
mov edx, dword [ebp - 4]
movzx eax, byte [ebp + edx - 0x50]
push eax
push str._02x
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx*2]
push eax
call fcn.00411820
add esp, 0xc
jmp 0x54d52e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov byte [edx + ecx*2], 0
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x550740
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
pop ebp
ret
Function at 0x550790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add eax, 0x3b4
push eax
lea ecx, [ebp - 0x3c]
call fcn.004027b0
mov dword [ebp - 4], 0
push str._NoQuestion.bin
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.0040b440
add esp, 0xc
mov byte [ebp - 4], 1
push str._StealthMode.bin
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0040b440
add esp, 0xc
mov byte [ebp - 4], 2
push str._NoHook.bin
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b440
add esp, 0xc
mov byte [ebp - 4], 3
push str._Server.bin
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0040b440
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x9c]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x84]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x6c]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x54]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 1
push str.1111
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x10]
push edx
push 1
push 0x592d80
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0x592d84
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0x592d88
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x54]
call fcn.00402640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00402640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00402640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00402640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x43b650
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
or ebx, ebx
dec ebx
push edi
mov edi, dword [esp]
add esp, 4
call fcn.0043b695
push 0xa64ed7ac
mov edi, dword [esp]
add esp, 4
dec ebx
inc edi
xor dword [edx], eax
dec ebx
sub ebx, edi
inc ebx
inc edx
mov edi, 0xeda01877
add edi, 0xebe5ea04
sub edi, ebx
cmp edx, esi
jne fcn.0043b650
or ebx, ebx
mov ebx, edi
ret