joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100096f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1008c0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100097ac
cmp byte [esi + 0x3d], 0
je 0x100097ac
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000979a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10009761
sub eax, 1
je 0x10009765
sub eax, 2
jne 0x1000979a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bfcb
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10009783
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1000979a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bfcb
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bfcb
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1006bfcb
mov esp, ebp
pop ebp
ret
Function at 0x1000d810
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008c0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x1000d923
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000d91c
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1000d8df
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1000d8df
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1000d8df
mov edx, dword [esi]
test edx, edx
jne 0x1000d8a8
push 0x200
push edx
push dword [0x1008eb20]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1000d904
lea edi, [esi + 8]
jmp 0x1000d8d2
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x1000d8d2
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x1008eb20]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1000d936
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000d860
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000d91c
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1000d91c
push eax
push ebx
push dword [0x1008eb20]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006bfcb
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x1000d904

Function at 0x1000d940
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.1000d810
test eax, eax
jne 0x1000d971
mov eax, 9
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x1000d9c2
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1000d9ba
push ebx
nop
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1000d9b3
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.1000d6a0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1000d980
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000da20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x10099430]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000da66
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1000da81
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000dab0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x10099438]
sub esp, 0x10
push esi
xor esi, esi
test ecx, ecx
je 0x1000dadd
mov eax, dword [0x10099430]
add eax, 0x14
nop dword [eax + eax]
test byte [eax], 2
je 0x1000dae4
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1000dad0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1000dadd
push ebx
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000d940
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x1000db9f
mov ecx, dword [0x10099438]
push edi
cmp esi, ecx
jae 0x1000db4a
imul edi, esi, 0x2c
nop word [eax + eax]
mov eax, dword [0x10099430]
test byte [edi + eax + 0x14], 2
jne 0x1000db3f
mov ecx, esi
call fcn.1000da20
mov ebx, eax
test ebx, ebx
jne 0x1000db47
mov ecx, dword [0x10099438]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x1000db20
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000db9c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1000db8d
mov ebx, eax
nop word [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1000db81
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1000db60
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1008eb20]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10023470
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070c5f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1008c0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
cmp byte [0x1008eb88], 0
jne 0x1002368c
mov dword [ebp - 4], 0
mov edi, dword [ebx + 8]
push 0x28
call fcn.1006bfd9
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea esi, [eax + 4]
mov ecx, dword [edi + 1]
add ecx, 5
mov dword [ebp - 0x1c], esi
add ecx, edi
mov byte [ebp - 0x21], 0xe8
mov dword [eax], ecx
mov eax, 0x10023b00
sub eax, edi
mov dword [esi], edi
mov dword [esi + 4], 5
lea ecx, [esi + 0xc]
mov dword [esi + 8], 0
add eax, 0xfffffffb
push 5
mov dword [ebp - 0x20], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10003ce0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
lea ecx, [eax + 5]
mov byte [eax + 4], 0
mov dword [esi + 0x10], ecx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
push 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.10003ce0
mov eax, dword [esi + 0x18]
mov dword [eax], 0
mov byte [eax + 4], 0
add eax, 5
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x21]
push dword [esi + 4]
push eax
push dword [esi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [esi + 4]
push dword [esi]
push dword [esi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0xc
cmp dword [esi + 8], 0
jne 0x100235e1
mov eax, dword [esi + 4]
lea edx, [ebp - 0x28]
mov ecx, dword [esi]
push edx
push 0x40
push eax
push ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call edi
push dword [esi + 4]
mov dword [ebp - 0x2c], eax
push dword [esi + 0xc]
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x100235da
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call edi
mov dword [esi + 8], 1
mov esi, dword [0x10099374]
mov eax, dword [ebp - 0x14]
mov dword [0x10099374], eax
test esi, esi
je 0x10023606
lea ecx, [esi + 4]
call fcn.100018d0
push 0x28
push esi
call fcn.1006c392
add esp, 8
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 8
push esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call edi
mov dword [esi], 0x90909090
mov dword [ebp - 0x2c], eax
mov dword [esi + 4], 0x90909090
test eax, eax
je 0x1002364f
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call edi
cmp byte [0x1008eb7f], 0
jne 0x1002365f
mov byte [0x1008eb7f], 1
mov byte [0x1008eb88], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002af60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x1008c0c0]
xor eax, esp
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], 0x298116
sub ecx, edx
mov dword [esp + 0x2c], 8
mov eax, 0x2aaaaaab
mov dword [esp], ecx
imul ecx
push esi
sar edx, 1
xor esi, esi
mov eax, edx
mov dword [esp + 0x34], 0x1007f83c
shr eax, 0x1f
xor ecx, ecx
add eax, edx
mov dword [esp + 0x38], 0x286923
mov dword [esp + 0x3c], 8
mov dword [esp + 0x40], 0x1007f83c
mov dword [esp + 0x44], 0x99250
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0x1007f848
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
push edi
test eax, eax
je 0x1002b07d
cmp eax, 0x15555555
ja 0x1002b173
lea edi, [eax + eax*2]
shl edi, 2
cmp edi, 0x1000
jb 0x1002b03f
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1002b178
push eax
call fcn.1006bfd9
add esp, 4
test eax, eax
je 0x1002b039
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1002b052
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test edi, edi
je 0x1002b050
push edi
call fcn.1006bfd9
add esp, 4
mov esi, eax
jmp 0x1002b052
xor esi, esi
push dword [esp + 8]
lea eax, [edi + esi]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x24]
add esp, 0xc
lea eax, [eax + eax*2]
lea ecx, [esi + eax*4]
mov dword [esp + 0x10], ecx
cmp esi, ecx
je 0x1002b11a
lea ecx, [esi + 4]
mov dword [esp + 8], ecx
nop dword [eax]
mov eax, dword [esp + 0x2c]
mov edi, dword [ecx - 4]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
add edi, dword [eax]
mov eax, dword [ecx]
lea ecx, [esp + 0x28]
push ecx
push 0x40
push eax
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x24], esi
push dword [eax]
push dword [eax + 4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test esi, esi
je 0x1002b0fe
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
add ecx, 0xc
mov dword [esp + 8], ecx
lea eax, [ecx - 4]
cmp eax, dword [esp + 0x10]
jne 0x1002b090
mov esi, dword [esp + 0xc]
test esi, esi
je 0x1002b162
mov ecx, dword [esp + 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 2
cmp ecx, 0x1000
jb 0x1002b158
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1002b039
mov esi, edx
push ecx
push esi
call fcn.1006c392
add esp, 8
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
call fcn.1006bfcb
mov esp, ebp
pop ebp
ret
call fcn.1002b5d0
call fcn.10001710
int3
Function at 0x10033560
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x10033591
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10032a40
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1003369c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x10033621
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10033692
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1003365b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10033653
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x1003368f
cmp edi, edx
je 0x1003366c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100336a5
cmp edi, edx
jne 0x10033660
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x100335d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1003368f
Function at 0x10034610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072900
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1008c0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
movq xmm1, qword [ebp + 0x24]
mov dword [esi], vtable.Stream.0
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmmword [esi + 0x10], xmm0
push 0x18
movq qword [esi + 0x20], xmm1
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
call fcn.1006bfd9
push 0x18
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
call fcn.1006bfd9
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov ecx, dword [ebp + 0x28]
mov dword [esi + 0x54], eax
cmp ecx, 0xf
jbe 0x10034743
mov edx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10034739
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10034739
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c392
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x24

Function at 0x1003aaa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov edi, 0x14
or eax, 0xffffffff
movzx edx, byte [esi]
lea esi, [esi + 1]
xor eax, edx
mov ecx, eax
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
test dl, 1
cmove eax, ecx
sub edi, 1
jne 0x1003aab0
pop edi
pop esi
not eax
mov esp, ebp
pop ebp
ret
Function at 0x1006a320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x18], eax
jle 0x1006a40a
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea edx, [ecx - 2]
mov dword [ebp - 0x10], edx
lea edx, [ecx + ecx]
neg ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0x14]
add ecx, ecx
sub esi, edx
mov dword [ebp - 0x18], ecx
push edi
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x10]
xor edi, edi
xor ebx, ebx
test ecx, ecx
js 0x1006a3e2
lea eax, [ecx + 1]
lea eax, [edx + eax*2]
mov dword [ebp - 4], eax
movzx eax, word [esi + eax]
mov edx, dword [ebp + 0x10]
sar ebx, 1
movzx edx, byte [ecx + edx + 1]
shl dx, 7
sub ax, dx
movsx esi, ax
mov eax, dword [ebp - 4]
movsx eax, word [eax]
imul esi, eax
mov eax, esi
sar esi, 1
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [ebp + 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 0xc]
shl dx, 7
movzx eax, word [eax + ecx*2]
sub ax, dx
movsx ebx, ax
mov eax, dword [ebp - 4]
movsx eax, word [eax - 2]
imul ebx, eax
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [ebp - 4]
sub eax, 4
sub ecx, 2
mov dword [ebp - 4], eax
jns 0x1006a370
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
add esi, dword [ebp - 0x18]
mov dword [ebp + 0x14], edx
mov dword [ecx + eax*4], edi
inc eax
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 0x10], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 0x18]
jl 0x1006a358
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1006aa13
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1006aa3a
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1006aa3d
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1006a9ef
pop esi
leave
ret 8
Function at 0x10030e90
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10031054
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x10030eba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10030ec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10030eb0
mov eax, 1
add ebx, ebx
jne 0x10030ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10030ec8
jne 0x10030ee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10030ec8
xor ecx, ecx
sub eax, 3
jb 0x10030ef8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10030f6a
mov ebp, eax
add ebx, ebx
jne 0x10030f03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10030f10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10030f34
inc ecx
add ebx, ebx
jne 0x10030f20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10030f15
jne 0x10030f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10030f15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10030f54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10030f45
jmp 0x10030eb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10030f54
add edi, ecx
jmp 0x10030eb6
pop esi
mov edi, esi
mov ecx, 0xcd5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10030f72
cmp byte [edi], 0x11
jne 0x10030f72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10030f77
lea edi, [esi + 0x2d000]
mov eax, dword [edi]
or eax, eax
je 0x10030fe6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3144c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3149c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10030fa4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x314a0]
or eax, eax
je 0x10030fe0
mov dword [ebx], eax
add ebx, 4
jmp 0x10030fc1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10031017
cmp al, 0xef
ja 0x1003100a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10030fec
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10030ff9
mov ebp, dword [esi + 0x314a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1003104b
sub esp, 0xffffff80
jmp 0x100149d4