joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100483a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x554
mov eax, dword [0x10269114]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x548], 0
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x538], 0
jmp 0x100483e2
mov eax, dword [ebp - 0x538]
add eax, 1
mov dword [ebp - 0x538], eax
cmp dword [ebp - 0x538], 0x10
jge 0x10048600
mov dword [ebp - 0x53c], 0
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x5c
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0x13], 0x68
mov byte [ebp - 0x12], 0x79
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x44
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x76
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x25
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0x538]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.10033ac0
add esp, 0xc
push 0
push 0
push 3
push 0
push 7
push 0xc0000000
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x53c], eax
cmp dword [ebp - 0x53c], 0xffffffff
je 0x100485fb
mov dword [ebp - 0x54c], 0
xor edx, edx
mov dword [ebp - 0x530], edx
mov dword [ebp - 0x52c], edx
mov dword [ebp - 0x528], edx
mov dword [ebp - 0x524], edx
mov dword [ebp - 0x520], edx
mov dword [ebp - 0x51c], edx
push 0
lea eax, [ebp - 0x54c]
push eax
push 0x18
lea ecx, [ebp - 0x530]
push ecx
push 0
push 0
push 0x74080
mov edx, dword [ebp - 0x53c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100485fb
mov dword [ebp - 0x544], 0x221
mov eax, dword [ebp - 0x544]
push eax
call fcn.10052e92
add esp, 4
mov dword [ebp - 0x540], eax
mov ecx, dword [ebp - 0x540]
mov byte [ecx + 0xa], 0xec
mov dword [ebp - 0x550], 0
push 0
lea edx, [ebp - 0x550]
push edx
mov eax, dword [ebp - 0x544]
push eax
mov ecx, dword [ebp - 0x540]
push ecx
push 0x21
mov edx, dword [ebp - 0x540]
push edx
push 0x7c088
mov eax, dword [ebp - 0x53c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100485df
mov ecx, dword [ebp - 0x540]
add ecx, 0x10
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x534], 0
jmp 0x10048593
mov edx, dword [ebp - 0x534]
add edx, 1
mov dword [ebp - 0x534], edx
cmp dword [ebp - 0x534], 0x100
jge 0x100485be
mov eax, dword [ebp - 0x534]
mov ecx, dword [ebp - 0x554]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x534]
mov dword [ebp + eax*4 - 0x518], edx
jmp 0x10048584
mov ecx, dword [ebp + 8]
push ecx
push 0x13
push 0xa
lea edx, [ebp - 0x518]
push edx
call fcn.10047f20
add esp, 0x10
mov dword [ebp - 0x548], 1
mov eax, dword [ebp - 0x53c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x540]
push ecx
call fcn.1005171d
add esp, 4
jmp 0x100483d3
mov eax, dword [ebp - 0x548]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100499a5
mov esp, ebp
pop ebp
ret
Function at 0x10048bc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x10269114]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x79], 0
push 0x64
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.1004e550
add esp, 0xc
mov byte [ebp - 0x14], 0x57
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x32
mov byte [ebp - 0xf], 0x5f
mov byte [ebp - 0xe], 0x42
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x73
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x42
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], 0
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.10048cb0
add esp, 8
mov byte [ebp - 0x79], al
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x10048c9f
lea ecx, [ebp - 0x78]
push ecx
call fcn.100492f0
add esp, 4
movzx edx, al
test edx, edx
je 0x10048c9f
lea eax, [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x80]
mov al, byte [edx]
mov byte [ebp - 0x7a], al
add dword [ebp - 0x80], 1
cmp byte [ebp - 0x7a], 0
jne 0x10048c67
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004dfd0
add esp, 0xc
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100499a5
mov esp, ebp
pop ebp
ret
Function at 0x100629b9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101e2abc
push 0x101e2ab4
push str.FlsAlloc
push 0x1e
call fcn.100627e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100629ed
push dword [ebp + 8]
mov ecx, esi
call dword [0x101da434]
call esi
jmp 0x100629f3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10062a37
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x101e2acc
push 0x101e2ac4
push str.FlsGetValue
push 0x20
call fcn.100627e6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10062a6e
push dword [ebp + 8]
mov ecx, esi
call dword [0x101da434]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1006424d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100640be

Function at 0x100646f9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1004a620
mov eax, dword [0x10269114]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100630f1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1006473b
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10064897
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1004a570
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1026f3a0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10065706
mov ecx, dword [esi*4 + 0x1026f3a0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x10064890
cmp eax, dword [edi + ecx + 0x24]
jne 0x10064890
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10064890
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10065706
add esp, 0x14
test edx, edx
jl 0x10064890
jg 0x10064806
test eax, eax
jb 0x10064890
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10064890
jl 0x10064820
cmp dword [ebp - 0x1008], eax
ja 0x10064890
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1006483e
test ebx, ebx
je 0x10064877
cmp ecx, edi
jae 0x10064877
mov al, byte [ecx]
cmp al, 0xd
jne 0x10064858
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10064864
cmp byte [ecx + 1], 0xa
jne 0x10064864
inc ecx
jmp 0x10064864
movzx eax, al
movsx eax, byte [eax + 0x102693a8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1006483e
cmp edx, ebx
jne 0x1006483e
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10064895
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100499a5
leave
ret
Function at 0x10064bbe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x1026f3a0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10064bfe
cmp byte [ebx], 0xa
jne 0x10064bfe
or byte [eax + edi + 0x28], 4
jmp 0x10064c03
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10064d01
mov al, byte [edx]
cmp al, 0x1a
je 0x10064ce3
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10064c32
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x10064c57
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10064c61
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10064c14
jmp 0x10064d01
push 0
lea eax, [ebp - 0xc]
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 0x10064cde
cmp dword [ebp - 0xc], 0
je 0x10064cde
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x1026f3a0]
test byte [eax + edi + 0x28], 0x48
je 0x10064cb8
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10064ca3
mov byte [esi], dl
jmp 0x10064cb4
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1026f3a0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10064d01
cmp byte [ebp - 1], 0xa
jne 0x10064cc7
cmp esi, ebx
jne 0x10064cc7
mov byte [esi], 0xa
jmp 0x10064d00
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10065724
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10064d01
mov byte [esi], 0xd
jmp 0x10064d00
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x1026f3a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10064cfd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10064d01
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10064d0a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x1026f3a0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10064d4d
cmp word [esi], dx
jne 0x10064d4d
or byte [edi + eax + 0x28], 4
jmp 0x10064d52
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x10064e8b
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x10064e6b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x10064d94
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10064dca
cmp eax, edx
jae 0x10064dd6
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10064d6c
jmp 0x10064e8b
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10064e67
cmp dword [ebp - 0x14], 0
je 0x10064e67
mov eax, dword [ebx*4 + 0x1026f3a0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x10064e3f
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x10064e85
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x1026f3a0]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x1026f3a0]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x1026f3a0]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x10064e88
pop ebx
cmp word [ebp - 4], bx
jne 0x10064e50
cmp esi, dword [ebp + 0xc]
jne 0x10064e50
mov word [esi], bx
jmp 0x10064e88
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10065724
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10064e8b
push 0xd
jmp 0x10064e84
mov ecx, dword [ebx*4 + 0x1026f3a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10064e82
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10064e8b
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1006b98a
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 0x1006ba27
push ebx
push esi
call fcn.1006b953
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.1006973b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1006b9d4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006ba26
push edi
push eax
call fcn.10065903
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1006b9f4
call fcn.100624ae
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1006ba25
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1006973b
add esp, 0x20
test eax, eax
jne 0x1006ba13
push edi
call fcn.100624ae
jmp 0x1006ba1b
push ebx
call fcn.100624ae
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 0x1006ba2a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1006ba3b
pop esi
ret
push ebx
push edi
push esi
call fcn.1006b953
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10065903
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1006ba63
push ebx
push esi
push edi
call fcn.1004dfd0
add esp, 0xc
push 0
call fcn.100624ae
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1006c1af
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006bcd6
Function at 0x10072eb2
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]
push dword [ebp + 0xc]
push ebx
call fcn.10072e2e
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1007302a
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1007302a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10072fd9
jg 0x10072f0b
test eax, eax
je 0x10072fcf
push 1
push 0x1000
call fcn.100624e8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10072f31
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10072fc6
push 0x8000
push ebx
call fcn.10072d5f
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10072f5d
jg 0x10072f58
cmp ecx, 0x1000
jb 0x10072f5d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10063ebe
add esp, 0x10
cmp eax, 0xffffffff
je 0x10072fa2
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 0x10072f58
jl 0x10072f89
test ecx, ecx
jne 0x10072f4a
push dword [ebp - 0xc]
push ebx
call fcn.10072d5f
push esi
call fcn.100624ae
add esp, 0xc
xor edi, edi
jmp 0x1007303b
cmp byte [edi + 0x24], 0
je 0x10072fb9
cmp dword [edi + 0x20], 5
jne 0x10072fb9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10072fc4
mov edi, dword [edi + 0x18]
jmp 0x10072fc6
xor edi, edi
push esi
call fcn.100624ae
pop ecx
jmp 0x1007303b
test ecx, ecx
jg 0x10072f9b
jl 0x10072fd9
test eax, eax
jae 0x10072f9b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10065724
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10072ffc
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10072f9b
jmp 0x10073033
push ebx
call fcn.1006ec93
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10072f9b
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1007303b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10073038
mov edi, dword [edi + 0x18]
jmp 0x1007303b
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10065724
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10084610
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x10084637
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x10084626
pop edi
movzx eax, dl
pop esi
ret
Function at 0x100b8ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1004a620
mov eax, dword [0x10269114]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x100b91b5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100b9145
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.100b8a20
mov ebx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x100b90e0
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x100b919c
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 6], dl
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100499a5
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100499a5
add esp, 0x28
ret
Function at 0x100bce30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.1004a620
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
je 0x100bce79
mov ecx, dword [esp + 0x30]
nop dword [eax]
test esi, esi
je 0x100bce79
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x10], edi
jne 0x100bce60
mov edx, dword [esp + 0x2c]
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x24], ecx
cmp esi, 0x10
jb 0x100bcf4a
nop dword [eax]
mov eax, esi
mov edx, ecx
shr eax, 4
xor edi, edi
add ecx, eax
cmp ecx, eax
cmovae edi, ecx
neg edx
mov dword [esp + 0x24], edi
cmp ecx, eax
mov edi, dword [esp + 0x2c]
push edi
push dword [esp + 0x2c]
cmovae edx, eax
push edx
push ebx
push ebp
mov dword [esp + 0x28], edx
call dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add esp, 0x14
mov eax, edx
mov byte [edi + 0xf], dl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [edi + 0xe], al
test edx, edx
jne 0x100bcf26
mov edx, 0xc
mov eax, 1
nop
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x100bcf10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ecx, edx
shl eax, 4
sub esi, eax
add ebx, eax
add ebp, eax
cmp esi, 0x10
jae 0x100bceb0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
test esi, esi
je 0x100bcfb8
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
push edx
push dword [esp + 0x2c]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
test ecx, ecx
jne 0x100bcf99
push edx
call fcn.100bd000
add esp, 4
mov eax, dword [esp + 0x30]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x100bcfa6
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret