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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x42c
mov eax, dword [0x10077008]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0x10], ebx
call fcn.100658b0
mov esi, eax
test esi, esi
je 0x10064039
movaps xmm0, xmmword [0x10071150]
xor ecx, ecx
movups xmmword [esp + 0x1c], xmm0
mov byte [esp + 0x2c], 0
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0xf
jb 0x10063f75
lea edx, [esp + 0x1d]
mov byte [esp + 0x2c], 0
mov ecx, esi
call fcn.10065c40
mov edi, eax
test edi, edi
je 0x10064039
cmp byte [ebp + 8], 0
je 0x10063fc0
push 0
push ebx
call edi
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.100671ce
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dh, 0x32
mov byte [esp + 0x1b], 0
mov al, 0x17
mov byte [esp + 0x14], dh
mov dl, al
mov byte [esp + 0x1b], 0
push esi
push dword [esp + 0x14]
mov ah, 1
xor al, dh
xor ah, dh
mov byte [esp + 0x1d], al
mov byte [esp + 0x21], ah
mov cl, 0x41
lea eax, [esp + 0x1d]
mov ch, 0x5b
push eax
push 0x400
lea eax, [esp + 0x40]
mov bl, 2
push eax
xor cl, dh
xor dl, dh
xor bl, dh
mov byte [esp + 0x2a], cl
xor ch, dh
mov byte [esp + 0x2b], dl
push 0x1007c13c
mov byte [esp + 0x30], bl
mov byte [esp + 0x32], ch
call fcn.100619c0
lea eax, [esp + 0x48]
push 0
push eax
call edi
add esp, 0x20
test eax, eax
jne 0x1006403b
inc esi
cmp esi, 0x3e8
jl 0x10063fc2
xor eax, eax
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100671ce
mov esp, ebp
pop ebp
ret

Function at 0x100645a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100645fe
cmp dword [edi + 0x10], 0
je 0x100645fe
cmp dword [edi + 0x14], 0
je 0x100645fe
mov eax, dword [edi + 0x18]
lea edx, [ebp - 4]
push edx
push 0x40
push eax
push ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [edi + 0x18]
push dword [edi + 0x1c]
push dword [edi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 0x1c]
pop edi
test eax, eax
je 0x1006460f
push eax
call fcn.100676ab
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10064630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [str.4WXkY_AGQQZUVXQ]
movups xmmword [ebp - 0x20], xmm0
nop
mov cl, byte [ebp - 0x20]
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xe
jb 0x10064670
mov ecx, dword [0x10078a98]
lea edx, [ebp - 0x1f]
mov byte [ebp - 0x11], 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [eax + 0x2c], 1
call fcn.10055f90
call fcn.10033bf0
lea ecx, [esi + 0x738]
mov dword [0x10078a48], 0
mov dword [0x10078a40], 0
call fcn.1005e900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret

Function at 0x10065120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007c7b8]
push ebx
push esi
mov esi, ecx
test eax, eax
jne 0x100651fb
movaps xmm0, xmmword [0x100717d0]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x14], al
movaps xmm0, xmmword [0x10071980]
movups xmmword [ebp - 0x34], xmm0
movaps xmm0, xmmword [0x100718e0]
movups xmmword [ebp - 0x24], xmm0
mov cl, byte [ebp - 0x44]
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0x2f
jb 0x10065165
mov cl, 0x49
mov byte [ebp - 0x10], 0x25
mov byte [ebp - 0x45], cl
mov al, 0x46
xor al, byte [ebp - 0x10]
mov dl, 0x4c
mov byte [ebp - 0x46], cl
mov ch, 0x51
xor cl, byte [ebp - 0x10]
mov dh, 0xb
mov byte [ebp - 0xf], al
mov ah, 0x4b
mov al, byte [ebp - 0x45]
mov bl, 0x40
mov byte [ebp - 0xe], cl
mov bh, 0x41
mov cl, byte [ebp - 0x10]
xor al, cl
mov byte [ebp - 5], 0
xor dl, cl
mov byte [ebp - 7], al
mov al, byte [ebp - 0x46]
xor dh, cl
xor ch, cl
mov byte [ebp - 0xd], dl
xor bl, cl
mov byte [ebp - 0xa], ch
xor ah, cl
mov byte [ebp - 9], dh
xor bh, cl
mov byte [ebp - 0x14], 0
xor al, cl
mov byte [ebp - 0xc], bl
lea edx, [ebp - 0x43]
mov byte [ebp - 0xb], ah
lea ecx, [ebp - 0xf]
mov byte [ebp - 8], bh
mov byte [ebp - 6], al
mov byte [ebp - 5], 0
call fcn.10056910
mov dword [0x1007c7b8], eax
test eax, eax
jne 0x100651fb
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100651e9
mov ecx, esi
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10065220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007c7c0]
push ebx
push esi
mov esi, ecx
test eax, eax
jne 0x100652e4
movaps xmm0, xmmword [0x10071730]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x40574734
mov dword [ebp - 0x18], 0x35475742
mov byte [ebp - 0x14], al
nop dword [eax]
mov cl, byte [ebp - 0x2c]
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0x17
jb 0x10065260
mov cl, 0x49
mov byte [ebp - 0x10], 0x25
mov byte [ebp - 0x2d], cl
mov al, 0x46
xor al, byte [ebp - 0x10]
mov dl, 0x4c
mov byte [ebp - 0x2e], cl
mov ch, 0x51
xor cl, byte [ebp - 0x10]
mov dh, 0xb
mov byte [ebp - 0xf], al
mov ah, 0x4b
mov al, byte [ebp - 0x2d]
mov bl, 0x40
mov byte [ebp - 0xe], cl
mov bh, 0x41
mov cl, byte [ebp - 0x10]
xor al, cl
mov byte [ebp - 5], 0
xor dl, cl
mov byte [ebp - 7], al
mov al, byte [ebp - 0x2e]
xor dh, cl
xor ch, cl
mov byte [ebp - 0xd], dl
xor bl, cl
mov byte [ebp - 0xa], ch
xor ah, cl
mov byte [ebp - 9], dh
xor bh, cl
mov byte [ebp - 0x14], 0
xor al, cl
mov byte [ebp - 0xc], bl
lea edx, [ebp - 0x2b]
mov byte [ebp - 0xb], ah
lea ecx, [ebp - 0xf]
mov byte [ebp - 8], bh
mov byte [ebp - 6], al
mov byte [ebp - 5], 0
call fcn.10056910
mov dword [0x1007c7c0], eax
test eax, eax
je 0x100652ea
push esi
call eax
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret

Function at 0x10065300
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007c7d8]
push ebx
push esi
mov esi, ecx
test eax, eax
jne 0x100653e2
movaps xmm0, xmmword [0x100711e0]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0x3b3b243b
movaps xmm0, xmmword [0x100712a0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0x24373c24
mov dword [ebp - 0x18], 0x34243047
mov word [ebp - 0x14], 0x30
mov cl, byte [ebp - 0x40]
xor byte [ebp + eax - 0x3f], cl
inc eax
cmp eax, 0x2c
jb 0x10065352
mov cl, 0x2a
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 0x41], cl
mov al, 0x25
xor al, byte [ebp - 0x10]
mov dl, 0x2f
mov byte [ebp - 0x42], cl
mov ch, 0x32
xor cl, byte [ebp - 0x10]
mov dh, 0x68
mov byte [ebp - 0xf], al
mov ah, 0x28
mov al, byte [ebp - 0x41]
mov bl, 0x23
mov byte [ebp - 0xe], cl
mov bh, 0x22
mov cl, byte [ebp - 0x10]
xor al, cl
mov byte [ebp - 5], 0
xor dl, cl
mov byte [ebp - 7], al
mov al, byte [ebp - 0x42]
xor dh, cl
xor ch, cl
mov byte [ebp - 0xd], dl
xor bl, cl
mov byte [ebp - 0xa], ch
xor ah, cl
mov byte [ebp - 9], dh
xor bh, cl
mov byte [ebp - 0x13], 0
xor al, cl
mov byte [ebp - 0xc], bl
lea edx, [ebp - 0x3f]
mov byte [ebp - 0xb], ah
lea ecx, [ebp - 0xf]
mov byte [ebp - 8], bh
mov byte [ebp - 6], al
mov byte [ebp - 5], 0
call fcn.10056910
mov dword [0x1007c7d8], eax
test eax, eax
je 0x100653e4
mov eax, dword [eax + 2]
mov dword [0x1007c7d8], eax
test eax, eax
je 0x100653e4
mov dword [eax], esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10065620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov esi, ecx
mov eax, dword [0x1007c7c4]
push edi
mov edi, edx
test eax, eax
jne 0x100656fa
movaps xmm0, xmmword [0x10071930]
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x100718a0]
movups xmmword [ebp - 0x44], xmm0
movaps xmm0, xmmword [0x10071810]
movups xmmword [ebp - 0x34], xmm0
movaps xmm0, xmmword [str.zbiz]
movups xmmword [ebp - 0x24], xmm0
mov cl, byte [ebp - 0x54]
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 0x3e
jb 0x10065676
mov cl, 0x4e
mov byte [ebp - 0x14], 0x22
mov byte [ebp - 0x55], cl
mov al, 0x41
xor al, byte [ebp - 0x14]
mov dl, 0x4b
mov byte [ebp - 0x56], cl
mov ch, 0x56
xor cl, byte [ebp - 0x14]
mov dh, 0xc
mov byte [ebp - 0x13], al
mov ah, 0x4c
mov al, byte [ebp - 0x55]
mov bl, 0x47
mov byte [ebp - 0x12], cl
mov bh, 0x46
mov cl, byte [ebp - 0x14]
xor al, cl
mov byte [ebp - 9], 0
xor dl, cl
mov byte [ebp - 0xb], al
mov al, byte [ebp - 0x56]
xor dh, cl
xor ch, cl
mov byte [ebp - 0x11], dl
xor bl, cl
mov byte [ebp - 0xe], ch
xor ah, cl
mov byte [ebp - 0xd], dh
xor bh, cl
mov byte [ebp - 0x15], 0
xor al, cl
mov byte [ebp - 0x10], bl
lea edx, [ebp - 0x53]
mov byte [ebp - 0xf], ah
lea ecx, [ebp - 0x13]
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xa], al
mov byte [ebp - 9], 0
call fcn.10056910
mov dword [0x1007c7c4], eax
test eax, eax
je 0x10065701
push dword [ebp - 0x5c]
push edi
push esi
call eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10065720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x4c], eax
mov esi, ecx
mov eax, dword [0x1007c7d4]
push edi
mov edi, edx
test eax, eax
jne 0x100657f7
movaps xmm0, xmmword [0x10071180]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x14], al
movaps xmm0, xmmword [0x10071100]
movups xmmword [ebp - 0x34], xmm0
movaps xmm0, xmmword [0x10071940]
movups xmmword [ebp - 0x24], xmm0
mov cl, byte [ebp - 0x44]
xor byte [ebp + eax - 0x43], cl
inc eax
cmp eax, 0x2f
jb 0x10065774
mov cl, 5
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0x45], cl
mov al, 0xa
xor al, byte [ebp - 0x10]
xor dl, dl
mov byte [ebp - 0x46], cl
mov ch, 0x1d
xor cl, byte [ebp - 0x10]
mov dh, 0x47
mov byte [ebp - 0xf], al
mov ah, 7
mov al, byte [ebp - 0x45]
mov bl, 0xc
mov byte [ebp - 0xe], cl
mov bh, 0xd
mov cl, byte [ebp - 0x10]
xor al, cl
mov byte [ebp - 5], dl
xor dl, cl
mov byte [ebp - 7], al
mov al, byte [ebp - 0x46]
xor dh, cl
xor ch, cl
mov byte [ebp - 0xd], dl
xor bl, cl
mov byte [ebp - 0xa], ch
xor ah, cl
mov byte [ebp - 9], dh
xor bh, cl
mov byte [ebp - 0x14], 0
xor al, cl
mov byte [ebp - 0xc], bl
lea edx, [ebp - 0x43]
mov byte [ebp - 0xb], ah
lea ecx, [ebp - 0xf]
mov byte [ebp - 8], bh
mov byte [ebp - 6], al
mov byte [ebp - 5], 0
call fcn.10056910
mov dword [0x1007c7d4], eax
test eax, eax
je 0x10065807
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp + 8]
push edi
push esi
call eax
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10065c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b368
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x10065c7e
xor eax, eax
jmp 0x10065de0
mov eax, dword [ecx + 0x3c]
add eax, ecx
je 0x10065c77
mov eax, dword [eax + 0x78]
xor esi, esi
add eax, ecx
mov dword [ebp - 0x48], eax
mov edx, dword [eax + 0x1c]
mov edi, dword [eax + 0x24]
add edx, ecx
mov dword [ebp - 0x58], edx
add edi, ecx
mov edx, dword [eax + 0x20]
add edx, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x54], edx
cmp esi, dword [eax + 0x18]
jae 0x10065c77
nop dword [eax]
mov edi, dword [edx + esi*4]
mov eax, ebx
add edi, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10065cd0
sub eax, edx
lea ecx, [ebp - 0x40]
push eax
push ebx
call fcn.10028610
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10065d01
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10028610
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.10065820
mov ecx, dword [ebp - 0x14]
mov bl, al
cmp ecx, 0x10
jb 0x10065d5a
mov edx, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x10065d51
test dl, 0x1f
jne 0x10065dc2
mov eax, dword [edx - 4]
cmp eax, edx
jae 0x10065dc2
sub edx, eax
sub edx, 4
cmp edx, 0x1f
ja 0x10065dc2
mov edx, eax
push edx
call fcn.10067552
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x10065da7
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x10065d9e
test cl, 0x1f
jne 0x10065dc2
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10065dc2
sub ecx, eax
sub ecx, 4
cmp ecx, 0x1f
ja 0x10065dc2
mov ecx, eax
push ecx
call fcn.10067552
add esp, 4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
test bl, bl
jne 0x10065dc8
inc esi
cmp esi, dword [eax + 0x18]
jae 0x10065dc8
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
jmp 0x10065cb0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [ebp - 0x4c]
cmp esi, dword [eax + 0x18]
jae 0x10065c77
movzx eax, word [edi + esi*2]
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + eax*4]
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x10066000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b39c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10077008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x1007885c]
mov edx, dword [eax + edx*4]
mov eax, dword [0x1007c93c]
cmp eax, dword [edx + 4]
jle 0x10066108
push 0x1007c93c
call fcn.10067831
add esp, 4
cmp dword [0x1007c93c], 0xffffffff
jne 0x10066108
mov dword [ebp - 4], 0
mov al, 0x7d
movaps xmm0, xmmword [0x100711d0]
mov cl, 0x4f
mov byte [ebp - 0x1c], 0x10
mov ch, 0x7e
xor al, byte [ebp - 0x1c]
mov dl, 0x78
mov byte [ebp - 0x1b], al
mov bl, 0x5f
mov al, byte [ebp - 0x1c]
mov ah, 0x67
mov dh, 0x75
mov byte [ebp - 0x13], 0
mov bh, 0x62
mov byte [ebp - 0x13], 0
xor cl, al
mov dword [ebp - 0x24], 0x2f2e3120
xor ch, al
mov byte [ebp - 0x1a], cl
xor dl, al
mov byte [ebp - 0x16], ch
xor bl, al
mov byte [ebp - 0x19], dl
xor ah, al
mov byte [ebp - 0x18], bl
xor dh, al
mov byte [ebp - 0x17], ah
xor bh, al
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x20], 0
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x13
jb 0x100660d0
mov ecx, dword [0x1007c134]
lea eax, [ebp - 0x1b]
push 0
push eax
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], 0
push eax
call fcn.1005ee80
push 0x1007c93c
mov dword [0x1007c938], eax
call fcn.100677f2
add esp, 4
mov eax, dword [0x1007c938]
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100671ce
mov esp, ebp
pop ebp
ret
Function at 0x1002921
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x100c028]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1002961
cmp dword [ebp - 0x88], 2
jne 0x1002966
cmp dword [ebp - 0x94], 5
jb 0x1002966
xor eax, eax
inc eax
jmp 0x1002968
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.01006a23
leave
ret

Function at 0x1002977
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100c020]
cmp eax, 0xffffffff
je 0x1002a28
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
mov esi, 0x314
push esi
push 0x100c8e0
push dword [0x100c020]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002a1f
cmp dword [ebp - 4], esi
jne 0x1002a1f
cmp dword [0x100c8e0], 0x6e776453
jne 0x1002a1f
test byte [0x100c8eb], 0x80
jne 0x1002a26
or byte [0x100c8eb], 0x40
push 0x100caf0
push 0x103
push 0x100cd20
mov byte [0x100caef], bl
mov byte [0x100cbf3], bl
call dword [sym.imp.msvcrt.dll__snprintf]
add esp, 0xc
cmp dword [0x100c8e4], 0x10000
jne 0x1002a26
test dword [0x100c8e8], 0x3fffffec
jne 0x1002a26
and byte [0x100c8eb], 0xbf
jmp 0x1002a26
or byte [0x100c8eb], 0x80
pop esi
pop ebx
leave
ret

Function at 0x1002a2f
Capabilities:
Create directory
Delete directory
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100c028]
and dword [ebp - 0x110], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 0x114], eax
or eax, 1
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x10c], 0
mov ebx, eax
xor edx, edx
mov ecx, 0xf4240
mov eax, ebx
div ecx
lea eax, [ebp - 0x108]
push edx
push edi
push 0x10022bc
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0
lea eax, [ebp - 0x108]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1002acb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1002af6
inc dword [ebp - 0x10c]
cmp dword [ebp - 0x10c], 0x3e8
jl 0x1002a74
jmp 0x1002af6
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1002aec
push 4
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x110], 1
push dword [ebp - 0x114]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x110]
pop edi
pop esi
pop ebx
call fcn.01006a23
leave
ret 4
Function at 0x1002b9a
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100c028]
push ebx
mov bl, byte [ebp + 8]
push esi
push edi
mov esi, 0x10022c8
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x5c3a3f
push eax
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x10], bl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, eax
dec eax
dec eax
je 0x1002be7
dec eax
je 0x1002c35
sub eax, 3
je 0x1002be2
xor edi, edi
jmp 0x1002c35
push 3
pop edi
jmp 0x1002c35
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push 0x80000000
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1002bde
push esi
lea eax, [ebp - 0x14]
push eax
push 0x18
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push 0x70000
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1002c2c
cmp dword [ebp - 0x24], 0xb
je 0x1002c2e
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01006a23
leave
ret 4

Function at 0x1002dff
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x100d080
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100c4ac]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1002e28
push eax
call esi
and dword [0x100c4ac], 0
mov eax, dword [0x100c020]
cmp eax, 0xffffffff
je 0x1002e3c
push eax
call esi
or dword [0x100c020], 0xffffffff
mov esi, dword [0x100c004]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edi, 0x100c004
jmp 0x1002e80
mov eax, dword [esi + 4]
test eax, eax
je 0x1002e7e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1002e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1002e7a
cmp eax, 3
je 0x1002e7a
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002e4f
mov esi, dword [0x100c00c]
mov edi, 0x100c00c
jmp 0x1002ec2
mov eax, dword [esi + 4]
test eax, eax
je 0x1002ec0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1002ebc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1002ebc
cmp eax, 3
je 0x1002ebc
push 4
push 0
push dword [esi + 4]
call ebx
and dword [esi + 4], 0
mov esi, dword [esi]
cmp esi, edi
jne 0x1002e91
push 0x100d080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret

Function at 0x1003068
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
je 0x1003094
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x100c4e0]
inc ecx
dec edx
jne 0x100307c
pop edi
pop esi
pop ebp
ret 0xc