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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
cmp edi, 0x18
jb 0x10002df1
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 0x10002c0a
mov ebx, edx
add ebx, 0x18
add edi, 0xffffffe8
test eax, eax
jne 0x10002c35
push ebx
mov esi, edi
call fcn.10003fbb
mov dword [esp + 0x14], eax
jmp 0x10002da8
cmp eax, 1
jne 0x10002c57
push ebx
mov esi, edi
call fcn.10003fbb
pop ecx
push dword [eax + 4]
mov dword [esp + 0x14], eax
push dword [eax]
call fcn.10002aae
pop ecx
jmp 0x10002da8
cmp eax, 2
jne 0x10002cea
push edi
call sub.MSVCRT.dll_malloc
pop ecx
push edi
mov esi, eax
push ebx
push esi
mov dword [esp + 0x2c], esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
push esi
call fcn.10002aae
cmp edi, 4
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], eax
jb 0x10002d96
mov ebx, dword [esi + edi - 4]
push ebx
call sub.MSVCRT.dll_malloc
pop ecx
push eax
lea ecx, [esp + 0x30]
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.1000123e
test eax, eax
pop ecx
je 0x10002cd2
push dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
call fcn.10003fbb
pop ecx
mov dword [esp + 0x10], eax
test ebx, ebx
mov eax, dword [esp + 0x14]
je 0x10002d88
mov byte [eax], 0
inc eax
dec ebx
jne 0x10002cde
jmp 0x10002d88
cmp eax, 3
jne 0x10002ded
push edi
call sub.MSVCRT.dll_malloc
pop ecx
push edi
mov esi, eax
push ebx
push esi
mov dword [esp + 0x2c], esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
xor ecx, ecx
test edi, edi
jbe 0x10002d28
xor edx, edx
push 0x14
mov eax, ecx
pop ebx
div ebx
mov eax, dword [ebp + 8]
mov al, byte [edx + eax]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jb 0x10002d11
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
jbe 0x10002d38
or dword [esp + 0x24], 0xffffffff
jmp 0x10002d3c
mov dword [esp + 0x24], eax
cmp edi, 4
jb 0x10002d96
mov ebx, dword [esi + edi - 4]
push ebx
call sub.MSVCRT.dll_malloc
pop ecx
mov dword [esp + 0x14], eax
push eax
mov eax, esi
mov edx, edi
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.100011f6
test eax, eax
pop ecx
je 0x10002d79
push dword [esp + 0x14]
mov esi, dword [esp + 0x20]
call fcn.10003fbb
pop ecx
mov dword [esp + 0x10], eax
test ebx, ebx
mov eax, dword [esp + 0x14]
je 0x10002d88
mov byte [eax], 0
inc eax
dec ebx
jne 0x10002d81
push dword [esp + 0x14]
call sub.MSVCRT.dll_free
mov esi, dword [esp + 0x24]
pop ecx
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
push esi
call sub.MSVCRT.dll_free
cmp dword [esp + 0x14], 0
pop ecx
je 0x10002ded
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
mov eax, dword [ecx + 4]
cdq
push edx
push eax
mov eax, dword [ecx]
call fcn.10003c42
add esp, 0xc
push 0x14
push dword [ebp + 8]
lea eax, [esp + 0x3c]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10002ded
mov esi, dword [esp + 0x10]
call fcn.1000404d
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002e23
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.10004075
push str..cached_part
push dword [eax]
mov dword [ebp - 0xc], eax
call fcn.10004075
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 0x10002e81
mov esi, dword [ebp - 0xc]
call fcn.10004025
mov esi, dword [ebp - 0x10]
call fcn.10004025
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.10004091
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 0x10002f29
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.100042db
add esp, 0x20
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xe
jb 0x10002efc
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.100042db
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.1000404d
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 0x10002e6b
Function at 0x10002f85
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.10004075
pop ecx
pop ecx
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10002fb1
test al, 0x10
je 0x10002fb9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi]
call fcn.10003d4f
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
call fcn.10004025
xor ebx, ebx
cmp edi, ebx
jne 0x10002fd8
xor eax, eax
jmp 0x10003129
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.10004139
add esp, 0x14
add esi, 8
dec dword [ebp - 8]
jne 0x10002fe8
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 0x10003121
jmp 0x10003070
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 0x100030e9
mov edx, dword [ebp - 4]
sub edx, esi
cmp ecx, edx
jg 0x100030e9
mov eax, dword [eax]
push esi
call fcn.1000497a
test eax, eax
pop ecx
je 0x100030e9
mov eax, dword [edi]
add esi, dword [eax + 4]
cmp esi, dword [ebp - 4]
mov edi, esi
jmp 0x100030c7
push 0x100444a0
push edi
call fcn.10004959
test eax, eax
pop ecx
pop ecx
jne 0x100030cc
inc edi
cmp edi, dword [ebp - 4]
mov dword [ebp - 0xc], edi
jne 0x100030b2
mov eax, dword [ebp + 8]
sub edi, esi
push esi
mov esi, dword [eax + ebx*8 + 0x2d8]
call fcn.100040c9
mov esi, dword [ebp - 0xc]
pop ecx
mov dword [ebp - 0xc], 1
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xd
jb 0x10003076
cmp dword [ebp - 0xc], 0
jne 0x100030f9
inc esi
cmp esi, dword [ebp - 4]
je 0x1000311e
push 0x100444a0
push esi
call fcn.10004959
test eax, eax
pop ecx
pop ecx
jne 0x10003115
inc esi
cmp esi, dword [ebp - 4]
jne 0x100030fe
cmp esi, dword [ebp - 4]
jne 0x1000306e
mov edi, dword [ebp - 0x10]
call fcn.10003de3
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003a74
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1005d7b0], 0
push esi
push edi
mov edx, 0xff
jne 0x10003ab3
xor esi, esi
push 8
mov ecx, esi
pop edi
test cl, 1
je 0x10003a9a
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10003a9c
shr ecx, 1
dec edi
jne 0x10003a8b
mov edi, esi
xor edi, edx
inc esi
cmp esi, 0x100
mov dword [edi*4 + 0x1005d7b0], ecx
jb 0x10003a86
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x10003adf
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 + 0x1005d7b0]
xor eax, 0xff000000
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x10003abb
pop edi
pop esi
ret

Function at 0x10003af5
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 0x10003b21
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 0x10003b59
xor edx, edx
cmp edx, 0x14
jae 0x10003b94
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 0x10003beb
cmp edx, 0x28
jae 0x10003bb1
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 0x10003beb
cmp edx, 0x3c
jae 0x10003bd5
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 0x10003beb
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 0x10003b71
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 0x10003c42
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 0x10003ca4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
call fcn.10003af5
add dword [ebp - 8], 0x40
add edi, 0xffffffc0
adc ebx, 0xffffffff
test ebx, ebx
ja 0x10003c89
jb 0x10003ca9
cmp edi, 0x40
jae 0x10003c89
test edi, edi
jbe 0x10003cbd
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 0x10003cec
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.10003af5
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 0x10003d04
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x5c]
call fcn.10003af5
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 0x10003d2e
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003d4f
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.10003a5b
mov ebx, eax
cmp ebx, 0xffffffff
pop ecx
mov dword [ebp - 0xc], ebx
jne 0x10003d6d
xor eax, eax
jmp 0x10003de0
push esi
push edi
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10003dd5
xor esi, esi
cmp dword [ebp - 4], esi
jne 0x10003dd5
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 0x10003dd5
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 0x10003dc2
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
jmp 0x10003ddc
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 0x10003dde
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100048b7
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push edi
push 0
push 0x100445ac
call fcn.10004075
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 0x1000494f
cmp word [edi], 0
push esi
mov esi, edi
je 0x10004947
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
jne 0x10004947
push 0x3d
lea eax, [esi + 2]
call fcn.100049bb
mov dword [esp + 0x18], eax
sub eax, esi
sar eax, 1
cmp eax, ebp
pop ecx
jne 0x1000493a
lea eax, [ebp + ebp]
push eax
push esi
push dword [esp + 0x24]
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x1000493a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 2
push eax
call fcn.1000410e
pop ecx
push esi
call ebx
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x100048f1
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 0x10004c0c
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 0x10004c8e
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.10004075
mov esi, eax
mov eax, dword [esi + 4]
cmp eax, edi
pop ecx
pop ecx
je 0x10004c89
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x10004c89
push 0x5c
call fcn.10004264
pop ecx
mov eax, esi
pop esi
jmp 0x10004c9b
push edi
push 0x100445ac
call fcn.10004075
pop ecx
pop ecx
pop edi
leave
ret

Function at 0x10006b96
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.10003e2f
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
pop esi
call fcn.10003fbb
mov edi, dword [ebp + 8]
push dword [edi]
mov ebx, dword [edi + 4]
mov esi, eax
call fcn.100041f4
mov eax, dword [esi]
mov edx, dword [eax]
pop ecx
pop ecx
push 4
pop ecx
cmp dword [esi + 4], ecx
jbe 0x10006bef
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 0x10006bd2
push dword [esi + 4]
push dword [esi]
call fcn.100047d1
pop ecx
pop ecx
mov ebx, eax
call fcn.1000404d
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.1000404d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006c8e
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.10006c22
pop ecx
mov dword [ebp - 8], eax
or eax, edx
pop ecx
mov dword [ebp - 4], edx
je 0x10006cc1
push 8
or cl, 0xff
lea eax, [ebp - 8]
pop edx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006cb8
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.100042db
add esp, 0x20
push 0x64
pop ecx
lea eax, [ebp - 0x80]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006d31
push 0xe
pop ecx
lea eax, [ebp - 0x18]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006d3d
pop ebx
leave
ret
Function at 0x10006d46
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.10006c22
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.100042db
add esp, 0x50
push 0x64
pop ecx
lea eax, [ebp - 0xb8]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006e9a
push 0x32
pop ecx
lea eax, [ebp - 0x34]
mov byte [eax], bl
inc eax
dec ecx
jne 0x10006ea6
pop ebx
leave
ret
Function at 0x10006eaf
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 0x10006f04
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 0x10006f50
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 0x10006f50
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 0x10006f42
or cl, 0xff
mov eax, esi
mov edx, ebx
xor byte [eax], cl
inc eax
add cl, 0xf3
dec edx
jne 0x10006f39
mov eax, dword [ebp - 0xc]
mov edi, dword [edi]
add esi, ebx
add eax, esi
cmp eax, 0x20
jbe 0x10006f16
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.100047d1
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [esi]
mov eax, 0x100445cc
push dword [ebp + 8]
call fcn.100042db
add esp, 0x28
call fcn.1000404d
add edi, 8
cmp edi, 0x20
jbe 0x10006f61
push 0x20
pop ecx
pop edi
pop esi
lea eax, [ebp - 0x2c]
pop ebx
mov byte [eax], 0
inc eax
dec ecx
jne 0x10006f9e
leave
ret
Function at 0x10006fa7
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.10004091
mov edi, eax
push edi
call fcn.10006eaf
add esp, 0x24
push 0x65
pop eax
mov esi, 0x100445ac
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.10006c8e
lea eax, [ebp - 0x38]
push eax
push 0x23
push 3
push edi
call fcn.10006c8e
lea eax, [ebp - 0x14]
push eax
push 0x23
push 4
push edi
call fcn.10006c8e
push esi
push 0x1a
push 5
push edi
call fcn.10006c8e
add esp, 0x40
push 0x22
pop ecx
lea eax, [ebp - 0x38]
mov byte [eax], bl
inc eax
dec ecx
jne 0x100070a1
push 0x12
pop ecx
lea eax, [ebp - 0x14]
mov byte [eax], bl
inc eax
dec ecx
jne 0x100070ad
push edi
call fcn.10006b96
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret