joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ff39
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [0x100e4064]
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0xc], eax
xor ebx, ebx
mov eax, dword [0x100e4064]
cmp dword [eax + 0xc], 0xffffffff
setne bl
call dword [sym.imp.OLEAUT32.dll_ClearCustData]
push 0x1e
mov ecx, eax
shr eax, 0x10
pop edx
cmp ax, dx
jbe 0x1004fa76
mov al, 1
mov ecx, dword [0x100e4064]
pop esi
mov byte [ecx + 0x14], al
mov eax, ebx
pop ebx
ret
jne 0x1004fa86
mov eax, 0x10a2
cmp cx, ax
jae 0x1003ff73
xor al, al
jmp 0x1003ff75

Function at 0x100413e0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1004141e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10041416
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10041420
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10041406
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100414f0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10041506
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10041521
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1005114a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100439b5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100e3998]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
sub dword [eax + 4], 1
jne 0x100511c7
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100511a9
push ecx
push ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [edi]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov eax, dword [edi]
cmp byte [eax + 0x12], bl
jne 0x100511bf
mov eax, dword [0x100e4064]
push ebx
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x100511c7
mov dword [eax + 8], ebx
mov eax, dword [edi]
mov dword [eax + 0xc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10040f40
mov esp, ebp
pop ebp
ret
Function at 0x1005162c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x100e4064]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x1c], ebx
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi], eax
mov dword [esi + 0x18], ebx
test eax, eax
je 0x10051651
inc dword [eax + 4]
jmp 0x10051676
mov eax, dword [0x100e4064]
push esi
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov word [esi + 0x10], bx
mov byte [esi + 0x12], bl
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], esi
pop esi
pop ebx
ret

Function at 0x10054aa8
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov ecx, dword [esi + 0x98]
mov dword [esi], 0x10003b78
mov dword [esi + 4], 0x10003b44
mov dword [esi + 8], 0x10003b34
mov dword [esi + 0xc], 0x10003ac4
mov dword [esi + 0x2c], 0x10003ab0
mov dword [esi + 0x30], 0x10003a80
mov dword [esi + 0x48], 0x10003a50
mov dword [esi + 0x60], 0x10003a30
mov dword [esi + 0x64], 0x10003a10
mov dword [esi + 0x70], 0x100039f0
mov dword [esi + 0x74], 0x100039dc
mov dword [esi + 0x78], 0x100039c8
mov dword [esi + 0x7c], 0x100039b4
mov dword [esi + 0x90], 0x100039a4
mov dword [esi + 0x94], 0x1000398c
mov dword [esi + 0x10], 1
test ecx, ecx
je 0x10054b3f
sub dword [ecx + 8], 1
jne 0x10054b38
push ecx
call fcn.100dcca4
and dword [esi + 0x98], 0
lock dec dword [0x100e404c]
mov ecx, esi
pop esi
jmp fcn.10054c76
Function at 0x1005ad2e
Capabilities:
Get thread local storage value

Disassembly:
push 0x14
mov eax, 0x10043bd1
call fcn.10041a96
mov edi, ecx
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x94]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x100e4064]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1005adb0
cmp byte [eax + 0x11], bl
je 0x1005adb0
push 0xb0
push 0xa00000
push dword [0x100e4034]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x1005ad93
push esi
mov ecx, eax
call fcn.1005467e
jmp 0x1005ad95
mov eax, ebx
test eax, eax
je 0x1005ada9
push eax
push ebx
push 0x2001
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x1005ae3c
cmp dword [edi + 8], ebx
jle 0x1005ae30
lea eax, [edi + 4]
push ebx
mov ecx, eax
call fcn.1005b044
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1005ae2a
push dword [esi + 0x80]
mov ecx, eax
call fcn.1005a8aa
test al, al
je 0x1005ae2a
push esi
push dword [ebp - 0x14]
mov ecx, edi
call fcn.1005aacc
mov ecx, dword [esi + 0x94]
mov edx, eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp ecx, 5
jne 0x1005ae0c
push dword [esi + 0x80]
mov ecx, dword [ebp - 0x14]
call fcn.10063b6a
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
sub dword [eax], 1
mov eax, dword [eax]
je 0x1005ae30
test edx, edx
js 0x1005ae44
cmp ecx, 4
je 0x1005ae44
mov eax, dword [esi + 0x94]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
inc ebx
cmp ebx, dword [edi + 8]
jl 0x1005adb5
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, edx
call fcn.10041a64
ret 8
neg eax
jmp 0x1005ae35
Function at 0x10064332
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100e3998]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop eax
call fcn.10041b70
mov eax, esp
lea ecx, [ebp - 0x28]
push 0x1c
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100643da
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x48]
lea eax, [edi + 0x2000]
lea esi, [ebx - 1]
not esi
and esi, dword [ebp - 8]
sub esi, ebx
cmp esi, eax
jb 0x100643da
push 0x1c
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100643da
add edi, dword [ebp - 0x1c]
mov eax, 0x1000
test dword [ebp - 0x18], eax
je 0x10064389
test dword [ebp - 0x14], 0x100
mov edi, dword [ebp - 0x28]
je 0x100643b8
xor eax, eax
inc eax
jmp 0x100643dc
cmp esi, edi
jb 0x100643da
push 4
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea eax, [ebp - 0xc]
push eax
push 0x104
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100643dc
xor eax, eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040f40
mov esp, ebp
pop ebp
ret

Function at 0x10068391
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
dec dword [eax + 0x1c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
pop esi
jmp fcn.1005114a
Function at 0x100827dd
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045adc
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100e3998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 0x30]
mov dword [edi], 0x10004748
mov dword [edi + 4], 0x10004720
mov dword [edi + 8], 0x10004710
mov dword [edi + 0xc], 0x100046a0
mov dword [edi + 0x28], 0x10005110
mov dword [edi + 0x2c], 0x1000468c
mov dword [ebx], 0x100050fc
mov dword [edi + 0x34], 0x10004678
call fcn.100896a4
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x1008285b
sub dword [ecx + 8], 1
jne 0x10082857
push ecx
call fcn.100dcca4
and dword [edi + 0x48], 0
lea esi, [edi + 0x11c]
mov dword [edi + 0x114], 0x10002ae0
mov dword [edi + 0x118], 0x10001778
mov dword [esi], 0x10002b34
mov dword [edi + 0x120], 1
lock dec dword [0x100e404c]
lea ecx, [esi + 0x24]
call dword [sym.imp.MSDART.DLL_public:_void___thiscall_CReaderWriterLock3AR::destructor_void_]
mov ecx, esi
call fcn.1005038c
lea ecx, [edi + 0xc4]
mov dword [ecx], 0x10002bf0
mov dword [ecx + 4], 0x10002c3c
mov dword [ecx + 0x3c], 0x10002cf8
mov dword [ecx + 8], 1
lock dec dword [0x100e404c]
call fcn.10096db4
lea ecx, [edi + 0x80]
mov esi, 0x100024e8
mov dword [ecx], esi
call fcn.100dec58
lea ecx, [edi + 0x58]
mov dword [ecx], esi
call fcn.100dec58
and dword [ebp - 4], 0
lea ecx, [edi + 0x4c]
mov dword [edi + 0x4c], 0x10002d08
call fcn.10082a69
mov dword [edi + 0x50], eax
mov dword [ebp - 4], 1
mov ecx, ebx
mov dword [ebx], 0x10001580
mov dword [ebx + 4], 0x1000156c
call fcn.10050686
lea ecx, [edi + 0xc]
call fcn.100504a9
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 0x10099f9c
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], eax
test edi, 0x1000
je 0x10099fc2
or edi, 0x2000
push 2
pop edx
mov ecx, edi
call fcn.100dc684
test eax, eax
jne 0x10099fda
mov eax, 0x800a0bb9
jmp 0x1009a1a2
push ebx
and edi, 0xffff3fff
mov ecx, esi
mov edx, edi
mov ebx, edi
and edx, 0xffffdfff
and ebx, 0x2000
call fcn.100996a8
test eax, eax
jne 0x1009a006
mov eax, 0x800a0c93
jmp 0x1009a1a1
cmp edx, 0xc9
je 0x1009a04b
cmp edx, 0xc8
je 0x1009a04b
cmp edx, 0xca
je 0x1009a043
cmp edx, 0xcb
je 0x1009a043
cmp edx, 0xcd
je 0x1009a03b
cmp edx, 0xcc
je 0x1009a03b
movzx eax, di
jmp 0x1009a054
or ebx, 0x80
jmp 0x1009a051
or ebx, 0x82
jmp 0x1009a051
or ebx, 0x81
movzx eax, bx
mov ecx, dword [ebp - 8]
mov word [esi + 0x50], ax
mov dword [esi + 0x54], ecx
push 0x10
pop edi
cmp ecx, 0xffffffff
je 0x1009a06d
mov eax, ecx
test cl, 0x90
jne 0x1009a0ae
cmp edx, 0xc9
je 0x1009a0a6
cmp edx, 0xcb
je 0x1009a0a6
cmp edx, 0xcd
je 0x1009a0a6
mov eax, ecx
cmp edx, 0xc8
je 0x1009a0ae
cmp edx, 0xca
je 0x1009a0ae
cmp edx, 0xcc
je 0x1009a0ae
mov dword [esi + 0x54], edi
mov eax, edi
jmp 0x1009a0ae
mov eax, 0x80
mov dword [esi + 0x54], eax
cmp ecx, 0xffffffff
jne 0x1009a0b6
push 0x24
pop ecx
mov edx, dword [ebp + 0xc]
or eax, ecx
mov dword [esi + 0x54], eax
and eax, edi
test edx, edx
je 0x1009a0d6
test eax, eax
jne 0x1009a0d6
mov dword [esi + 0x5c], edx
mov word [esi + 0x60], 0xffff
jmp 0x1009a19e
xor edi, edi
inc edi
test eax, eax
jne 0x1009a0e7
mov eax, 0x800a0bb9
jmp 0x1009a1a1
movzx eax, word [esi + 0x50]
mov ebx, 0x2000
mov ecx, eax
and ecx, 0xffffdfff
test ebx, eax
je 0x1009a0fe
mov ecx, ebx
cmp ecx, 0x40
jg 0x1009a14f
je case.0x1009a118.1
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.0x1009a118.15
movzx eax, byte [eax + 0x1009a1d8]
jmp dword [eax*4 + 0x1009a1b0]
mov byte [esi + 0x60], 3
jmp 0x1009a18e
mov byte [esi + 0x60], 5
jmp 0x1009a18e
mov byte [esi + 0x60], 7
jmp 0x1009a18e
mov byte [esi + 0x60], 0xa
jmp 0x1009a18e
mov byte [esi + 0x60], 0xf
jmp 0x1009a18e
mov byte [esi + 0x60], 0x13
jmp 0x1009a18e
mov byte [esi + 0x60], 0x14
jmp 0x1009a18e
mov byte [esi + 0x60], 0x1d
jmp 0x1009a18e
cmp ecx, 0x48
je case.0x1009a118.1
cmp ecx, 0x83
je 0x1009a1aa
cmp ecx, 0x84
jle case.0x1009a118.15
cmp ecx, 0x87
jle case.0x1009a118.1
cmp ecx, ebx
je case.0x1009a118.1
cmp ecx, 0x8000
je case.0x1009a118.1
test edx, edx
jne 0x1009a185
mov dword [ebp - 4], 0x800a0bb9
jmp 0x1009a188
mov dword [esi + 0x5c], edx
xor edi, edi
mov byte [esi + 0x60], 0xff
mov byte [esi + 0x61], 0xff
test edi, edi
je 0x1009a19e
call fcn.100dc42d
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi + 0x60], 0x27
jmp 0x1009a18e
Function at 0x100b7b6f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100e3998]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0xc], esi
inc ecx
mov dword [ebp - 8], esi
cmp ebx, 0xffffff7f
je 0x100b7bc5
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x180], esi
je 0x100b7baf
mov eax, dword [edi + 0x190]
jmp 0x100b7bc3
push ecx
lea eax, [ebp - 8]
push eax
push ecx
mov ecx, edi
call fcn.100b6c1a
test eax, eax
js 0x100b7bc5
mov eax, dword [ebp - 8]
mov dword [eax], ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
test bl, bl
jne 0x100b7bd7
mov word [edi + 0x23c], ax
jmp 0x100b7bde
mov word [edi + 0x23e], ax
mov ecx, edi
call fcn.100966cf
test al, al
jne 0x100b7c3b
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
xor ecx, ecx
mov esi, eax
cmp dword [ebp + 8], 0xffffff7f
push 1
push 1
setne cl
push ebx
push ecx
lea ecx, [edi + 0x17c]
call fcn.100967e1
test esi, esi
jne 0x100b7c39
push dword [ebp - 8]
xor ecx, ecx
push ecx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
xor esi, esi
cmp dword [ebp - 0xc], 0
jne 0x100b7cda
test bl, bl
jne 0x100b7c52
cmp word [edi + 0x23c], si
jmp 0x100b7c59
cmp word [edi + 0x23e], si
jne 0x100b7c6d
cmp word [edi + 0x23c], si
je 0x100b7cc6
cmp word [edi + 0x23e], si
je 0x100b7cc6
mov eax, dword [0x100e4064]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100b7cc6
mov eax, dword [0x100e4064]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 8], esi
je 0x100b7cc6
mov eax, dword [0x100e4064]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100e52dc]
call esi
mov eax, dword [0x100e4064]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ecx, ecx
mov dword [eax + 8], ecx
mov ecx, edi
test bl, bl
jne 0x100b7cd3
call fcn.100bc277
jmp 0x100b7ce2
call fcn.100bc1a2
jmp 0x100b7ce2
xor eax, eax
mov dword [edi + 0x23c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10040f40
mov esp, ebp
pop ebp
ret 8
Function at 0x100cb9c7
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045adc
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100e3998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x48]
lea edi, [esi + 0x2c]
mov dword [esi], 0x100051c4
mov dword [esi + 4], 0x100051a0
mov dword [esi + 8], 0x10005190
mov dword [esi + 0xc], 0x10005120
mov dword [esi + 0x28], 0x10005110
mov dword [edi], 0x100050fc
mov dword [esi + 0x30], 0x10004678
mov dword [esi + 0x44], 0x100050c4
test ecx, ecx
je 0x100cba40
sub dword [ecx + 8], 1
jne 0x100cba3c
push ecx
call fcn.100dcca4
and dword [esi + 0x48], 0
test byte [esi + 0x6c], 2
je 0x100cba53
push dword [esi + 0x68]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi + 0x68], 0
and dword [ebp - 4], 0
lea ecx, [esi + 0x4c]
mov dword [esi + 0x4c], 0x1000347c
call fcn.100cbacb
mov dword [esi + 0x50], eax
mov dword [ebp - 4], 1
mov ecx, edi
mov dword [edi], 0x10001580
mov dword [edi + 4], 0x1000156c
call fcn.10050686
lea ecx, [esi + 0xc]
call fcn.100504a9
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 0x100d600c
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004399a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100e3998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], 0x10005250
mov dword [esi + 4], 0x10005ca0
mov dword [esi + 8], 0x10005ce4
mov dword [esi + 0xc], 0x100056ec
mov dword [esi + 0x28], 0x1000595c
mov dword [esi + 0x2c], 0x10005948
mov dword [esi + 0x30], 0x10005b28
mov dword [esi + 0x34], 0x100055f0
mov dword [esi + 0x10], 1
call fcn.100843e3
lock dec dword [0x100e404c]
mov ecx, esi
call fcn.100827dd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100d61c0
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004399a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100e3998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], 0x10005d24
mov dword [esi + 4], 0x10005800
mov dword [esi + 8], 0x10005e78
mov dword [esi + 0xc], 0x10005790
mov dword [esi + 0x28], 0x10005a00
mov dword [esi + 0x2c], 0x10005c78
mov dword [esi + 0x30], 0x10005db8
mov dword [esi + 0x34], 0x10005c8c
mov dword [esi + fcn.100d84a0], 0x100055e4
mov dword [esi + 0x10], 1
call fcn.100843e3
lock dec dword [0x100e404c]
mov ecx, esi
call fcn.100827dd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100d6252
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov ecx, dword [esi + 0x98]
mov dword [esi], 0x10005438
mov dword [esi + 4], 0x10005af4
mov dword [esi + 8], 0x10005780
mov dword [esi + 0xc], 0x10005e9c
mov dword [esi + 0x2c], 0x1000596c
mov dword [esi + 0x30], 0x10005a1c
mov dword [esi + 0x48], 0x100056bc
mov dword [esi + 0x60], 0x10005f30
mov dword [esi + 0x64], 0x10005a58
mov dword [esi + 0x70], 0x10005634
mov dword [esi + 0x74], 0x10005e88
mov dword [esi + 0x78], 0x100055d0
mov dword [esi + 0x7c], 0x1000575c
mov dword [esi + 0x90], 0x10005980
mov dword [esi + 0x94], 0x10005da0
mov dword [esi + 0x418], 0x10005e6c
mov dword [esi + 0x10], 1
test ecx, ecx
je 0x100d62f3
sub dword [ecx + 8], 1
jne 0x100d62ec
push ecx
call fcn.100dcca4
and dword [esi + 0x98], 0
lock dec dword [0x100e404c]
mov ecx, esi
pop esi
jmp fcn.10054c76

Function at 0x100d7781
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e3998]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
xor ebx, ebx
mov dword [ebp - 0x228], 0x10e
lea eax, [ebp - 0x114]
mov byte [ebp - 0x114], bl
push eax
push ebx
push 2
push edx
push ebx
push ecx
mov dword [esi], ebx
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x100d77d1
xor eax, eax
jmp 0x100d7800
lea ecx, [ebp - 0x224]
call fcn.100d693f
test eax, eax
je 0x100d77fd
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
neg eax
pop ecx
sbb eax, eax
inc eax
pop ecx
mov dword [esi], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10040f40
mov esp, ebp
pop ebp
ret

Function at 0x100d8b4f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e3998]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d8b6a
sub ecx, edx
cmp ecx, 3
jae 0x100d8b7f
xor eax, eax
jmp 0x100d8c11
mov al, byte [esi]
push ebx
xor ebx, ebx
push edi
cmp al, 0x2e
je 0x100d8bb6
cmp al, 0x5c
je 0x100d8bf0
cmp al, 0x2f
je 0x100d8bf0
cmp byte [esi + 1], 0x3a
je 0x100d8bf0
lea eax, [ebp - 0x118]
mov edi, 0x10e
push eax
lea eax, [ebp - 0x114]
push eax
push edi
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
jmp 0x100d8bd1
lea eax, [ebp - 0x118]
mov edi, 0x10e
push eax
lea eax, [ebp - 0x114]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x100d8c0d
cmp eax, edi
jae 0x100d8c0d
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
mov byte [ebp - 7], bl
push eax
push edi
push esi
call dword [sym.imp.msvcrt.dll_strncpy_s]
add esp, 0x10
mov bl, byte [esi + 3]
push esi
mov byte [esi + 3], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor ecx, ecx
mov byte [esi + 3], bl
cmp eax, 3
sete cl
mov eax, ecx
jmp 0x100d8c0f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10040f40
mov esp, ebp
pop ebp
ret
Function at 0x100dd94d
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
xor edi, edi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x100dd95d
sub edx, esi
sar edx, 1
jne 0x100dd975
mov eax, 0x80004005
jmp 0x100dd98a
cmp dword [ecx + 0x14], edi
je 0x100dd97f
call fcn.100dd7ae
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100dd9b8
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 4
push dword [ebp + 8]
lea ecx, [ebp - 8]
xor esi, esi
call fcn.100507f5
push esi
lea ecx, [ebp - 8]
call fcn.10050839
test eax, eax
jne 0x100dd9e3
mov esi, 0x80030103
jmp 0x100dda16
push esi
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__waccess]
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
je 0x100dda16
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x100dda16
test eax, eax
jg 0x100dda0d
mov esi, eax
jmp 0x100dda16
movzx esi, ax
or esi, 0x80070000
test byte [ebp - 4], 2
je 0x100dda25
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40181c
Capabilities:
Hash data using murmur3

Disassembly:
ror ecx, 0x10
mov dword [ebp - 0x74], ecx
pop ebx
pop esi
pop edi
ret
push edi
push esi
push ebx
mov ebx, dword [ebp - 0x60]
test ebx, ebx
rol ebx, 0xf
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x20]
test ebx, eax
ror eax, 0x11
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x200000
rol ecx, 0xd
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x24]
test edi, eax
rol eax, 0xc
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x800000
ror ecx, 0x15
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x2c]
test edi, eax
rol eax, 0x12
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x8000000
ror ecx, 0x19
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x38]
test esi, eax
ror eax, 0xc
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x1000
ror ecx, 0xa
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
test esi, eax
rol eax, 0xf
cmp ecx, eax
jne 0x4018d4
jmp 0x401990
xor ecx, eax
xor esi, esi
mov edx, 0xff
ror edx, 8
jmp 0x401a00
cmp ecx, esi
je 0x401990
mov ecx, esi
jmp 0x401808
inc ecx
jmp 0x401808
mov edi, eax
and edi, edx
cmp edi, edx
jne 0x40197c
shl ecx, 8
shl eax, 8
jmp 0x401a00