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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
call fcn.100643f0
mov byte [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0x100c2f60
mov dword [esi + 0xc], 0
lea eax, [esi + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
movaps xmm0, xmmword [0x100c2d60]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
sub esp, 0x10
cmp dword [esi + 0xc], eax
je 0x10043d09
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0xc]
add eax, 1
cmp eax, 2
jb 0x10043ced
call fcn.1003f7b0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call fcn.10045060
mov dword [esi + 0xc], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x10043cfd
mov dword [esi + 0xc], edi
call fcn.1003f7b0
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 0x100444f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor eax, eax
cmp dword [ebp + 0xc], 0
sete al
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
push 0
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], 0
test eax, eax
je 0x10044579
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x10044549
call fcn.1003f7b0
push dword [esi]
call fcn.10045060
add esp, 4
mov dword [esi], 0
lea eax, [edi + 1]
cmp eax, 2
jb 0x10044558
mov dword [esi], edi
call fcn.1003f7b0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
add eax, 1
cmp eax, 1
jbe 0x10044576
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3
mov byte [esi + 4], 1
int3
Function at 0x10044c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
mov ebx, 0x100000
cmovne ebx, ecx
push 0xc
call fcn.10099c14
add esp, 4
mov edi, eax
mov dword [eax], esi
cmp dword [ebp + 8], 0
setne byte [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
push 0
push 0x10000
push edi
push 0x10044f50
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test eax, eax
je 0x10044cd2
mov eax, dword [ebp + 8]
test eax, eax
je 0x10044cfd
mov dword [eax], esi
jmp 0x10044d04
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x10044ce9
cmp eax, 0x5af
je 0x10044ce9
cmp eax, 0xe
jne 0x10044d1d
push ebx
call fcn.10067630
add esp, 4
push edi
call fcn.10099c44
add esp, 4
jmp 0x10044d04
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099c81
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], eax
mov eax, dword [0x100dd43c]
mov ecx, dword [0x100de718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10044d7d
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call fcn.1005ac10
add esp, 8
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x10044d5a
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push eax
push ebx
push dword [0x100dd438]
call fcn.10067670
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x10044cf2
push dword [ebp - 0x1c]
call fcn.10099c44
jmp 0x10044cef
push 0x100dd43c
call fcn.10099cc7
add esp, 4
cmp dword [0x100dd43c], 0xffffffff
jne 0x10044d3d
push 0x20
push str.create_thread_last_error
call fcn.10067650
add esp, 8
mov dword [0x100dd438], eax
push 0x100dd43c
call fcn.10099d3d
add esp, 4
jmp 0x10044d3d
Function at 0x10045450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
add eax, 1
cmp eax, 1
ja 0x1004547c
mov ecx, esi
call fcn.10040870
jmp 0x10045565
mov edi, ecx
cmp dword [ecx + 4], 1
je 0x1004557b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push 2
push 0
push 0
push ecx
push eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x10045470
mov dword [ebp - 0x28], esp
push eax
sub esp, 0xc
mov ebx, esp
lea eax, [edi + 0x10]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edi, dword [ebp - 0x14]
mov dword [ebx], 0
test edi, edi
je 0x1004551c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
add ecx, 1
cmp ecx, 2
jb 0x100454f9
mov dword [ebp - 0x18], eax
call fcn.1003f7b0
push dword [ebx]
call fcn.10045060
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [ebx], 0
lea ecx, [edi + 1]
cmp ecx, 2
jb 0x1004550c
mov dword [ebx], edi
mov edi, eax
call fcn.1003f7b0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov ecx, esi
push ebx
call fcn.10003ea0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [ebx]
add eax, 1
cmp eax, 2
jb 0x10045562
call fcn.1003f7b0
push dword [ebx]
call fcn.10045060
add esp, 4
mov dword [ebx], 0
mov esp, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099c81
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
Function at 0x10045580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
lea eax, [edi + 1]
cmp eax, 2
jae 0x100455a4
xor ebx, ebx
jmp 0x10045660
mov esi, ecx
cmp dword [ecx + 4], 1
jne 0x10045674
mov dword [esi], 0
call fcn.1003f7b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1003f7b0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push 0
push 0
push 5
push ecx
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, eax
test eax, eax
je 0x10045649
mov eax, dword [ebp - 0x14]
cmp dword [esi], eax
je 0x10045642
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
add ecx, 1
cmp ecx, 2
jb 0x10045623
mov dword [ebp - 0x18], eax
call fcn.1003f7b0
push dword [esi]
call fcn.10045060
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [esi], 0
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x1004563b
mov dword [esi], ecx
mov dword [ebp - 0x18], eax
call fcn.1003f7b0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esi + 4], 0
test ebx, ebx
setne bl
test edi, edi
je 0x10045660
call fcn.1003f7b0
push edi
call fcn.10045060
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099c81
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3

Function at 0x10045680
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [esi + 4], 0
setne al
mov ebx, ecx
sar ebx, 0x1f
add eax, eax
add eax, 4
push dword [ebp + 0xc]
push ecx
push ebx
mov dword [ebp - 0x30], eax
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
test edi, edi
jne 0x100456f7
call fcn.10068430
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp - 0x30]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
test edi, edi
jne 0x100456f7
call fcn.10068430
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
test edi, edi
je 0x1004572e
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [ebp - 0x20]
sub ecx, edi
add ecx, dword [ebp - 0x28]
test eax, eax
cmove ecx, eax
mov dword [esi], ecx
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099c81
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
xor ebx, ebx
jmp 0x10045718
Function at 0x10046220
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, 0x38
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x100dd470]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x100463a4
jp 0x100463a4
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x100dd480]
mov ecx, dword [0x100de718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100463c9
mov eax, dword [0x100dd490]
mov ecx, dword [0x100de718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10046402
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x100dd488]
sbb ebx, dword [0x100dd48c]
movd xmm0, ebx
movd xmm1, edi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x100bfc50]
subpd xmm1, xmmword [0x100bfc60]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x100c30e8]
ucomisd xmm2, xmm0
ja 0x100463a4
mov eax, dword [esp + 8]
sub eax, dword [0x100dd478]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x100dd47c]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x100bfc50]
subpd xmm2, xmmword [0x100bfc60]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x100dd470], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.10099c81
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100dd480
call fcn.10099cc7
add esp, 4
cmp dword [0x100dd480], 0xffffffff
jne 0x10046292
rdtsc
mov dword [0x100dd478], eax
mov dword [0x100dd47c], edx
push 0x100dd480
call fcn.10099d3d
add esp, 4
jmp 0x10046292
push 0x100dd490
call fcn.10099cc7
add esp, 4
cmp dword [0x100dd490], 0xffffffff
jne 0x100462b3
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x100dd48c], ecx
mov dword [0x100dd488], eax
push 0x100dd490
call fcn.10099d3d
add esp, 4
jmp 0x100462b3
Function at 0x100478c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x10047963
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.10099c14
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.100477d0
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.100466c0
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x1004794d
mov ecx, edi
call fcn.10046710
push edi
call fcn.10099c44
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x10047960
push dword [esp + 8]
call fcn.10099c44
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.10099c81
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1004c980
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x1004c9ed
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1004c9c0
cmp edx, 1
jne 0x1004c9f6
jmp 0x1004ca12
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x1004ca12
cmp edx, 2
je 0x1004ca09
cmp edx, 3
jne 0x1004ca1d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x1004cb78
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x1004ca84
lea edx, [edi - 1]
and edx, ebx
jmp 0x1004ca90
mov edx, ebx
cmp ebx, edi
jb 0x1004ca90
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1004cb78
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x1004cb78
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x1004cae6
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x1004cb76
mov ebx, dword [ebx]
test ebx, ebx
je 0x1004cb76
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x1004cb40
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1004cafb
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1004cadc
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1004cb58
cmp dword [ebp - 0x10], 0
je 0x1004cb72
cmp byte [esi], dl
jne 0x1004cadc
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x1004cb72
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1004cb20
jmp 0x1004cadc
cmp dword [ebp - 0x28], 1
jbe 0x1004cad0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x1004cad3
xor edx, edx
div ecx
mov eax, edx
jmp 0x1004cad3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1004cb72
push eax
push esi
push ecx
call fcn.1009c18d
add esp, 0xc
test eax, eax
jne 0x1004cadc
mov ecx, ebx
jmp 0x1004cb78
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x100546a6
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 0x100546da
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.100546e2
lea eax, [ebx + 1]
cmp eax, 2
jb 0x100546d3
mov dword [esi], ebx
call fcn.1003f7b0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1005c4b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100de788]
mov ecx, dword [0x100de718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1005c4db
mov ecx, 0x100de780
pop ebp
jmp fcn.10042230
push 0x100de788
call fcn.10099cc7
add esp, 4
cmp dword [0x100de788], 0xffffffff
jne 0x1005c4d0
mov dword [0x100de784], 0
mov dword [0x100de780], 0
mov ecx, 0x100de780
push 0
call fcn.100422a0
push 0x100de788
call fcn.10099d3d
add esp, 4
jmp 0x1005c4d0
Function at 0x100684f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x100de804]
mov ecx, dword [0x100de718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10068545
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.10099c81
mov eax, 0x100de800
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100de804
call fcn.10099cc7
add esp, 4
cmp dword [0x100de804], 0xffffffff
jne 0x1006852a
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.1009d620
add esp, 0xc
mov dword [esp + 0x3c], 0x11c
lea edi, [esp + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.10099c14
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0xc]
mov eax, dword [0x100de82c]
mov ecx, dword [0x100de718]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100685f4
mov ecx, esi
push ebx
push 0x100de808
push edi
call fcn.10068670
mov dword [0x100de800], esi
push 0x100de804
call fcn.10099d3d
add esp, 4
jmp 0x1006852a
push 0x100de82c
call fcn.10099cc7
add esp, 4
cmp dword [0x100de82c], 0xffffffff
jne 0x100685ce
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x30]
mov dword [0x100de828], eax
movaps xmm0, xmmword [esp + 0x10]
movaps xmm1, xmmword [esp + 0x20]
movups xmmword [0x100de818], xmm1
movups xmmword [0x100de808], xmm0
push 0x100de82c
call fcn.10099d3d
add esp, 4
jmp 0x100685ce
Function at 0x1006d160
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x1006d1cd
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1006d1a0
cmp edx, 1
jne 0x1006d1d6
jmp 0x1006d1f2
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x1006d1f2
cmp edx, 2
je 0x1006d1e9
cmp edx, 3
jne 0x1006d1fd
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x1006d358
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x1006d264
lea edx, [edi - 1]
and edx, ebx
jmp 0x1006d270
mov edx, ebx
cmp ebx, edi
jb 0x1006d270
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1006d358
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x1006d358
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x1006d2c6
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x1006d356
mov ebx, dword [ebx]
test ebx, ebx
je 0x1006d356
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x14], eax
jne 0x1006d320
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1006d2db
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1006d2bc
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1006d338
cmp dword [ebp - 0x10], 0
je 0x1006d352
cmp byte [esi], dl
jne 0x1006d2bc
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x1006d352
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1006d300
jmp 0x1006d2bc
cmp dword [ebp - 0x28], 1
jbe 0x1006d2b0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x1006d2b3
xor edx, edx
div ecx
mov eax, edx
jmp 0x1006d2b3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1006d352
push eax
push esi
push ecx
call fcn.1009c18d
add esp, 0xc
test eax, eax
jne 0x1006d2bc
mov ecx, ebx
jmp 0x1006d358
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x10073690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ecx + 4]
jmp 0x100736a6
mov esi, dword [esi + 0x8c]
test esi, esi
je 0x100736db
xor edi, edi
xchg dword [esi], edi
test edi, edi
je 0x100736a0
nop word cs:[eax + eax]
nop dword [eax]
bsf ecx, edi
mov ebx, 1
shl ebx, cl
mov eax, dword [esi + ecx*4 + 8]
push eax
call dword [eax + 4]
add esp, 4
xor edi, ebx
jne 0x100736c0
jmp 0x100736a0
pop esi
pop edi
pop ebx
pop ebp
ret