joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005f0c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1015c0e8]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1005f0eb
mov ecx, 0x1015c0e0
pop ebp
jmp fcn.10037ce0
push 0x1015c0e8
call fcn.100c1ca7
add esp, 4
cmp dword [0x1015c0e8], 0xffffffff
jne 0x1005f0e0
xor eax, eax
mov dword [0x1015c0e4], eax
mov dword [0x1015c0e0], eax
mov ecx, 0x1015c0e0
push eax
call fcn.10037d80
push 0x1015c0e8
call fcn.100c1d1d
add esp, 4
jmp 0x1005f0e0

Function at 0x1005f5a0
Capabilities:
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ecx + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1005f70c
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], edi
mov edi, dword [edi + 0x18]
test edi, edi
je 0x1005f6d7
imul eax, dword [ebp + 8], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, ecx, 0x5bd1e995
xor eax, 0x6f47a654
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x14]
and ecx, 0xf0f0f0f
imul ecx, ecx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
jbe 0x1005f702
mov edx, ebx
cmp ebx, edi
jb 0x1005f654
mov eax, ebx
xor edx, edx
div edi
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1005f6d7
mov esi, dword [eax]
test esi, esi
je 0x1005f6d7
lea eax, [edi - 1]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x1005f67d
mov eax, dword [ebp + 8]
cmp dword [esi + 8], eax
je 0x1005f6a2
jmp 0x1005f69a
cmp ecx, 1
mov dword [ebp - 0x24], edx
jbe 0x1005f723
cmp eax, edi
jb 0x1005f693
xor edx, edx
div edi
mov eax, edx
mov edx, dword [ebp - 0x24]
cmp eax, edx
jne 0x1005f6d7
mov esi, dword [esi]
test esi, esi
jne 0x1005f66c
jmp 0x1005f6d7
lea edi, [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
push esi
push edi
call fcn.100594a0
mov esi, dword [edi]
mov dword [edi], 0
test esi, esi
je 0x1005f6d7
cmp byte [ebp - 0x14], 0
je 0x1005f6ce
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1005f6ce
lock dec dword [eax + 4]
je 0x1005f718
push esi
call fcn.100c1c31
add esp, 4
xor ebx, ebx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
setne bl
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea edx, [edi - 1]
and edx, ebx
jmp 0x1005f654
mov ecx, esi
call fcn.10084100
jmp 0x1005f5c7
push eax
call fcn.10080a70
add esp, 4
jmp 0x1005f6ce
and eax, dword [ebp - 0x28]
jmp 0x1005f693
Function at 0x1005fcc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x10146014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x1005fcf0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x1005fdf0
push 0
push eax
push 0x1005fca0
push 0x1015c130
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1005fdeb
cmp dword [0x1015c134], 0
jne 0x1005fcdc
push dword [0x1015c138]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1005fcdc
mov esi, eax
mov eax, 0x1015c13c
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x1015c140]
mov ebx, dword [0x1015c144]
mov eax, dword [0x1015c148]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1015c14c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1015c150]
mov dword [ebp - 0x24], eax
mov eax, 0x1015c13c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x1005fd84
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [section..00cfg]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x1005fd99
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1005fdaf
mov edi, dword [esi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x1005fdc8
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x1005fddd
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.100a66c0
add esp, 4
jmp 0x1005fcdc
call fcn.100d5450
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1015c138], eax
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x1015c134], ecx
pop ebp
ret
Function at 0x1005fe10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x1005fdf0
push 0
push eax
push 0x1005fca0
push 0x1015c130
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1005fee3
mov esi, dword [ebp + 0xc]
cmp dword [0x1015c134], 0
jne 0x1005fef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x1015c138]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x1005fea6
push 0x14
call fcn.100a6690
add esp, 4
test eax, eax
je 0x1005fef1
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
push eax
push dword [0x1015c138]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1005fee8
mov ebx, dword [ebp + 8]
mov esi, 0x1015c13c
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebp + 0x10]
mov dword [ebx*4 + 0x1015c140], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100d5450
push edi
call fcn.100a66c0
add esp, 4
mov ecx, dword [ebp + 0x10]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor esi, esi
jmp 0x1005fecf
Function at 0x100620f0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
xor eax, eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x100621ed
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov edi, eax
cmp dword [ebp - 0x10], 7
jb 0x10062218
mov eax, 7
xor ecx, ecx
cpuid
and ebx, 0x20
shr cl, 3
and cl, 1
mov dword [ebp - 0x10], ecx
mov dword [esi], edi
mov eax, edi
and eax, 0xf
mov dword [esi + 8], eax
shr edi, 0xc
and edi, 3
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0x18]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0xc], al
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [esi + 0xd], al
shr ecx, 0x1a
and cl, 1
mov byte [esi + 0xe], cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
and al, 1
mov byte [esi + 0xf], al
mov eax, ecx
shr eax, 9
and al, 1
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x13
and al, 1
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 0x14
and al, 1
mov byte [esi + 0x12], al
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [esi + 0x13], al
mov eax, ecx
shr eax, 0x1f
mov byte [esi + 0x1a], al
mov eax, ecx
not eax
test eax, 0x1c000000
jne 0x10062226
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [esi + 0x14], al
mov edx, dword [ebp - 0x14]
mov ecx, edx
shr ecx, 0x19
and cl, 1
mov byte [esi + 0x17], cl
shr edx, 0xc
and dl, 1
mov byte [esi + 0x15], dl
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [esi + 0x16], cl
mov eax, dword [ebp - 0x10]
mov byte [esi + 0x18], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000006
jle 0x1006222a
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov byte [esi + 0x19], dh
test dh, dh
je 0x1006222f
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
xor ebx, ebx
jmp 0x1006213a
xor eax, eax
jmp 0x100621be
mov dh, byte [esi + 0x19]
jmp 0x1006220c
cmp byte [esi + 0x1a], 0
je 0x10062210
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp ebx, 0x7263694d
jne 0x10062210
cmp ecx, 0x666f736f
jne 0x10062210
cmp edx, 0x76482074
jne 0x10062210
mov byte [esi + 0x19], 1
jmp 0x10062210

Function at 0x100624f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x1015c230]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1006255a
mov ecx, 0x1015c228
call fcn.10037ce0
test eax, eax
jne 0x1006254d
push 4
call fcn.100c1c01
add esp, 4
mov edi, eax
mov dword [eax], 0
mov ecx, 0x1015c228
call fcn.10037ce0
mov esi, eax
mov ecx, 0x1015c228
push edi
call fcn.10080c70
test esi, esi
jne 0x1006259d
mov ecx, 0x1015c228
pop esi
pop edi
pop ebp
jmp fcn.10037ce0
push 0x1015c230
call fcn.100c1ca7
add esp, 4
cmp dword [0x1015c230], 0xffffffff
jne 0x10062512
xor eax, eax
mov dword [0x1015c22c], eax
mov dword [0x1015c228], eax
mov ecx, 0x1015c228
push 0x10037970
call fcn.10037d80
push 0x1015c230
call fcn.100c1d1d
add esp, 4
jmp 0x10062512
push esi
call fcn.100c1c31
add esp, 4
jmp 0x1006254d
Function at 0x1006aa00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x1006aa35
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x1006aa3c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1006aa2e
mov dword [esi], ebx
call fcn.1007c020
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.1007c020
push dword [esi]
call fcn.10084410
add esp, 4
mov dword [esi], 0
jmp 0x1006aa1f

Function at 0x1006fb40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [0x1014abcc]
cmp esi, 1
jbe 0x1006fb5c
mov ecx, esi
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10037ce0
push 0x1014abcc
call fcn.100344a0
add esp, 4
test al, al
je 0x1006fba2
xor edi, edi
mov dword [0x1014abd4], edi
mov dword [0x1014abd0], edi
mov ebx, 0x1014abcc
mov esi, 0x1014abd0
mov ecx, 0x1014abd0
push edi
call fcn.10037d80
push ebx
push edi
push 0x1014abd0
push ebx
call fcn.10034570
add esp, 0x10
jmp 0x1006fb51
mov esi, dword [0x1014abcc]
jmp 0x1006fb51
Function at 0x100702a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [ebp - 0x14]
mov dword [eax], ebx
lea eax, [ebp - 0x18]
mov dword [eax], ebx
lea esi, [ebp - 0x1c]
mov dword [esi], ebx
push 0x60
call fcn.100c1c01
add esp, 4
mov edi, eax
mov ecx, eax
push ebx
call fcn.10087240
lea eax, [ebp - 0x20]
mov dword [eax], ebx
mov ecx, edi
mov edx, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
call fcn.10070460
add esp, 0x1c
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10070432
push 0x50
call fcn.100c1c01
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ebx
mov ecx, esi
push 0x10135e06
call fcn.10094de0
mov dword [esi], fcn.100712d0
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x18], eax
mov word [esi + 0x1c], 0x100
mov byte [esi + 0x1e], 1
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
movups xmm0, xmmword [0x1013ad40]
movups xmmword [esi + 0x40], xmm0
mov eax, dword [0x10149ec8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x1014abe4]
cmp ecx, dword [eax + 4]
mov ecx, edi
jg 0x100703e2
lock inc dword [0x1014abdc]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
push eax
mov esi, ecx
call fcn.10087600
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [eax], esi
test ecx, ecx
jne 0x10070438
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x10070441
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
mov eax, dword [ebp - 0x38]
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1014abe4
mov edi, ecx
call fcn.100c1ca7
mov ecx, edi
add esp, 4
cmp dword [0x1014abe4], 0xffffffff
jne 0x100703a6
mov dword [0x1014abe0], 0x10133a30
call fcn.1003a620
mov ecx, eax
push 0
push str.MojoMessages
push 0x1014abe0
call fcn.1003a6b0
push 0x1014abe4
call fcn.100c1d1d
mov ecx, edi
add esp, 4
jmp 0x100703a6
test edi, edi
je 0x100703c6
mov ecx, edi
push 1
call fcn.10087960
jmp 0x100703c6
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
jmp 0x100703cd
Function at 0x10070b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
xor edi, edi
cmp esi, 8
jb 0x10070c3c
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx + 4]
cmp ebx, esi
ja 0x10070c3c
cmp dword [ecx], 0x100000
ja 0x10070c3c
lea eax, [ecx + ebx]
mov dword [ebp - 0x14], eax
sub esi, ebx
push 0x50
call fcn.100c1c01
add esp, 4
mov edi, eax
lea eax, [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [eax], 0
mov ecx, edi
push 0x10135e06
call fcn.10094de0
mov dword [edi], fcn.100712d0
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x18], eax
mov word [edi + 0x1c], 0x100
mov byte [edi + 0x1e], 1
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
movups xmm0, xmmword [0x1013ad40]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [0x10149ec8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x1014abe4]
cmp ecx, dword [eax + 4]
jg 0x10070c4f
lock inc dword [0x1014abdc]
mov eax, dword [ebp + 8]
mov dword [eax], edi
lea ecx, [ebp + 0x10]
mov edi, dword [ecx]
test edi, edi
jne 0x10070c96
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1014abe4
call fcn.100c1ca7
add esp, 4
cmp dword [0x1014abe4], 0xffffffff
jne 0x10070c32
mov dword [0x1014abe0], 0x10133a30
call fcn.1003a620
mov ecx, eax
push 0
push str.MojoMessages
push 0x1014abe0
call fcn.1003a6b0
push 0x1014abe4
call fcn.100c1d1d
add esp, 4
jmp 0x10070c32
mov esi, eax
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
mov eax, esi
jmp 0x10070c47

Function at 0x10077dc0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x10077dd7
mov edx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x10077dda
and edx, 0x7f
mov ecx, edx
cmp edx, 4
jb 0x10077e16
nop word cs:[eax + eax]
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x10077df0
cmp edx, 1
je 0x10077e37
cmp edx, 2
je 0x10077e2e
cmp edx, 3
jne 0x10077e42
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4
Function at 0x1007e160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov edi, dword [ecx]
mov dword [ecx], eax
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x1007e181
call fcn.1007c020
cmp dword [esi], edi
je 0x1007e1ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x1007e1ca
cmp ebx, 2
jb 0x1007e1a2
mov dword [esi], edi
call fcn.1007c020
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax + 4]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi + 4], xmm0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.1007c020
push dword [esi]
call fcn.10084410
add esp, 4
mov dword [esi], 0
jmp 0x1007e196
Function at 0x1007edf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007e160

Function at 0x10080ab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.100c2f20
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x10147d10]
cmp eax, 0xffffffff
je 0x10080c03
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x10080c03
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.100c4df0
add esp, 0xc
mov ecx, dword [0x10147d10]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.1004e500
add esp, 8
test ebx, ebx
je 0x10080b2b
push ebx
call fcn.100c1c6c
add esp, 4
mov eax, dword [0x1014c4cc]
mov ecx, dword [0x10149ec8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10080c18
mov esi, dword [0x1014c4c8]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x10080c5d
lea eax, [ebp - 0x1410]
push 0xc00
push 0x1014b8c8
push eax
call fcn.100c4df0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
test al, 1
je 0x10080bf3
mov dword [ebp - 0x1418], ecx
xor ebx, ebx
lea edi, [ebp - 0x1408]
xor eax, eax
jmp 0x10080bac
inc ebx
add edi, 0xc
cmp ebx, 0x100
je 0x10080bea
mov esi, dword [ebp + ebx*8 - 0x810]
test esi, esi
je 0x10080ba0
cmp dword [edi - 8], 0
je 0x10080ba0
mov ecx, dword [ebp + ebx*8 - 0x80c]
cmp ecx, dword [edi]
jne 0x10080ba0
mov ecx, dword [edi - 4]
test ecx, ecx
je 0x10080ba0
mov dword [ebp + ebx*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x10080ba0
mov ecx, dword [ebp - 0x1418]
dec ecx
jne 0x10080b88
push 2
push dword [ebp - 0x1414]
call fcn.1004e500
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1014c4cc
call fcn.100c1ca7
add esp, 4
cmp dword [0x1014c4cc], 0xffffffff
jne 0x10080b4c
push 4
call fcn.100c1c01
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.1006ae90
mov dword [0x1014c4c8], esi
push 0x1014c4cc
call fcn.100c1d1d
add esp, 4
jmp 0x10080b4c
mov ecx, esi
call fcn.10084100
jmp 0x10080b61
Function at 0x10083fa0
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 0x10083fdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x10083ff2
lea eax, [ebx + 1]
cmp eax, 2
jb 0x10083fd4
mov dword [esi], ebx
call fcn.1007c020
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 0x10084009
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.1007c020
push dword [esi]
call fcn.10084410
add esp, 4
mov dword [esi], 0
jmp 0x10083fc5
int3

Function at 0x10084010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ecx]
mov dword [ecx], 0
lea ebx, [edi + 1]
cmp ebx, 2
jae 0x10084076
cmp dword [esi], edi
je 0x10084058
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x10084080
cmp ebx, 2
jb 0x1008404e
mov dword [esi], edi
mov edi, eax
call fcn.1007c020
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 4]
mov byte [esi + 4], al
mov byte [ecx + 4], 0
mov eax, dword [ecx]
inc eax
cmp eax, 2
jae 0x1008409d
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.1007c020
mov ecx, dword [ebp + 8]
jmp 0x1008402c
mov dword [ebp - 0x10], eax
call fcn.1007c020
push dword [esi]
call fcn.10084410
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
jmp 0x1008403e
mov edi, ecx
call fcn.1007c020
push dword [edi]
call fcn.10084410
add esp, 4
mov dword [edi], 0
jmp 0x1008406a

Function at 0x10084150
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x100841ce
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x100841b7
lea eax, [edi + 1]
cmp eax, 2
jb 0x1008419b
mov dword [esi], edi
call fcn.1007c020
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
inc eax
cmp eax, 1
jbe 0x100841d2
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.1007c020
push dword [esi]
call fcn.10084410
add esp, 4
mov dword [esi], 0
jmp 0x1008418c
mov byte [esi + 4], 1
int3
Function at 0x100845b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
xor eax, eax
mov dword [ecx], eax
mov edi, dword [ebp + 8]
mov dword [ebp + 8], eax
lea ebx, [edi + 1]
cmp ebx, 2
jb 0x100845d0
call fcn.1007c020
lea ecx, [ebp + 8]
cmp dword [esi], edi
je 0x100845ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x10084629
cmp ebx, 2
jb 0x100845f5
mov dword [esi], edi
mov edi, eax
call fcn.1007c020
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [ecx]
inc eax
cmp eax, 2
jae 0x10084646
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [ebp - 0x10], eax
call fcn.1007c020
push dword [esi]
call fcn.10084410
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
jmp 0x100845e5
mov edi, ecx
call fcn.1007c020
push dword [edi]
call fcn.10084410
add esp, 4
jmp 0x1008461d

Function at 0x10084670
Capabilities:
Encode data using xor
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [0x1014c538]
test dl, 1
je 0x1008468f
call fcn.100a6bb0
pop ebp
jmp fcn.100a6bd0
test ecx, ecx
je 0x1008469e
push ecx
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x100846a0
pop ebp
ret
int3