joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d700
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf5e5
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x101050c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0x1013a340
mov dword [0x1013a354], 0xf
mov dword [0x1013a350], 0
mov byte [0x1013a340], 0
mov dword [ebp - 4], 0
mov dword [0x1013a36c], 0xf
mov dword [0x1013a368], 0
mov byte [0x1013a358], 0
mov dword [0x1013a384], 0xf
mov dword [0x1013a380], 0
mov byte [0x1013a370], 0
mov dword [0x1013a39c], 0xf
mov dword [0x1013a398], 0
mov byte [0x1013a388], 0
mov dword [0x1013a3b4], 0xf
mov dword [0x1013a3b0], 0
mov byte [0x1013a3a0], 0
mov dword [0x1013a3c0], 0
mov dword [0x1013a3c4], 0
mov dword [0x1013a3c8], 0
mov dword [0x1013a3cc], 0
mov dword [0x1013a3d0], 0
mov dword [0x1013a3d4], 0
push 0
mov byte [ebp - 4], 6
call dword [0x100d1440]
push 0x104
lea eax, [ebp - 0x118]
mov dword [ebp - 0x224], 0
push eax
push 0
call dword [0x100d10c8]
push eax
call dword [0x100d122c]
cmp byte [ebp - 0x118], 0
jne 0x1000d83f
xor ecx, ecx
jmp 0x1000d851
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d848
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, 0x1013a358
push eax
call fcn.100017d0
push 0x11
mov esi, 0x1013a388
push 0x100f0468
mov ecx, esi
call fcn.100017d0
call fcn.1000b4e0
mov edx, eax
cmp byte [edx], 0
jne 0x1000d886
xor ecx, ecx
jmp 0x1000d899
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d890
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10001a00
push 1
push str._cBzW
mov ecx, esi
call fcn.10001a00
mov edi, dword [0x1013a39c]
mov ecx, esi
cmp edi, 0x10
cmovae ecx, dword [0x1013a388]
xor edx, edx
mov al, byte [ecx]
test al, al
je 0x1000d8dc
nop word [eax + eax]
inc ecx
movsx eax, al
add edx, eax
mov al, byte [ecx]
test al, al
jne 0x1000d8d0
imul eax, edx, 0x64
cmp edi, 0x10
push 0
mov dword [0x1013a3b8], eax
mov eax, esi
cmovae eax, dword [0x1013a388]
push eax
call fcn.100a3b0c
add esp, 8
cmp eax, 0xffffffff
jne 0x1000d917
cmp dword [0x1013a39c], 0x10
cmovae esi, dword [0x1013a388]
push esi
call fcn.100a4254
add esp, 4
lea eax, [ebp - 0x224]
push eax
push 0
push 0
call dword [0x100d131c]
test eax, eax
jne 0x1000d97c
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
call dword [0x100d1318]
push dword [ebp - 0x224]
call dword [0x100d1444]
cmp byte [ebp - 0x220], 0
jne 0x1000d958
xor ecx, ecx
jmp 0x1000d96a
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d961
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
mov ecx, 0x1013a3a0
push eax
call fcn.100017d0
call fcn.1003f180
mov dword [0x1013a3bc], 0
call fcn.1004b250
test eax, eax
jne 0x1000d9ab
push 0x100f047c
push ecx
call fcn.1000af00
add esp, 4
push eax
call fcn.10007e20
add esp, 8
mov eax, 0x1013a340
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.1009a83f
mov esp, ebp
pop ebp
ret
Function at 0x10011340
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
je 0x100114f0
test ebx, ebx
je 0x100114f0
mov eax, 0xaaaaaaab
mul ebx
push edi
mov edi, edx
shr edi, 1
lea eax, [edi + edi*2]
sub ebx, eax
lea ecx, [edi*4]
lea eax, [ecx + 4]
mov dword [ebp - 4], ebx
cmove eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], eax
test ecx, ecx
jne 0x10011393
cmp dword [ebp + 0xc], ecx
jne 0x10011398
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], eax
jae 0x100113a1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x10011442
nop dword [eax]
mov dl, byte [esi]
mov bl, byte [esi + 1]
mov al, dl
sar al, 2
and al, 0x3f
cmp al, 0x40
jae 0x100113cb
movsx eax, al
mov al, byte [eax + 0x100ef638]
jmp 0x100113cd
or al, 0xff
mov byte [ecx], al
and dl, 3
mov al, bl
shl dl, 4
sar al, 4
and al, 0xf
or al, dl
cmp al, 0x40
jae 0x100113ed
movsx eax, al
mov al, byte [eax + 0x100ef638]
jmp 0x100113ef
or al, 0xff
mov byte [ecx + 1], al
and bl, 0xf
mov dl, byte [esi + 2]
add esi, 3
mov al, dl
shl bl, 2
sar al, 6
and al, 3
or al, bl
cmp al, 0x40
jae 0x10011416
movsx eax, al
mov al, byte [eax + 0x100ef638]
jmp 0x10011418
or al, 0xff
and dl, 0x3f
mov byte [ecx + 2], al
cmp dl, 0x40
jae 0x1001142e
movsx eax, dl
mov al, byte [eax + 0x100ef638]
jmp 0x10011430
or al, 0xff
mov byte [ecx + 3], al
add ecx, 4
sub edi, 1
jne 0x100113b0
mov ebx, dword [ebp - 4]
sub ebx, 1
je 0x100114b2
sub ebx, 1
jne 0x100114e6
mov bl, byte [esi]
mov dl, byte [esi + 1]
mov al, bl
sar al, 2
and al, 0x3f
cmp al, 0x40
jae 0x1001146b
movsx eax, al
mov al, byte [eax + 0x100ef638]
jmp 0x1001146d
or al, 0xff
mov byte [ecx], al
and bl, 3
mov al, dl
shl bl, 4
sar al, 4
and al, 0xf
or al, bl
cmp al, 0x40
jae 0x1001148d
movsx eax, al
mov al, byte [eax + 0x100ef638]
jmp 0x1001148f
or al, 0xff
mov byte [ecx + 1], al
and dl, 0xf
shl dl, 2
movzx eax, dl
pop edi
pop esi
pop ebx
mov al, byte [eax + 0x100ef638]
mov byte [ecx + 2], al
mov eax, dword [ebp - 8]
mov byte [ecx + 3], 0x3d
mov esp, ebp
pop ebp
ret
mov dl, byte [esi]
mov al, dl
sar al, 2
and al, 0x3f
cmp al, 0x40
jae 0x100114ca
movsx eax, al
mov al, byte [eax + 0x100ef638]
jmp 0x100114cc
or al, 0xff
mov byte [ecx], al
and dl, 3
shl dl, 4
movzx eax, dl
mov al, byte [eax + 0x100ef638]
mov byte [ecx + 1], al
mov word [ecx + 2], 0x3d3d
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001fe40
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x1001feb5
mov edi, dword [esi + 0x20]
add edi, eax
cmp dword [edi + 8], 6
je 0x1001fe60
mov edx, 5
call fcn.100253d0
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x1001fe9f
mov edx, 1
mov ecx, esi
call fcn.10025610
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.10025e50
add esp, 4
mov edx, 2
mov ecx, esi
pop edi
pop esi
jmp fcn.100253d0
Function at 0x10024c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x78
push 0
push 0
mov ebx, dword [edi + 0x10]
push dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10024ced
add dword [ebx + 0x44], 0x78
mov edx, edi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x1c]
mov dword [esi], eax
movzx eax, byte [ecx + 0x14]
mov dword [ecx + 0x1c], esi
and al, 3
mov byte [esi + 5], al
mov ecx, esi
mov byte [esi + 4], 8
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x36], 0x1000000
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x30], 0
mov word [esi + 0x34], ax
mov byte [esi + 6], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x50], eax
call fcn.10024a30
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
movzx eax, byte [edi + 0x38]
mov byte [esi + 0x38], al
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, esi
pop edi
mov dword [esi + 0x40], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 4
mov ecx, edi
call fcn.100253d0
int3

Function at 0x100253d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x100253f2
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.1009dbcd
mov eax, dword [esi + 0x10]
mov byte [esi + 6], dl
cmp dword [eax + 0x58], 0
je 0x1002540f
call fcn.10025350
mov eax, dword [esi + 0x10]
push esi
mov eax, dword [eax + 0x58]
call eax
add esp, 4
push 1
call fcn.100a4861
int3
Function at 0x100265b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
mov eax, ecx
mov edx, dword [ebp + 8]
mov ebx, edx
mov edi, edx
mov dword [esp + 0x14], eax
shr edi, 5
mov esi, edx
inc edi
cmp edx, edi
jb 0x10026602
mov edx, dword [esp + 0x10]
nop dword [eax + eax]
movzx ecx, byte [edx + esi - 1]
mov eax, ebx
shl eax, 5
sub esi, edi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp esi, edi
jae 0x100265e0
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x10026674
cmp dword [edi + 0xc], edx
jne 0x1002666e
mov eax, dword [ebp + 8]
lea esi, [edi + 0x10]
mov edx, dword [esp + 0x10]
sub eax, 4
jb 0x10026639
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x1002663e
add edx, 4
add esi, 4
sub eax, 4
jae 0x10026628
cmp eax, 0xfffffffc
je 0x1002668d
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x1002666b
cmp eax, 0xfffffffd
je 0x1002668d
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x1002666b
cmp eax, 0xfffffffe
je 0x1002668d
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x1002666b
cmp eax, 0xffffffff
je 0x1002668d
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1002668d
mov edx, dword [ebp + 8]
mov edi, dword [edi]
test edi, edi
jne 0x10026614
mov ecx, dword [esp + 0x14]
push ebx
push edx
mov edx, dword [esp + 0x18]
call fcn.10026500
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
mov al, byte [edi + 5]
mov ecx, dword [esi + 0x10]
movzx edx, byte [ecx + 0x14]
not edx
movzx ecx, al
and edx, ecx
test dl, 3
je 0x100266ac
xor al, 3
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100319f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101050c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x20c], 0
push esi
mov dword [ebp - 0x214], eax
mov ebx, edx
mov dword [ebp - 0x208], eax
mov esi, 0x200
lea eax, [ebp - 0x204]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x210], eax
lea ecx, [ebp - 0x210]
call fcn.1001e900
test eax, eax
je 0x10031a4e
lea ecx, [ebp - 0x210]
call fcn.1001e970
cmp esi, edi
lea eax, [ebp - 0x204]
push ebx
cmova esi, edi
push esi
push 1
push eax
call fcn.100ada95
add dword [ebp - 0x210], eax
add esp, 0x10
sub edi, eax
je 0x10031a74
cmp eax, esi
je 0x10031a34
lea ecx, [ebp - 0x210]
call fcn.1001e900
mov edx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x208]
call fcn.1001d790
test edi, edi
mov dword [ebp - 0x20c], 1
pop edi
pop esi
pop ebx
je 0x10031ac1
mov ecx, dword [ebp - 0x214]
or edx, 0xffffffff
call fcn.1001cf60
test eax, eax
jne 0x10031ac1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009a83f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1009a83f
mov esp, ebp
pop ebp
ret
Function at 0x10031f30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov esi, 1
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
sar eax, 4
sub eax, 1
je 0x10031ffb
mov ebx, dword [ebp + 8]
nop dword [eax]
dec eax
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.1001cc00
cmp eax, 0x100ef7a8
je 0x1003202b
cmp dword [eax + 8], 3
jne 0x1003202b
test esi, esi
je 0x10031fec
mov edx, ebx
mov ecx, edi
call fcn.1001cc00
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x10031fcb
cmp ecx, 4
jne 0x10032026
mov ecx, dword [eax]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x10032026
movsd xmm0, qword [esp + 0x28]
lea eax, [esp + 0x30]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 3
movsd xmm0, qword [eax]
sub esp, 8
movsd qword [esp], xmm0
push 0x100f1524
push dword [esp + 0x28]
call fcn.1001b5d0
add esp, 0x10
test eax, eax
jg 0x10032058
xor esi, esi
mov eax, dword [esp + 0x24]
inc ebx
test eax, eax
jne 0x10031f60
call fcn.100a3e91
mov ebx, dword [eax]
mov eax, dword [edi + 8]
test esi, esi
je 0x1003205f
mov dword [eax], 1
mov dword [eax + 8], 1
mov eax, 1
add dword [edi + 8], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
jmp 0x10031fcf
lea eax, [esp + 0x20]
mov edx, ebx
push eax
mov ecx, edi
call fcn.1001dfe0
add esp, 4
test esi, esi
je 0x10031fec
push dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
push esi
push 1
push eax
call fcn.100a3db5
add esp, 0x10
cmp eax, esi
jne 0x10031fec
mov esi, 1
jmp 0x10031fee
mov dword [eax + 8], 0
add dword [edi + 8], 0x10
push ebx
call fcn.100ad303
add esp, 4
push eax
push 0x100f0010
push edi
call fcn.1001d0f0
mov eax, dword [edi + 8]
add esp, 0xc
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov dword [eax + 8], 3
movsd qword [eax], xmm0
mov eax, 3
add dword [edi + 8], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10048a70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
test ebx, ebx
jle 0x10048ade
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ecx + 2]
movzx ecx, byte [edx]
test esi, esi
je 0x10048aad
and ecx, 0xf
movzx ecx, byte [edi + ecx*4]
mov byte [eax - 2], cl
movzx ecx, byte [edx]
and ecx, 0xf
movzx ecx, byte [edi + ecx*4 + 1]
mov byte [eax - 1], cl
movzx ecx, byte [edx]
and ecx, 0xf
inc edx
jmp 0x10048acb
shr ecx, 4
movzx ecx, byte [edi + ecx*4]
mov byte [eax - 2], cl
movzx ecx, byte [edx]
shr ecx, 4
movzx ecx, byte [edi + ecx*4 + 1]
mov byte [eax - 1], cl
movzx ecx, byte [edx]
shr ecx, 4
movzx ecx, byte [edi + ecx*4 + 2]
xor esi, 1
mov byte [eax], cl
add eax, 3
sub ebx, 1
jne 0x10048a85
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100491c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
test ebx, ebx
jle 0x10049232
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ecx + 2]
movzx ecx, byte [edx]
test esi, esi
je 0x100491fd
and ecx, 0xf
movzx ecx, byte [edi + ecx*4]
mov byte [eax - 2], cl
movzx ecx, byte [edx]
and ecx, 0xf
movzx ecx, byte [edi + ecx*4 + 1]
mov byte [eax - 1], cl
movzx ecx, byte [edx]
and ecx, 0xf
inc edx
jmp 0x1004921b
shr ecx, 4
movzx ecx, byte [edi + ecx*4]
mov byte [eax - 2], cl
movzx ecx, byte [edx]
shr ecx, 4
movzx ecx, byte [edi + ecx*4 + 1]
mov byte [eax - 1], cl
movzx ecx, byte [edx]
shr ecx, 4
movzx ecx, byte [edi + ecx*4 + 2]
xor esi, 1
mov byte [eax], cl
mov byte [eax + 1], 0xff
add eax, 4
sub ebx, 1
jne 0x100491d5
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10049420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
test ebx, ebx
jle 0x100494e1
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ecx + 2]
nop dword [eax]
movzx ecx, byte [edx]
test esi, esi
je 0x1004948c
and ecx, 0xf
movzx ecx, byte [edi + ecx*4]
mov byte [eax - 2], cl
movzx ecx, byte [edx]
and ecx, 0xf
movzx ecx, byte [edi + ecx*4 + 1]
mov byte [eax - 1], cl
movzx ecx, byte [edx]
and ecx, 0xf
movzx ecx, byte [edi + ecx*4 + 2]
mov byte [eax], cl
movzx ecx, byte [edx]
and ecx, 0xf
cmp ecx, dword [ebp + 0x14]
jge 0x10049484
mov edi, dword [ebp + 0x10]
inc edx
movzx ecx, byte [ecx + edi]
mov edi, dword [ebp + 0xc]
jmp 0x100494ce
mov ecx, 0xff
inc edx
jmp 0x100494ce
shr ecx, 4
movzx ecx, byte [edi + ecx*4]
mov byte [eax - 2], cl
movzx ecx, byte [edx]
shr ecx, 4
movzx ecx, byte [edi + ecx*4 + 1]
mov byte [eax - 1], cl
movzx ecx, byte [edx]
shr ecx, 4
cmp dword [ebp + 0x14], 0
movzx ecx, byte [edi + ecx*4 + 2]
mov byte [eax], cl
jle 0x100494c9
movzx ecx, byte [edx]
mov edi, dword [ebp + 0x10]
shr ecx, 4
movzx ecx, byte [ecx + edi]
mov edi, dword [ebp + 0xc]
jmp 0x100494ce
mov ecx, 0xff
mov byte [eax + 1], cl
xor esi, 1
add eax, 4
sub ebx, 1
jne 0x10049440
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1004b1d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.1004acb0
test eax, eax
je 0x1004b239
push 0x100f80b8
lea eax, [ebp - 4]
push edi
push eax
call fcn.100ad7f9
add esp, 0xc
test eax, eax
jne 0x1004b239
mov eax, dword [ebp - 4]
test eax, eax
je 0x1004b239
cmp esi, 0x20
je 0x1004b21d
push eax
push 0x2a720
push 1
push 0x101092a0
call fcn.100a3db5
mov eax, dword [ebp - 4]
add esp, 0x10
push eax
call fcn.100a3823
push dword [ebp - 4]
call fcn.100a38ef
add esp, 8
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004d2a0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x101050c8]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0xd0
mov dword [esp + 0x10], eax
mov esi, edx
lea eax, [esp + 0x14]
mov edi, ecx
push 0
push eax
call fcn.1009dbe0
push esi
mov edx, edi
mov dword [esp + 0x20], 0x67452301
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
call fcn.1004d120
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ebx
call fcn.1004d1e0
mov ecx, dword [esp + 0xf8]
add esp, 0x14
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009a83f
mov esp, ebp
pop ebp
ret

Function at 0x1004d340
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x101050c8]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x14], eax
mov esi, edx
mov eax, dword [ebp + 0x14]
mov edi, ecx
push 0xd0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.1009dbe0
push esi
mov edx, edi
mov dword [esp + 0x28], 0x67452301
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
mov dword [esp + 0x38], 0xc3d2e1f0
call fcn.1004d120
push dword [ebp + 0xc]
mov edx, ebx
lea ecx, [esp + 0x2c]
call fcn.1004d120
push dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.1004d1e0
mov ecx, dword [esp + 0x104]
add esp, 0x18
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009a83f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1004d3f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
mov esi, edi
test ebx, ebx
je 0x1004d41b
mov edx, dword [ebp + 8]
mov cl, byte [esi]
lea esi, [esi + 1]
xor cl, bl
xor cl, dl
xor cl, al
inc eax
mov byte [esi - 1], cl
cmp eax, ebx
jb 0x1004d408
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edx, ebx
push esi
mov ecx, edi
call fcn.1004d2a0
xor eax, eax
add esp, 8
mov dword [ebp - 4], eax
test ebx, ebx
je 0x1004d469
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
nop
xor edx, edx
div ecx
mov al, byte [edx + esi]
mov edx, dword [ebp - 4]
mov cl, al
shr cl, 4
shl al, 4
xor cl, al
mov eax, edx
xor cl, byte [edx + edi]
xor cl, al
inc eax
mov byte [edx + edi], cl
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp eax, ebx
jb 0x1004d440
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004d480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101050c8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
push edi
mov ebx, edx
mov dword [ebp - 0x30], ecx
movups xmmword [ebp - 0x27], xmm0
cmp dword [ecx], 0x14
movq qword [ebp - 0x17], xmm0
mov dword [ebp - 0xf], 0
mov word [ebp - 0xb], 0
mov byte [ebp - 9], 0
jbe 0x1004d4d6
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1009a83f
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x1004d50b
xor edx, edx
div dword [ecx]
mov al, byte [edx + edi]
mov edx, dword [ebp - 0x2c]
mov cl, al
shr cl, 4
shl al, 4
xor cl, al
mov eax, edx
xor cl, byte [edx + esi]
xor cl, al
inc eax
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x1004d4e2
push ecx
lea eax, [ebp - 0x28]
mov edx, ebx
push eax
mov ecx, esi
call fcn.1004d2a0
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
add esp, 8
mov edx, dword [edx]
sub edx, 4
jb 0x1004d541
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1004d546
add ecx, 4
add edi, 4
sub edx, 4
jae 0x1004d530
cmp edx, 0xfffffffc
je 0x1004d583
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x1004d4c3
cmp edx, 0xfffffffd
je 0x1004d583
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x1004d4c3
cmp edx, 0xfffffffe
je 0x1004d583
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x1004d4c3
cmp edx, 0xffffffff
je 0x1004d583
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
jne 0x1004d4c3
xor ecx, ecx
test ebx, ebx
je 0x1004d5a3
mov edx, dword [ebp + 8]
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
xor al, dl
xor al, bl
xor al, cl
inc ecx
mov byte [esi - 1], al
cmp ecx, ebx
jb 0x1004d590
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009a83f
mov esp, ebp
pop ebp
ret

Function at 0x10054340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1005435e
cmp dword [esi + 0x48], 0
je 0x1005435e
push 2
push 3
push esi
call fcn.100679c0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.1005f630
add esp, 4
test esi, esi
je 0x1005437e
cmp dword [esi + 0x48], 0
je 0x1005437e
push 3
push esi
call fcn.10067a00
add esp, 8
pop esi
pop ebp
ret