joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004130
Capabilities:
Inspect section memory permissions

Disassembly:
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10003c59
scasd eax, dword es:[edi]
pushfd
mov bl, 0x72
lea eax, [ebp - 0x84]
push eax
call fcn.10003c69
push eax
push esi
push dword [ebp + 8]
call fcn.10003c1e
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x10004452
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.10003bca
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x100041c9
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.10003bca
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10004196
call fcn.10003c59
cld
shl dword [ebp - 0x14], 1
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x10004448
add eax, esi
mov dword [ebp - 0x44], eax

Function at 0x10004350
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10004330
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000434e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
or bh, bh
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100043ac
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10004393
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000439c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100043a6
invalid
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10004388
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10004312
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x100043a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10004330
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000434e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
or bh, bh
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100043ac
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10004393
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000439c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100043a6
invalid
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10004388
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10004312
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x10004550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3c25b], al
inc dword [eax]
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10003c69
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003c1e
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10003c69
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003c1e
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10003c59
mov esi, 0x80e18bf5
movsd dword es:[edi], dword [esi]
int3
Function at 0x10006710
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x10006723
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1000671f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x10006740
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1000677f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x10006775
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x10006781
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x10006765
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402a3f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x7a1fb0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402ad3
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a90
cmp dword [ebp + 0x10], ebx
jne 0x402ac7
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a3f
test eax, eax
jne 0x402aa2
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a77
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405ea5
cmp eax, ebx
je 0x402ada
push ebx
push dword [0x7a1fb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402ad3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x7a1fb0], ebx
jne 0x402ad0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ad0
jmp 0x402ad3
Function at 0x40532d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x79fd00], 0x44
push eax
xor eax, eax
push 0x79fd00
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405368
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4053f2
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.004057e6
mov edi, eax
cmp edi, 0xffffffff
je 0x405433
test byte [esp + 0x10], 1
push esi
je 0x405415
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40541b
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405424
xor eax, eax
inc eax
jmp 0x405435
test byte [esp + 0x10], 4
jne 0x405433
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x40543a
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.004056f8
test bl, 8
mov dword [ebp - 0xc], eax
je 0x405479
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7a1f88], eax
jmp 0x405603
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405493
test eax, eax
je 0x4055b1
test bl, 2
je 0x4055b1
mov esi, 0x79f500
push edi
push esi
call fcn.00405b7a
cmp dword [ebp + 8], 0
je 0x4054b2
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x4054b8
push edi
call fcn.00405651
cmp byte [edi], 0
jne 0x4054c6
cmp byte [0x79f500], 0x5c
jne 0x4054d1
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4055a7
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.00405635
cmp byte [eax], 0
je 0x405517
cmp byte [ebp - 0x1c], 0
je 0x405517
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x40552d
mov al, byte [esi + 1]
test al, al
je 0x405586
cmp al, 0x2e
jne 0x40552d
cmp byte [esi + 2], 0
je 0x405586
push esi
push ebx
call fcn.00405b7a
test byte [ebp - 0x14c], 0x10
je 0x405552
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405586
push dword [ebp + 0xc]
push edi
call fcn.0040543a
jmp 0x405586
push dword [ebp - 4]
push edi
call fcn.004053f2
test eax, eax
jne 0x40557e
cmp dword [ebp - 4], eax
je 0x405576
push edi
push 0xfffffffffffffff1
call fcn.00404e65
push 0
push edi
call fcn.00405a2e
jmp 0x405586
inc dword [0x7a1f88]
jmp 0x405586
push edi
push 0xfffffffffffffff2
call fcn.00404e65
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4054f5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4055b1
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405603
cmp dword [ebp - 0xc], esi
jne 0x4055c5
inc dword [0x7a1f88]
jmp 0x405603
push edi
call fcn.00405e7e
test eax, eax
je 0x405603
push edi
call fcn.0040560a
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004053f2
test eax, eax
jne 0x4055fb
cmp dword [ebp - 4], esi
je 0x4055bd
push edi
push 0xfffffffffffffff1
call fcn.00404e65
push esi
push edi
call fcn.00405a2e
jmp 0x405603
push edi
push 0xffffffffffffffe5
call fcn.00404e65
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4056f8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x79f900
push esi
call fcn.00405b7a
push esi
call fcn.004056a3
mov edi, eax
test edi, edi
jne 0x405719
xor eax, eax
jmp 0x40576b
push edi
call fcn.00405de5
test byte [0x7a1f18], 0x80
je 0x405732
mov al, byte [edi]
test al, al
je 0x405715
cmp al, 0x5c
je 0x405715
sub edi, esi
jmp 0x40574a
call fcn.00405e7e
test eax, eax
je 0x405744
test byte [eax], 0x10
je 0x405715
push esi
call fcn.00405651
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405736
call fcn.0040560a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x4057e6
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x405805
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x40580b
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x40583a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x409368]
dec edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40587f
test edi, edi
jne 0x405845
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405879
Function at 0x4058b2
Capabilities:
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, 0x7a0288
push 0x409384
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov ebx, 0x400
je 0x405901
push 1
push 0
push esi
call fcn.0040580b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
push esi
call ebp
test eax, eax
je 0x405a28
cmp eax, ebx
jg 0x405a28
mov esi, 0x7a0688
push ebx
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405a28
cmp eax, ebx
jg 0x405a28
push esi
push edi
push str._s_s_r_n
push 0x79fe88
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x7a1f10]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405b9c
push 4
push 0xc0000000
push esi
call fcn.0040580b
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x405a28
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405a21
push edi
push esi
push ebp
call fcn.00405883
test eax, eax
je 0x405a21
push str._Rename__r_n
push esi
call fcn.00405770
test eax, eax
jne 0x4059b7
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4059ec
add eax, 0xa
push 0x40936c
push eax
call fcn.00405770
mov ebp, eax
test ebp, ebp
je 0x4059e8
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4059d9
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4059d3
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x1c]
jmp 0x4059ee
mov ebp, dword [esp + 0x1c]
mov eax, edi
push ebx
add eax, esi
push 0x79fe88
push eax
call fcn.004057c6
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x405a61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405ad2
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405ac1
cmp dword [ebp + 0x14], 1
je 0x405ac3
cmp dword [ebp + 0x14], 2
je 0x405ac3
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405f17
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a0a8c], 0
push esi
jne 0x405f4e
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 0x405f28
mov dword [ecx*4 + 0x7a0a88], eax
inc ecx
cmp ecx, 0x100
jl 0x405f23
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f7f
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 + 0x7a0a88]
xor eax, esi
inc ecx
dec edx
jne 0x405f61
pop edi
not eax
pop esi
ret 0xc
Function at 0x401520
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
fldz
push ebx
push esi
fstp qword [esp + 0x10]
push edi
mov edi, dword [esp + 0x24]
xor eax, eax
mov word [esp + 0x10], ax
mov dword [esp + 0xc], eax
push edi
call fcn.0040b0eb
mov ebx, dword [esp + 0x24]
push edi
mov esi, eax
push ebx
push esi
call fcn.0040b1c0
movzx eax, word [0x4251f0]
mov edx, dword [0x427924]
cwde
add edx, ebx
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov word [0x4251f0], ax
inc dword [esp + 0x1c]
add esp, 0x10
fld qword [esp + 0x14]
movzx eax, word [esp + 0x10]
inc dword [esp + 0x10]
cwde
mov dword [esp + 0x24], eax
add edi, esi
sub edx, 0x423004
fild dword [esp + 0x24]
mov ecx, esi
fsubp st(1)
fsub qword [0x41f3a0]
fcomp qword [0x41f398]
fnstsw ax
test ah, 0x41
jne 0x4015c7
fld qword [0x423508]
fld dword [0x425220]
fsub qword [0x41f390]
fadd qword [0x41f388]
fsubp st(1)
fstp qword [0x423508]
cmp esi, edi
je 0x4015da
jmp 0x4015d0
mov al, byte [edx]
xor byte [ecx], al
inc ecx
inc edx
cmp ecx, edi
jne 0x4015d0
fld qword [0x424320]
pop edi
fsub qword [esp + 0x10]
mov eax, esi
pop esi
pop ebx
fstp qword [0x424320]
fld qword [esp + 8]
fadd qword [0x41f350]
fstp qword [esp + 8]
add esp, 0x10
ret
Function at 0x402390
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
fldz
xor eax, eax
mov word [esp], ax
fstp dword [esp + 4]
fldz
xor edx, edx
fstp qword [esp + 4]
fld dword [str.4ZP8p]
fsub qword [0x41f470]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x28], eax
fstp dword [str.4ZP8p]
fld qword [0x41f468]
fstp qword [esp + 4]
movzx ecx, word [esp]
add ecx, 0x75239cc3
mov word [esp], cx
mov word [esp + 0x4e], dx
mov ecx, 1
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x6c]
mov word [esp + 0x50], cx
lea ecx, [esp + 0x20]
push ecx
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x84]
push edx
push eax
mov dword [esp + 0x70], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
movzx ecx, word [0x425fd4]
movsx edx, cx
mov dword [esp], edx
fild dword [esp]
fmul dword [0x4251f4]
fstp dword [0x4251f4]
add esp, 0x60
ret

Function at 0x402580
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
fldz
push ebx
xor eax, eax
mov word [esp + 8], ax
fstp dword [esp + 0x10]
xor ecx, ecx
push 0x2e
push 0x423c58
mov word [esp + 0xc], cx
call fcn.00401520
add esp, 8
lea edx, [esp + 0x14]
push edx
mov ebx, eax
push ebx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40261c
push esi
push edi
push 0x34
push 0x42524c
call fcn.00401520
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4025e0
sub eax, edi
push eax
mov eax, dword [esp + 0x20]
push edx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fldz
xor ecx, ecx
fstp dword [esp + 0x14]
push 0x34
push ecx
push esi
mov word [esp + 0x20], cx
call fcn.0040b530
push esi
call fcn.0040b00e
add esp, 0x10
pop edi
pop esi
fldz
xor edx, edx
push 0x2e
fstp dword [esp + 0x10]
push edx
mov word [esp + 0x14], dx
push ebx
call fcn.0040b530
push ebx
call fcn.0040b00e
mov ax, word [0x423a14]
movsx ecx, ax
add ecx, 0x529af4c5
mov dword [esp + 0x1c], ecx
add esp, 0x10
pop ebx
fild dword [esp + 8]
fld qword [0x4252d0]
fcompp
fnstsw ax
fld qword [0x4252d0]
fld1
fsub st(1), st(0)
fxch st(1)
fstp qword [0x4252d0]
test ah, 1
jne 0x4026e2
mov dx, word [0x423acc]
movsx eax, dx
add eax, 0x5b7d8586
cmp eax, 0xbcaa467c
jge 0x4026f2
fld qword [0x4242c0]
fsub st(1)
fstp qword [0x4242c0]
fld qword [0x4242c0]
fadd qword [0x4239c0]
mov cx, word [0x423a14]
movsx edx, cx
mov dword [esp + 8], edx
fild dword [esp + 8]
faddp st(1)
fmul dword [esp + 0xc]
fstp dword [esp + 0xc]
dec word [0x423a14]
fadd qword [0x4239c0]
mov edx, dword [esp + 0x10]
push edx
fstp qword [0x4239c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
ret
movzx eax, word [esp]
movzx ecx, word [esp + 4]
imul eax, ecx
mov word [esp], ax
mov edx, dword [esp + 0x10]
fstp st(0)
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
ret
Function at 0x4036f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
fstp dword [esp + 8]
fldz
push edi
push 3
mov dword [esp + 0x10], 0
fstp qword [esp + 0x14]
push 0x425fb4
call fcn.00401520
mov ebx, dword [esp + 0x24]
mov esi, eax
push esi
push ebx
call fcn.0040bdad
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x403787
fld qword [0x424378]
fsub qword [0x41f588]
fcomp qword [0x41f580]
fnstsw ax
test ah, 0x41
jp 0x403764
mov ax, word [0x4239d4]
mov ecx, dword [0x424434]
cwde
add ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
mov dword [esp + 0x14], 0xf396d6a4
call fcn.0040bdad
mov edi, eax
add esp, 8
test edi, edi
je 0x40379f
push edi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call fcn.0040bfd5
push edi
call fcn.0040b953
add esp, 0x14
fldz
xor eax, eax
mov word [esi], ax
fstp dword [esp + 0xc]
push esi
mov word [esp + 0x10], ax
mov byte [esi + 2], al
call fcn.0040b00e
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc
ret