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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
cmp edi, 0x18
jb 0x10002db5
and dword [esp + 0x10], eax
xor ecx, ecx
mov edx, dword [ebp + 8]
add eax, dword [ecx + edx]
add ecx, 4
cmp ecx, 0x14
jle 0x10002bc8
mov esi, edx
add esi, 0x18
add edi, 0xffffffe8
test eax, eax
jne 0x10002bf3
push esi
mov esi, edi
call fcn.10003f7f
mov dword [esp + 0x14], eax
jmp 0x10002d73
cmp eax, 1
jne 0x10002c15
push esi
mov esi, edi
call fcn.10003f7f
pop ecx
push dword [eax + 4]
mov dword [esp + 0x14], eax
push dword [eax]
call fcn.10002a6c
pop ecx
jmp 0x10002d73
cmp eax, 2
jne 0x10002cbe
push edi
call sub.MSVCRT.dll_malloc
pop ecx
push edi
mov ebx, eax
push esi
push ebx
mov dword [esp + 0x24], ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
push ebx
call fcn.10002a6c
push 0
mov edx, edi
mov eax, ebx
lea esi, [esp + 0x34]
call fcn.100011f6
add esp, 0xc
test eax, eax
je 0x10002ca6
mov ebx, dword [esp + 0x28]
push ebx
call sub.MSVCRT.dll_malloc
pop ecx
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esp + 0x1c]
mov edx, edi
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.100011f6
test eax, eax
pop ecx
je 0x10002c8d
push dword [esp + 0x14]
mov esi, dword [esp + 0x20]
call fcn.10003f7f
pop ecx
mov dword [esp + 0x10], eax
test ebx, ebx
mov eax, dword [esp + 0x14]
je 0x10002c9c
mov byte [eax], 0
inc eax
dec ebx
jne 0x10002c95
push dword [esp + 0x14]
call sub.MSVCRT.dll_free
pop ecx
push edi
push 0
push dword [esp + 0x20]
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [esp + 0x18]
jmp 0x10002d6e
cmp eax, 3
jne 0x10002db1
push edi
call sub.MSVCRT.dll_malloc
pop ecx
push edi
mov ebx, eax
push esi
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
xor ecx, ecx
test edi, edi
jbe 0x10002cf8
xor edx, edx
push 0x14
mov eax, ecx
pop esi
div esi
mov eax, dword [ebp + 8]
mov al, byte [edx + eax]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, edi
jb 0x10002ce1
push 0
mov edx, edi
mov eax, ebx
lea esi, [esp + 0x28]
call fcn.100011f6
test eax, eax
pop ecx
je 0x10002d61
mov esi, dword [esp + 0x24]
push esi
call sub.MSVCRT.dll_malloc
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
push eax
mov edx, edi
mov eax, ebx
lea esi, [esp + 0x24]
call fcn.100011f6
test eax, eax
pop ecx
je 0x10002d44
push dword [esp + 0x18]
mov esi, dword [esp + 0x24]
call fcn.10003f7f
pop ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov eax, dword [esp + 0x18]
je 0x10002d57
mov byte [eax], 0
inc eax
dec ecx
jne 0x10002d50
push dword [esp + 0x18]
call sub.MSVCRT.dll_free
pop ecx
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
call sub.MSVCRT.dll_free
mov esi, dword [esp + 0x14]
test esi, esi
pop ecx
je 0x10002db1
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 4]
cdq
push edx
push eax
mov eax, dword [esi]
call fcn.10003c06
add esp, 0xc
push 0x14
push dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10002db1
call fcn.10004011
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002de7
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
push str..cached_header
push dword [ebp + 8]
call fcn.10004039
push str..cached_part
push dword [eax]
mov dword [ebp - 0xc], eax
call fcn.10004039
add esp, 0x10
xor edi, edi
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [eax]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x10002e45
mov esi, dword [ebp - 0xc]
call fcn.10003fe9
mov esi, dword [ebp - 0x10]
call fcn.10003fe9
mov eax, edi
pop edi
pop esi
leave
ret
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x100441e1
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x48], 0xe
mov dword [ebp - 0x44], 0x18
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x3c], 0x14
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x34], 0xd
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], 0x15
mov dword [ebp - 0x28], 0x1c
mov dword [ebp - 0x24], 0x1d
mov dword [ebp - 0x20], 0x1e
mov dword [ebp - 0x1c], 0x1f
mov dword [ebp - 0x18], 0x20
call fcn.10004055
add esp, 0x20
mov esi, eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x4c]
mov ecx, dword [ebx + eax*8 + 0x2d8]
cmp dword [ecx + 4], edi
je 0x10002eed
mov eax, dword [ebx + eax*8 + 0x2d4]
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ecx]
push esi
call fcn.1000429f
add esp, 0x20
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xe
jb 0x10002ec0
mov eax, dword [ebx + 0x180]
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push esi
call fcn.1000429f
add esp, 0x20
push edi
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
call fcn.10004011
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
push 9
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor edi, edi
inc edi
jmp 0x10002e2f
Function at 0x10002f49
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push str..cached_header
push dword [ebp + 0xc]
call fcn.10004039
pop ecx
pop ecx
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10002f75
test al, 0x10
je 0x10002f7d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi]
call fcn.10003d13
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
call fcn.10003fe9
xor ebx, ebx
cmp edi, ebx
jne 0x10002f9c
xor eax, eax
jmp 0x100030ed
mov esi, dword [ebp + 8]
add esi, 0x2d8
mov dword [ebp - 8], 0x21
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100040fd
add esp, 0x14
add esi, 8
dec dword [ebp - 8]
jne 0x10002fac
mov esi, dword [edi]
mov eax, dword [edi + 4]
add eax, esi
cmp esi, eax
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x38], 0x16
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x28], 0x15
mov dword [ebp - 0x24], 0x1c
mov dword [ebp - 0x20], 0x1d
mov dword [ebp - 0x1c], 0x1e
mov dword [ebp - 0x18], 0x1f
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 4], eax
je 0x100030e5
jmp 0x10003034
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp + 8]
lea edi, [eax + ebx*8 + 0x2d4]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100030ad
mov edx, dword [ebp - 4]
sub edx, esi
cmp ecx, edx
jg 0x100030ad
mov eax, dword [eax]
push esi
call fcn.1000493e
test eax, eax
pop ecx
je 0x100030ad
mov eax, dword [edi]
add esi, dword [eax + 4]
cmp esi, dword [ebp - 4]
mov edi, esi
jmp 0x1000308b
push 0x100444a8
push edi
call fcn.1000491d
test eax, eax
pop ecx
pop ecx
jne 0x10003090
inc edi
cmp edi, dword [ebp - 4]
mov dword [ebp - 0xc], edi
jne 0x10003076
mov eax, dword [ebp + 8]
sub edi, esi
push esi
mov esi, dword [eax + ebx*8 + 0x2d8]
call fcn.1000408d
mov esi, dword [ebp - 0xc]
pop ecx
mov dword [ebp - 0xc], 1
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xd
jb 0x1000303a
cmp dword [ebp - 0xc], 0
jne 0x100030bd
inc esi
cmp esi, dword [ebp - 4]
je 0x100030e2
push 0x100444a8
push esi
call fcn.1000491d
test eax, eax
pop ecx
pop ecx
jne 0x100030d9
inc esi
cmp esi, dword [ebp - 4]
jne 0x100030c2
cmp esi, dword [ebp - 4]
jne 0x10003032
mov edi, dword [ebp - 0x10]
call fcn.10003da7
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1005d490], 0
push esi
push edi
mov edx, 0xff
jne 0x10003a77
xor esi, esi
push 8
mov ecx, esi
pop edi
test cl, 1
je 0x10003a5e
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10003a60
shr ecx, 1
dec edi
jne 0x10003a4f
mov edi, esi
xor edi, edx
inc esi
cmp esi, 0x100
mov dword [edi*4 + 0x1005d490], ecx
jb 0x10003a4a
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x10003aa3
mov esi, dword [esp + 0xc]
movzx esi, byte [ecx + esi]
mov edi, eax
and edi, edx
shr eax, 8
xor esi, edi
xor eax, dword [esi*4 + 0x1005d490]
xor eax, 0xff000000
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x10003a7f
pop edi
pop esi
ret

Function at 0x10003ab9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov ecx, dword [eax]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 8]
push ebx
push esi
mov esi, dword [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0xc]
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
add edi, 2
movzx ebx, byte [edi]
xor edx, edx
mov dh, byte [edi - 2]
add edi, 4
mov dl, byte [edi - 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi - 3]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
mov dword [ebp + ebx*4 - 0x150], edx
jb 0x10003ae5
push 0x40
lea edx, [ebp - 0x148]
pop edi
mov ebx, dword [edx + 0x2c]
xor ebx, dword [edx + 0x18]
xor ebx, dword [edx - 8]
xor ebx, dword [edx]
add edx, 4
dec edi
rol ebx, 1
mov dword [edx + 0x34], ebx
jne 0x10003b1d
xor edx, edx
cmp edx, 0x14
jae 0x10003b58
mov ebx, dword [ebp - 4]
mov edi, esi
not edi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x5a827999]
jmp 0x10003baf
cmp edx, 0x28
jae 0x10003b75
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x6ed9eba1]
jmp 0x10003baf
cmp edx, 0x3c
jae 0x10003b99
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
or edi, esi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x70e44324]
jmp 0x10003baf
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x359d3e2a]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
ror esi, 2
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov ebx, esi
rol ebx, 5
inc edx
add edi, ebx
cmp edx, 0x50
mov dword [ebp - 0x10], edi
jb 0x10003b35
mov edx, dword [eax]
add edx, edi
mov dword [eax], edx
mov edx, dword [eax + 4]
add edx, esi
mov esi, dword [ebp - 4]
mov dword [eax + 4], edx
mov edx, dword [eax + 8]
add edx, esi
mov esi, dword [ebp - 8]
mov dword [eax + 8], edx
mov edx, dword [eax + 0xc]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
pop edi
add edx, ecx
pop esi
mov dword [eax + 0x10], edx
pop ebx
leave
ret
Function at 0x10003c06
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
mov esi, edi
mov eax, ebx
shld eax, esi, 3
shl esi, 3
test ebx, ebx
mov dword [ebp - 0x1c], 0x67452301
mov dword [ebp - 0x18], 0xefcdab89
mov dword [ebp - 0x14], 0x98badcfe
mov dword [ebp - 0x10], 0x10325476
mov dword [ebp - 0xc], 0xc3d2e1f0
mov dword [ebp + 0xc], eax
jbe 0x10003c68
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
call fcn.10003ab9
add dword [ebp - 8], 0x40
add edi, 0xffffffc0
adc ebx, 0xffffffff
test ebx, ebx
ja 0x10003c4d
jb 0x10003c6d
cmp edi, 0x40
jae 0x10003c4d
test edi, edi
jbe 0x10003c81
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x5c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [edi + 1]
cmp eax, 0x38
mov byte [ebp + edi - 0x5c], 0x80
jbe 0x10003cb0
push 0x40
pop ecx
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x5c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x5c]
call fcn.10003ab9
xor eax, eax
push 0x38
pop ecx
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x5c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x38
pop eax
mov ecx, dword [ebp + 0xc]
shr ecx, 0x18
mov byte [ebp + eax - 0x5c], cl
mov ecx, dword [ebp + 0xc]
shld ecx, esi, 8
inc eax
shl esi, 8
cmp eax, 0x40
mov dword [ebp + 0xc], ecx
jb 0x10003cc8
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x5c]
call fcn.10003ab9
xor eax, eax
mov ecx, eax
and ecx, 0xfffffffc
mov edx, eax
and edx, 3
sub ecx, edx
mov cl, byte [ebp + ecx - 0x19]
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], cl
inc eax
cmp eax, 0x14
jb 0x10003cf2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003d13
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push dword [ebp + 8]
call fcn.10003a1f
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
mov dword [ebp - 0xc], ebx
jne 0x10003d31
xor eax, eax
jmp 0x10003da4
push esi
push edi
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10003d99
xor esi, esi
cmp dword [ebp - 4], esi
jne 0x10003d99
push esi
push esi
push esi
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x10], edi
je 0x10003d99
mov eax, dword [ebp - 8]
push esi
push esi
push esi
push 4
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x10003d86
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
jmp 0x10003da0
push 0x10
call sub.MSVCRT.dll_malloc
lea esi, [ebp - 0x18]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
jmp 0x10003da2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000487b
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
push 0
push 0x100441e4
call fcn.10004039
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ecx
pop ecx
push dword [esp + 0x18]
mov dword [esp + 0x10], eax
call ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x10004913
cmp word [edi], 0
push esi
mov esi, edi
je 0x1000490b
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
jne 0x1000490b
push 0x3d
lea eax, [esi + 2]
call fcn.1000497f
mov dword [esp + 0x18], eax
sub eax, esi
sar eax, 1
cmp eax, ebp
pop ecx
jne 0x100048fe
lea eax, [ebp + ebp]
push eax
push esi
push dword [esp + 0x24]
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100048fe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 2
push eax
call fcn.100040d2
pop ecx
push esi
call ebx
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x100048b5
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x10004bd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x206]
push edi
push eax
mov word [ebp - 0x208], di
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10004c52
push esi
push 0x104
lea eax, [ebp - 0x208]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.10004039
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, edi
pop ecx
pop ecx
je 0x10004c4d
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10004c4d
push 0x5c
call fcn.10004228
pop ecx
mov eax, esi
pop esi
jmp 0x10004c5f
push edi
push 0x100441e4
call fcn.10004039
pop ecx
pop ecx
pop edi
leave
ret

Function at 0x10006af7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
call fcn.10003df3
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
pop esi
call fcn.10003f7f
mov edi, dword [ebp + 8]
push dword [edi]
mov ebx, dword [edi + 4]
mov esi, eax
call fcn.100041b8
mov eax, dword [esi]
mov edx, dword [eax]
pop ecx
pop ecx
push 4
pop ecx
cmp dword [esi + 4], ecx
jbe 0x10006b50
mov eax, dword [esi]
imul edx, edx, 0x3279092d
add edx, 0x54d794f
add eax, ecx
mov ebx, edx
shr ebx, 0x18
xor byte [eax], bl
inc ecx
cmp ecx, dword [esi + 4]
jb 0x10006b33
push dword [esi + 4]
push dword [esi]
call fcn.10004795
pop ecx
pop ecx
mov ebx, eax
call fcn.10004011
mov ecx, dword [ebx + 4]
mov eax, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [edi]
mov dword [edi], ecx
mov esi, ebx
mov dword [ebx], eax
call fcn.10004011
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006bef
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10006b83
pop ecx
mov dword [ebp - 8], eax
or eax, edx
pop ecx
mov dword [ebp - 4], edx
je 0x10006c22
push 8
or cl, 0xff
lea eax, [ebp - 8]
pop edx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006c19
push dword [ebp - 8]
movzx eax, byte [ebp + 0xc]
push dword [ebp - 4]
xor ebx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 0x18], 0x2d
mov byte [ebp - 0x17], 0x25
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0x32
mov byte [ebp - 0x14], 0x58
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x30
mov byte [ebp - 0x11], 0x38
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x25
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x38
mov byte [ebp - 0xc], 0x58
mov byte [ebp - 0xb], bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x80]
call fcn.1000429f
add esp, 0x20
push 0x64
pop ecx
lea eax, [ebp - 0x80]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006c92
push 0xe
pop ecx
lea eax, [ebp - 0x18]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006c9e
pop ebx
leave
ret
Function at 0x10006ca7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10006b83
pop ecx
mov dword [ebp - 0x3c], eax
pop ecx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push dword [ebp - 0x3c]
movzx eax, word [ebp - 0x3e]
push dword [ebp - 0x38]
xor ebx, ebx
push eax
movzx eax, word [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x46]
push eax
movzx eax, word [ebp - 0x4a]
push eax
movzx eax, word [ebp - 0x4c]
push eax
movzx eax, byte [ebp + 0xc]
mov byte [ebp - 0x34], 0x20
mov byte [ebp - 0x33], 0x25
mov byte [ebp - 0x32], 0x30
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x64
mov byte [ebp - 0x2f], 0x5f
mov byte [ebp - 0x2e], 0x25
mov byte [ebp - 0x2d], 0x30
mov byte [ebp - 0x2c], 0x34
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x25
mov byte [ebp - 0x28], 0x30
mov byte [ebp - 0x27], 0x32
mov byte [ebp - 0x26], 0x64
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x25
mov byte [ebp - 0x23], 0x30
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x5f
mov byte [ebp - 0x1f], 0x25
mov byte [ebp - 0x1e], 0x30
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x64
mov byte [ebp - 0x1b], 0x2e
mov byte [ebp - 0x1a], 0x25
mov byte [ebp - 0x19], 0x30
mov byte [ebp - 0x18], 0x32
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x25
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x32
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0x10], 0x25
mov byte [ebp - 0xf], 0x30
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x5f
mov byte [ebp - 0xb], 0x25
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x58
mov byte [ebp - 7], 0x25
mov byte [ebp - 6], 0x30
mov byte [ebp - 5], 0x38
mov byte [ebp - 4], 0x58
mov byte [ebp - 3], bl
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xb8]
call fcn.1000429f
add esp, 0x50
push 0x64
pop ecx
lea eax, [ebp - 0xb8]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006dfb
push 0x32
pop ecx
lea eax, [ebp - 0x34]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006e07
pop ebx
leave
ret
Function at 0x10006e10
Capabilities:
Encode data using xor
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 8
pop ebx
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, 0x288
push eax
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_malloc
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 4], eax
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10006e65
push dword [ebp - 4]
call sub.MSVCRT.dll_free
push dword [ebp - 8]
call sub.MSVCRT.dll_malloc
pop ecx
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 4], eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x10006eb1
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xc], ebx
mov eax, esi
sub dword [ebp - 0xc], eax
test edi, edi
je 0x10006eb1
push ebx
lea eax, [edi + 0x194]
push eax
push esi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
add esp, 0xc
or eax, dword [esi + 4]
je 0x10006ea3
or cl, 0xff
mov eax, esi
mov edx, ebx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006e9a
mov eax, dword [ebp - 0xc]
mov edi, dword [edi]
add esi, ebx
add eax, esi
cmp eax, 0x20
jbe 0x10006e77
push dword [ebp - 4]
call sub.MSVCRT.dll_free
mov edi, ebx
lea ebx, [ebp - 0x2c]
pop ecx
sub ebx, 8
lea eax, [ebx + edi]
push 8
push eax
call fcn.10004795
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [esi]
mov eax, 0x100445d0
push dword [ebp + 8]
call fcn.1000429f
add esp, 0x28
call fcn.10004011
add edi, 8
cmp edi, 0x20
jbe 0x10006ec2
push 0x20
pop ecx
pop edi
pop esi
lea eax, [ebp - 0x2c]
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10006eff
leave
ret
Function at 0x10006f08
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.0002
call fcn.10004055
mov edi, eax
push edi
call fcn.10006e10
add esp, 0x24
push 0x65
pop eax
mov esi, 0x100441e4
push esi
push 0x28
push 2
push edi
mov word [ebp - 0x38], 0x4d
mov word [ebp - 0x36], 0x69
mov word [ebp - 0x34], 0x63
mov word [ebp - 0x32], 0x72
mov word [ebp - 0x30], 0x6f
mov word [ebp - 0x2e], 0x73
mov word [ebp - 0x2c], 0x6f
mov word [ebp - 0x2a], 0x66
mov word [ebp - 0x28], 0x74
mov word [ebp - 0x26], 0x5c
mov word [ebp - 0x24], 0x53
mov word [ebp - 0x22], ax
mov word [ebp - 0x20], 0x61
mov word [ebp - 0x1e], 0x72
mov word [ebp - 0x1c], 0x63
mov word [ebp - 0x1a], 0x68
mov word [ebp - 0x18], bx
mov word [ebp - 0x14], 0x47
mov word [ebp - 0x12], 0x61
mov word [ebp - 0x10], 0x6d
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], 0x74
mov word [ebp - 0xa], 0x72
mov word [ebp - 8], ax
mov word [ebp - 6], ax
mov word [ebp - 4], bx
call fcn.10006bef
lea eax, [ebp - 0x38]
push eax
push 0x23
push 3
push edi
call fcn.10006bef
lea eax, [ebp - 0x14]
push eax
push 0x23
push 4
push edi
call fcn.10006bef
push esi
push 0x1a
push 5
push edi
call fcn.10006bef
add esp, 0x40
push 0x22
pop ecx
lea eax, [ebp - 0x38]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10007002
push 0x12
pop ecx
lea eax, [ebp - 0x14]
mov byte [eax], bl
inc eax
dec ecx
jne 0x1000700e
push edi
call fcn.10006af7
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret