joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ee376
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100ee2f2
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100ee4e5
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100ee4e5
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100ee49a
jg 0x100ee3d2
test eax, eax
je 0x100ee490
push 1
push 0x1000
call fcn.100e8a0a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100ee3f5
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100ee487
push 0x8000
push ebx
call fcn.100eddef
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100ee41e
jg 0x100ee419
cmp ecx, 0x1000
jb 0x100ee41e
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100de9a5
add esp, 0x10
cmp eax, 0xffffffff
je 0x100ee463
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100ee419
jl 0x100ee44a
test ecx, ecx
jne 0x100ee40b
push dword [ebp - 0xc]
push ebx
call fcn.100eddef
push esi
call fcn.100e8a67
add esp, 0xc
xor ebx, ebx
jmp 0x100ee4f3
cmp byte [edi + 0x24], 0
je 0x100ee47a
cmp dword [edi + 0x20], 5
jne 0x100ee47a
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100ee485
mov ebx, dword [edi + 0x18]
jmp 0x100ee487
xor ebx, ebx
push esi
call fcn.100e8a67
pop ecx
jmp 0x100ee4f3
test ecx, ecx
jg 0x100ee45c
jl 0x100ee49a
test eax, eax
jae 0x100ee45c
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100de05d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100ee4ba
cmp byte [edi + 0x1c], 0
je 0x100ee45c
jmp 0x100ee4eb
push ebx
call fcn.100ee288
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100ee45c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100ee4f3
cmp byte [edi + 0x1c], 0
je 0x100ee4f0
mov ebx, dword [edi + 0x18]
jmp 0x100ee4f3
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100de05d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100ee50d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1014e678]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100ee54d
cmp byte [ebx], 0xa
jne 0x100ee54d
or byte [edi + eax + 0x28], 4
jmp 0x100ee552
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100ee651
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100ee634
inc eax
cmp dl, 0xd
je 0x100ee57e
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100ee5a4
cmp eax, ecx
jae 0x100ee5b2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100ee566
jmp 0x100ee651
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100ee62f
cmp dword [ebp - 0x10], 0
je 0x100ee62f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1014e678]
test byte [eax + edi + 0x28], 0x48
je 0x100ee609
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100ee5f4
mov byte [esi], dl
jmp 0x100ee605
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1014e678]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100ee651
cmp byte [ebp - 1], 0xa
jne 0x100ee618
cmp esi, ebx
jne 0x100ee618
mov byte [esi], 0xa
jmp 0x100ee650
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100de05d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100ee651
mov byte [esi], 0xd
jmp 0x100ee650
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1014e678]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100ee64e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100ee651
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100ee65a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1014e678]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100ee6a0
cmp word [ebx], dx
jne 0x100ee6a0
or byte [eax + edi + 0x28], 4
jmp 0x100ee6a5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100ee808
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100ee7e8
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100ee6e6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100ee71c
cmp eax, edx
jae 0x100ee72a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100ee6c1
jmp 0x100ee808
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100ee7e3
cmp dword [ebp - 0x18], 0
je 0x100ee7e3
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1014e678]
test byte [eax + edi + 0x28], 0x48
je 0x100ee7b9
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100ee77d
mov word [esi], cx
jmp 0x100ee7b4
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1014e678]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1014e678]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1014e678]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100ee808
pop eax
cmp word [ebp - 4], ax
jne 0x100ee7c9
cmp esi, ebx
jne 0x100ee7c9
mov word [esi], ax
jmp 0x100ee805
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100de05d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100ee808
push 0xd
pop eax
jmp 0x100ee7c4
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1014e678]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100ee802
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100ee808
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100f090b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100f09a8
push ebx
push esi
call fcn.100f08d4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100ed2d5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f0955
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f09a7
push edi
push eax
call fcn.100e8b3d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100f0975
call fcn.100e8a67
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f09a6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100ed2d5
add esp, 0x20
test eax, eax
jne 0x100f0994
push edi
call fcn.100e8a67
jmp 0x100f099c
push ebx
call fcn.100e8a67
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100f09ab
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100f09bc
pop esi
ret
push ebx
push edi
push esi
call fcn.100f08d4
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100e8b3d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100f09e4
push ebx
push esi
push edi
call fcn.100cdad0
add esp, 0xc
push 0
call fcn.100e8a67
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100f0db4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f09f9

Function at 0x100f35ad
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100e705a
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100f361c
cmp esi, dword [ebp - 4]
je 0x100f3617
cmp dword [ebp + 0xc], 0
je 0x100f3617
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100f35f4
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100f30ff
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100f361e
xor eax, eax
inc eax
jmp 0x100f361e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100f3683
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10146fb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100e705a
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100e705a
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100f36fa
cmp word [ecx], dx
je 0x100f36fa
mov eax, dword [0x10125854]
push edi
dec eax
push eax
push 0x10125740
call fcn.100f3622
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100f376d
cmp word [eax], dx
je 0x100f376d
mov eax, dword [edi]
test eax, eax
je 0x100f371e
cmp word [eax], dx
je 0x100f371e
lea eax, [ebp - 0x10]
push eax
call fcn.100f3005
jmp 0x100f3727
lea eax, [ebp - 0x10]
push eax
call fcn.100f30a0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100f3797
mov eax, dword [0x1012573c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10125430
call fcn.100f3622
add esp, 0xc
test al, al
je 0x100f3797
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100f3762
cmp word [eax], di
je 0x100f3762
lea eax, [ebp - 0x10]
push eax
call fcn.100f3005
pop ecx
jmp 0x100f3799
lea eax, [ebp - 0x10]
push eax
call fcn.100f30a0
jmp 0x100f375f
mov eax, dword [edi]
test eax, eax
je 0x100f3784
cmp word [eax], dx
je 0x100f3784
lea eax, [ebp - 0x10]
push eax
call fcn.100f2fba
pop ecx
jmp 0x100f3797
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100f3862
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100f34a7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100f3862
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100f3862
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100f3862
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100f37ef
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100ea393
test ebx, ebx
je 0x100f385d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100ea393
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100f3862
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100f3862
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100d8488
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100f3864
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b2ecd
leave
ret
Function at 0x100f88f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call fcn.100f8a20
add esp, 8
test al, al
je 0x100f8915
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100f8915
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x100f8a20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x100f8da0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100f8dcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100f8dcb
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x408935
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.0040895e
inc ecx
xor dword [edx], edi
sub ecx, esi
sub esi, 0xee0086d0
inc edx
sub ecx, 1
add esi, 0xa0ced4f0
cmp edx, eax
jne fcn.00408935
ret
Function at 0x100012b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [edx]
push ebx
push esi
mov esi, ecx
mov ebx, 4
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
mov byte [esi + 7], al
movzx eax, byte [edx + 8]
mov byte [esi + 8], al
movzx eax, byte [edx + 9]
mov byte [esi + 9], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0xc], al
lea eax, [esi + 0xd]
mov cl, byte [edx + 0xd]
mov byte [eax], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xf]
mov byte [esi + 0xf], cl
nop word [eax + eax]
mov ch, byte [eax - 1]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov dh, byte [eax + 2]
mov byte [ebp - 4], ch
mov byte [ebp - 3], cl
mov byte [ebp - 1], dl
mov byte [ebp - 2], dh
test bl, 3
jne 0x1000138d
movzx edx, cl
movzx ecx, byte [ebp - 1]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 3], cl
movzx ecx, byte [ebp - 2]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
movzx ecx, byte [ebp - 4]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 2], cl
mov ecx, ebx
shr ecx, 2
mov ch, byte [ecx + 0x1004bcc0]
xor ch, byte [edx + str.cw]
mov dl, byte [ebp - 1]
mov dh, byte [ebp - 2]
mov cl, byte [eax - 0xd]
inc ebx
xor cl, ch
mov byte [eax + 3], cl
mov cl, byte [eax - 0xc]
xor cl, byte [ebp - 3]
mov byte [eax + 4], cl
mov cl, byte [eax - 0xb]
xor cl, dl
mov byte [eax + 5], cl
mov cl, byte [eax - 0xa]
xor cl, dh
mov byte [eax + 6], cl
add eax, 4
cmp ebx, 0x2c
jb 0x10001330
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100015d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], eax
mov esi, ebx
lea edi, [eax + 0xa0]
mov edx, 4
nop dword [eax]
mov ecx, 4
mov al, byte [edi]
inc edi
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x100015f5
sub edx, 1
jne 0x100015f0
mov byte [ebp - 1], 9
nop dword [eax]
movzx eax, byte [ebx + 9]
mov esi, ebx
mov cl, byte [ebx + 0xd]
mov edi, 4
mov byte [ebx + 0xd], al
movzx eax, byte [ebx + 5]
mov byte [ebx + 9], al
movzx eax, byte [ebx + 1]
mov byte [ebx + 5], al
movzx eax, byte [ebx + 0xa]
mov byte [ebx + 1], cl
mov cl, byte [ebx + 2]
mov byte [ebx + 2], al
movzx eax, byte [ebx + 0xe]
mov byte [ebx + 0xa], cl
mov cl, byte [ebx + 6]
mov byte [ebx + 6], al
movzx eax, byte [ebx + 7]
mov byte [ebx + 0xe], cl
mov cl, byte [ebx + 3]
mov byte [ebx + 3], al
movzx eax, byte [ebx + 0xb]
mov byte [ebx + 7], al
movzx eax, byte [ebx + 0xf]
mov byte [ebx + 0xb], al
mov byte [ebx + 0xf], cl
nop word [eax + eax]
mov ecx, esi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + 0x1004bbc0]
mov byte [ecx - 4], al
sub edx, 1
jne 0x10001680
inc esi
sub edi, 1
jne 0x10001670
mov ch, byte [ebp - 1]
mov eax, ebx
movzx edx, ch
mov edi, 4
shl edx, 4
add edx, dword [ebp - 8]
nop dword [eax]
mov esi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x100016b5
sub edi, 1
jne 0x100016b0
test ch, ch
je 0x100016d8
mov ecx, ebx
call fcn.100013d0
dec byte [ebp - 1]
jmp 0x10001610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100016e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
push esi
mov eax, edx
mov esi, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
push edi
test al, 0xf
je 0x10001706
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x10]
call fcn.100012b0
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
mov eax, dword [esp + 8]
movups xmmword [esp + 0xc0], xmm0
test eax, eax
je 0x10001770
dec eax
lea edi, [esp + 0xc0]
shr eax, 4
sub edi, esi
inc eax
mov dword [esp + 8], eax
nop word [eax + eax]
movups xmm0, xmmword [esi]
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100015d0
mov ecx, 0x10
mov al, byte [edi + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x10001753
sub edi, 0x10
sub dword [esp + 8], 1
movups xmmword [esp + 0xc0], xmm0
jne 0x10001740
mov eax, dword [esp + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x10], ecx
push edi
mov edi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea esi, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10002db4
sub edi, esi
mov dword [ebp - 0x14], edi
test ecx, ecx
je 0x10002e7a
mov ebx, ecx
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10002dd0
sub ebx, ecx
lea eax, [ebx + 1]
push eax
push 1
call fcn.10024f58
push ebx
push dword [ebp - 0x10]
mov esi, eax
push esi
mov dword [ebp - 8], esi
call fcn.1001d110
add esp, 0x14
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10002e00
sub esi, ecx
push esi
push 1
call fcn.10024f58
add esp, 8
mov dword [ebp - 0x10], eax
xor ecx, ecx
test esi, esi
je 0x10002e39
mov edx, dword [ebp - 8]
lea edi, [eax - 1]
add edi, esi
mov al, byte [ecx + edx]
lea edi, [edi - 1]
inc ecx
mov byte [edi + 1], al
cmp ecx, esi
jb 0x10002e25
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push esi
mov esi, dword [ebp - 8]
push eax
push esi
call fcn.10024f70
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x10002e57
push eax
call fcn.10024f30
add esp, 4
lea eax, [ebp - 4]
mov edx, ebx
push eax
push 0
mov ecx, esi
call fcn.10001f70
add esp, 8
test eax, eax
je 0x10002e83
test esi, esi
je 0x10002e7a
push esi
call fcn.10024f30
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
inc eax
push eax
push 1
call fcn.10024f58
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
push ecx
push eax
mov edx, ebx
mov ecx, esi
call fcn.10001f70
mov ebx, dword [ebp - 0x10]
xor ecx, ecx
add esp, 0x10
cmp dword [ebp - 4], ecx
jbe 0x10002ec5
mov esi, dword [ebp - 0x18]
mov eax, ecx
xor edx, edx
div edi
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, dword [ebp - 4]
jb 0x10002eb0
mov esi, dword [ebp - 8]
mov ecx, ebx
call fcn.10002d30
mov edi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push 0
mov edx, edi
mov ecx, ebx
call fcn.10001f70
add esp, 8
test eax, eax
je 0x10002f08
test esi, esi
je 0x10002ef2
push esi
call fcn.10024f30
add esp, 4
test ebx, ebx
je 0x10002e7a
push ebx
call fcn.10024f30
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
inc eax
push eax
push 1
call fcn.10024f58
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x18], eax
push ecx
push eax
mov edx, edi
mov ecx, ebx
call fcn.10001f70
add esp, 0x10
test esi, esi
je 0x10002f35
push esi
call fcn.10024f30
add esp, 4
test ebx, ebx
je 0x10002f42
push ebx
call fcn.10024f30
add esp, 4
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100035f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x1000365b
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1004cc50]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1004cc50]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1004cc50]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1004cc50]
sub edi, 1
jne 0x10003604
pop edi
test esi, esi
je 0x1000367a
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1004cc50]
sub esi, 1
jne 0x10003660
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x10006fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0x18]
push 1
push dword [ebp + 0x14]
call fcn.1002836e
add esp, 0x10
pop ebp
ret