joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100810f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], 0x1019b6b0
mov dword [ecx + 0xc], 0
movaps xmm0, xmmword [0x101a0f80]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
sub esp, 0x10
cmp dword [esi + 0xc], eax
je 0x10081172
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0xc]
inc eax
cmp eax, 2
jb 0x10081156
call fcn.10065990
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.100849b0
mov dword [esi + 0xc], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x10081166
mov dword [esi + 0xc], edi
call fcn.10065990
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
sub esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10082270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x244
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
je 0x10082402
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
test eax, eax
je 0x100822c1
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
test eax, eax
jne 0x100822c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0
cmp eax, 6
je 0x10082405
mov dword [ebp - 0x244], 0xffffffff
mov dword [ebp - 0x24c], 0x1019b9bc
mov byte [ebp - 0x244], 0
mov dword [ebp - 0x14], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x248], eax
nop word cs:[eax + eax]
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.10149430
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
cmp byte [ebp - 0x244], 0
je 0x10082340
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x248]
call sub.KERNEL32.dll_Process32NextW
jmp 0x10082359
mov byte [ebp - 0x244], 1
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x248]
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x250], 0
test eax, eax
je 0x100823af
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1008238d
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
lea eax, [ebp - 0x240]
push eax
call esi
test al, al
je 0x10082300
lea eax, [ebp - 0x240]
test eax, eax
je 0x100823af
cmp dword [ebp - 0x238], edi
jne 0x10082300
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0x1019b9bc
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x101c1e84]
bt edx, ecx
jae 0x100823e7
push eax
call fcn.10069280
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, dword [ebp - 0x250]
add esp, 0x244
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
Function at 0x10082410
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x1028
call fcn.10146cc0
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x1020], eax
mov eax, dword [0x101bfba8]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10082580
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x101bfba4]
mov eax, 0x1000
cmp dword [ecx], 2
jg 0x10082485
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov eax, 0x400
lea ecx, [edi + 1]
cmp ecx, 1
ja 0x10082491
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov eax, edi
inc eax
cmp eax, 2
jae 0x100824a7
mov byte [esi + 0xb], 0
mov word [esi], 0
jmp 0x10082548
lea ebx, [esp + 0x1e]
push 0x1002
push 0
push ebx
call fcn.10149430
add esp, 0xc
push 0x800
push ebx
push edi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
push ebx
call fcn.10163aa4
add esp, 4
lea edi, [esp + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.10060680
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov ebx, esp
push ebx
push edi
call fcn.1007ec60
add esp, 8
movzx eax, byte [esp + 0xb]
test al, al
jns 0x1008252f
mov ebx, dword [esp]
mov eax, dword [esp + 4]
push eax
push ebx
push esi
call fcn.10078b90
add esp, 0xc
cmp byte [esp + 0xb], 0
js 0x10082560
cmp byte [esp + 0x1b], 0
js 0x10082572
mov ecx, dword [esp + 0x1020]
xor ecx, ebp
call fcn.101465a3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp]
call fcn.10145bd4
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x10082548
push dword [esp + 0x10]
call fcn.10145bd4
add esp, 4
jmp 0x10082548
push 0x101bfba8
call fcn.10145c47
add esp, 4
cmp dword [0x101bfba8], 0xffffffff
jne 0x10082452
call fcn.10084a20
mov dword [0x101bfba4], eax
push 0x101bfba8
call fcn.10145cbd
add esp, 4
jmp 0x10082452

Function at 0x100825c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x10082610
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x100825fa
call fcn.10065990
push dword [esi]
call fcn.100849b0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x10082609
mov dword [esi], ebx
call fcn.10065990
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x10082627
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
Function at 0x10082630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x10082651
call fcn.10065990
mov dword [esi], 0
test edi, edi
je 0x10082675
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x100826ac
cmp ebx, 2
jae 0x100826cc
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x100826a0
call fcn.10065990
push dword [edi]
call fcn.100849b0
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.10065990
push dword [esi]
call fcn.100849b0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x1008266e
mov dword [esi], edi
mov edi, eax
call fcn.10065990
mov eax, edi
jmp 0x1008266e

Function at 0x100826e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [eax], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x10082702
cmp dword [esi], edi
jne 0x1008270b
jmp 0x10082725
call fcn.10065990
cmp dword [esi], edi
je 0x10082725
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x1008275c
cmp ebx, 2
jae 0x1008277c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
mov byte [edi + 4], 0
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x10082750
call fcn.10065990
push dword [edi]
call fcn.100849b0
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.10065990
push dword [esi]
call fcn.100849b0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
cmp ebx, 2
jb 0x1008271e
mov dword [esi], edi
mov edi, eax
call fcn.10065990
mov eax, edi
jmp 0x1008271e
Function at 0x100828c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x100828e6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x100828e8
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x10082908
cmp byte [ebp + 0xc], 0
je 0x10082958
cmp byte [esi + 4], 0
je 0x1008294a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1008294c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x1008291c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1008291e
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10082935
xor ebx, ebx
jmp 0x10082a02
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x100829a6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x100829a8
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x10082968
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
jmp 0x1008296a
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x10082991
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
jne 0x10082991
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, 0
cmp ecx, 6
je 0x10082a18
mov ecx, dword [0x101bee40]
mov bl, 1
test ecx, ecx
je 0x10082a02
push edi
push eax
call fcn.1005f5c0
jmp 0x10082a02
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x100829ba
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x100829ca
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
jmp 0x100829cc
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x100829ef
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
jne 0x100829ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, 0
cmp ecx, 6
je 0x10082a1b
mov ecx, dword [0x101bee40]
test ecx, ecx
je 0x10082a00
push edi
push eax
call fcn.1005f5c0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3
int3
Function at 0x10083dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, edx
mov ebx, ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x10083e2a
mov eax, dword [0x101bac64]
cmp eax, 0xffffffff
jne 0x10083e10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x101bac64
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x10083e1b
mov eax, dword [0x101bac64]
mov ebx, 0x100000
test eax, eax
jne 0x10083e2a
jmp 0x10083e25
mov dword [0x101bac64], 0
mov ebx, 0x80000
push 0x10
call fcn.10145ba4
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x101c1e84]
bt ecx, eax
mov dword [ebp - 0x24], ebx
jae 0x10083e5a
push edi
call fcn.10069180
add esp, 4
jmp 0x10083e66
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
mov dword [esi], edi
mov ebx, dword [ebp + 8]
test ebx, ebx
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push 0
push 0x10000
push esi
push 0x10084320
mov ebx, dword [ebp - 0x24]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test eax, eax
je 0x10083eae
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10083f44
mov dword [ebx], edi
jmp 0x10083f4b
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x10083f64
mov edi, eax
cmp eax, 0x5af
je 0x10083f64
cmp edi, 0xe
je 0x10083f64
mov eax, dword [0x101bfb98]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10083f6a
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.10073d20
add esp, 8
cmp byte [ebp - 0x11], 0
jns 0x10083f11
push dword [ebp - 0x1c]
call fcn.10145bd4
add esp, 4
test esi, esi
mov edi, dword [ebp - 0x20]
je 0x10083f4b
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x101c1e84]
bt edx, ecx
jae 0x10083f39
push eax
call fcn.10069280
add esp, 4
push esi
call fcn.10145bd4
add esp, 4
jmp 0x10083f4b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
call fcn.10090cd0
push 0x101bfb98
call fcn.10145c47
add esp, 4
cmp dword [0x101bfb98], 0xffffffff
jne 0x10083ef3
push 0x101bfb98
call fcn.10145cbd
add esp, 4
jmp 0x10083ef3
Function at 0x10084690
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.10146cc0
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.10149430
add esp, 0xc
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
push eax
push ebx
push ecx
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x10084834
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x1008473f
mov edi, 0x3f4
cmp eax, 1
jne 0x10084834
push ebx
call fcn.10163aa4
add esp, 4
movzx ecx, byte [esi + 0xb]
test cl, cl
js 0x100847a8
mov edi, esi
cmp eax, 4
jbe 0x100847d0
mov edx, 4
jmp 0x100847b8
lea esi, [ebp - 0x1010]
push 0x800
push 0xff
push esi
call fcn.10149430
add esp, 0xc
push 0x400
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x10084834
push esi
call fcn.10163aa4
add esp, 4
mov ebx, eax
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0xb]
test al, al
js 0x10084809
mov edi, esi
cmp ebx, 4
jbe 0x1008484f
mov edx, 4
jmp 0x10084819
mov edx, 0x7fffffff
and edx, dword [esi + 8]
dec edx
cmp edx, eax
jae 0x100847ce
mov ecx, dword [esi + 4]
mov dword [ebp - 0x101c], ecx
mov edi, eax
sub edi, edx
mov ecx, esi
push ebx
push eax
mov eax, dword [ebp - 0x101c]
jmp 0x10084827
mov edi, dword [esi]
lea ecx, [eax + eax]
push ecx
push ebx
push edi
mov ebx, eax
call fcn.10148eb0
add esp, 0xc
cmp byte [esi + 0xb], 0
js 0x100847fc
cmp ebx, 5
jae 0x10084884
mov eax, ebx
mov byte [esi + 0xb], al
mov word [edi + ebx*2], 0
jmp 0x10084832
mov dword [esi + 4], ebx
mov eax, ebx
mov word [edi + ebx*2], 0
jmp 0x10084832
mov edx, 0x7fffffff
and edx, dword [esi + 8]
dec edx
cmp edx, ebx
jae 0x1008484d
mov eax, dword [esi + 4]
mov edi, ebx
sub edi, edx
mov ecx, esi
lea esi, [ebp - 0x1010]
push esi
push ebx
push eax
push 0
push eax
push edi
push edx
call fcn.100569b6
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, dword [esi]
lea eax, [ebx + ebx]
push eax
lea eax, [ebp - 0x1010]
push eax
push edi
call fcn.10148eb0
add esp, 0xc
cmp byte [esi + 0xb], 0
js 0x10084879
cmp ebx, 5
jae 0x10084887
mov byte [esi + 0xb], bl
mov word [edi + ebx*2], 0
jmp 0x10084832
mov dword [esi + 4], ebx
mov word [edi + ebx*2], 0
jmp 0x10084832
int3
int3
Function at 0x10085c10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x6c], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov edi, esp
push 0x5a
push str....._base_system_sys_info_win.cc
push str.AmountOfFreeDiskSpace
push edi
call fcn.10065960
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push 0
push edi
call fcn.100bcef0
test byte [0x101bacd0], 0x19
jne 0x10085d15
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
cmp byte [esi + 0xb], 0
jns 0x10085cae
mov esi, dword [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10085ce3
mov eax, dword [esp + 4]
cmp eax, 0x7fffffff
mov esi, 0x7fffffff
cmovb esi, eax
mov edi, 0xffffffff
test eax, eax
js 0x10085ced
mov edi, dword [esp]
jmp 0x10085ced
mov edi, 0xffffffff
mov esi, 0xffffffff
test byte [0x101bacd0], 0x19
jne 0x10085d4d
lea ecx, [esp + 0x20]
call fcn.100bd420
mov ecx, dword [esp + 0x6c]
xor ecx, ebp
call fcn.101465a3
mov eax, edi
mov edx, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
sub esp, 8
movq xmm0, qword [esp + 0x20]
movq qword [esp], xmm0
lea edx, [esp + 0x18]
mov ecx, str.ScopedBlockingCall
call fcn.10079ed0
add esp, 8
jmp 0x10085c77
mov dword [esp + 4], 0
mov dword [esp], 0
sub esp, 0x18
movq xmm0, qword [esp + 0x18]
movq qword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x10178420
mov dword [esp + 8], 0x1019dfb6
mov dword [esp + 4], 0x101bacd0
mov dword [esp], 0x45
call fcn.1003beb0
add esp, 0x18
jmp 0x10085cf6
Function at 0x10085da0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101bfbd8]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10085e98
mov eax, dword [ebp + 8]
movzx ecx, word [0x101bfbb4]
cmp ecx, 0xc
ja case.0x10085dd7.1
jmp dword [ecx*4 + 0x101a1ae4]
mov byte [eax + 0xb], 3
cmp eax, 0x101a0b60
ja 0x10085df8
lea ecx, [eax + 3]
cmp ecx, 0x101a0b60
ja 0x10085eea
movzx ecx, byte [0x101a0b62]
mov byte [eax + 2], cl
movzx ecx, word [0x101a0b60]
mov word [eax], cx
mov byte [eax + 3], 0
pop ebp
ret
mov byte [eax + 0xb], 6
cmp eax, str.x86_64
ja 0x10085e2c
lea ecx, [eax + 6]
cmp ecx, str.x86_64
ja 0x10085eed
movzx ecx, word [0x1019dac6]
mov word [eax + 4], cx
mov ecx, dword [str.x86_64]
mov dword [eax], ecx
mov byte [eax + 6], 0
pop ebp
ret
mov byte [eax + 0xb], 4
cmp eax, str.ia64
ja 0x10085e5f
lea ecx, [eax + 4]
cmp ecx, str.ia64
ja 0x10085ef0
mov dword [eax], 0x34366169
mov byte [eax + 4], 0
pop ebp
ret
mov byte [eax + 0xb], 5
cmp eax, str.arm64
ja 0x10085e81
lea ecx, [eax + 5]
cmp ecx, str.arm64
ja 0x10085ef3
mov dword [eax], 0x366d7261
mov word [eax + 4], 0x34
pop ebp
ret
mov byte [eax + 0xb], 0
mov byte [eax], 0
pop ebp
ret
push 0x101bfbd8
call fcn.10145c47
add esp, 4
cmp dword [0x101bfbd8], 0xffffffff
jne 0x10085dc4
xorps xmm0, xmm0
movups xmmword [0x101bfbc4], xmm0
movups xmmword [0x101bfbb4], xmm0
mov dword [0x101bfbd4], 0
push 0x101bfbb4
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x101bfbd8
call fcn.10145cbd
add esp, 4
jmp 0x10085dc4
int3
int3
int3
int3
Function at 0x10086820
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x40], eax
movsd xmm1, qword [0x101bfc08]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x1008699c
jp 0x1008699c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x101bfc18]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100869c1
mov eax, dword [0x101bfc28]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100869fa
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea ebx, [esp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x101bfc20]
sbb edi, dword [0x101bfc24]
movd xmm0, edi
movd xmm1, esi
punpckldq xmm1, xmm0
movq qword [esp + 0x28], xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
fild qword [esp + 0x38]
fstp qword [esp + 0x30]
divsd xmm0, qword [esp + 0x30]
pxor xmm1, xmm1
movsd xmm2, qword [0x101a1b48]
ucomisd xmm2, xmm0
ja 0x1008699c
mov eax, dword [esp + 8]
sub eax, dword [0x101bfc10]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x101bfc14]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x101a1b20]
subpd xmm2, xmmword [0x101a1b30]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x101bfc08], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x40]
xor ecx, ebp
call fcn.101465a3
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101bfc18
call fcn.10145c47
add esp, 4
cmp dword [0x101bfc18], 0xffffffff
jne 0x10086892
rdtsc
mov dword [0x101bfc10], eax
mov dword [0x101bfc14], edx
push 0x101bfc18
call fcn.10145cbd
add esp, 4
jmp 0x10086892
push 0x101bfc28
call fcn.10145c47
add esp, 4
cmp dword [0x101bfc28], 0xffffffff
jne 0x100868b3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [0x101bfc24], ecx
mov dword [0x101bfc20], eax
push 0x101bfc28
call fcn.10145cbd
add esp, 4
jmp 0x100868b3
Function at 0x1008e546
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov edi, edx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
js 0x1008e574
mov word [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x1008e582
mov eax, dword [ecx]
mov word [eax], 0
mov dword [ecx + 4], 0
test esi, esi
je 0x1008e698
xor ecx, ecx
lea edx, [ebp - 0x228]
mov dword [edx], ecx
lea eax, [ebp - 0x20]
mov dword [eax], ecx
push eax
push edx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008e698
mov dword [ebp - 0x234], esi
mov eax, dword [ebp - 0x228]
movzx esi, word [eax]
movzx ebx, word [eax + 2]
mov word [ebp - 0x20], si
mov word [ebp - 0x1e], bx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], bx
mov word [ebp - 0x18], si
mov si, 0x4e4
mov word [ebp - 0x16], si
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], si
mov ebx, 0xfffffffe
push 0x208
push 0xff
lea eax, [ebp - 0x228]
push eax
call fcn.10149430
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x1008e619
mov eax, dword [edi]
movzx ecx, word [ebp + ebx*2 - 0x1c]
movzx edx, word [ebp + ebx*2 - 0x1a]
push eax
push edx
push ecx
push 0x101a3218
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x228]
push esi
call fcn.1007db00
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push dword [ebp - 0x234]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008e677
mov esi, dword [ebp - 0x22c]
test esi, esi
jne 0x1008e685
add ebx, 2
cmp ebx, 5
jbe 0x1008e5f6
jmp 0x1008e698
push esi
call fcn.10163aa4
add esp, 4
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.10056e90
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101465a3
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100927d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x100927df
pop ebp
jmp fcn.100922b0
cmp dword [ebp + 0x10], 0
jne 0x100927f9
push 0
push 0
push 0x100d63a0
push 0x101ce654
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
xor eax, eax
pop ebp
ret