joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018990
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078082
mov eax, dword fs:[0]
push eax
sub esp, 0x730
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x73c], edi
mov dword [ebp - 0x734], 0
mov dword [ebp - 0x738], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x720]
push eax
mov dword [ebp - 0x734], 1
call fcn.1004a5f0
add esp, 0xc
lea eax, [ebp - 0x720]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10018bb5
push 0x208
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.1004a5f0
push 0xfe
lea eax, [ebp - 0x10e]
push 0
push eax
call fcn.1004a5f0
add esp, 0x18
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x730]
push eax
movups xmmword [ebp - 0x730], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x10018b2b
push 0x200
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.1004a5f0
movzx eax, byte [ebp - 0x721]
push eax
movzx eax, byte [ebp - 0x722]
push eax
movzx eax, byte [ebp - 0x723]
push eax
movzx eax, byte [ebp - 0x724]
push eax
movzx eax, byte [ebp - 0x725]
push eax
movzx eax, byte [ebp - 0x726]
push eax
movzx eax, byte [ebp - 0x727]
push eax
movzx eax, byte [ebp - 0x728]
push eax
movzx eax, word [ebp - 0x72a]
push eax
movzx eax, word [ebp - 0x72c]
push eax
push dword [ebp - 0x730]
lea eax, [ebp - 0x518]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.100187b0
lea eax, [ebp - 0x518]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10018b00
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.100519f9
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10018b63
inc esi
cmp esi, 0xa
jl 0x10018a53
jmp 0x10018bb5
push 0
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x738]
cmp dword [eax + 0x14], 8
jb 0x10018b80
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x318]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018b97
sub ecx, edx
lea eax, [ebp - 0x318]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000dc70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002894c
mov esp, ebp
pop ebp
ret
Function at 0x10018f60
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078100
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.10028ac0
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100190df
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.100464d0
add esp, 4
test eax, eax
je 0x100190df
xorps xmm0, xmm0
mov dword [ebp - 0x1054], 0x44
lea eax, [ebp - 0x1054]
movlpd qword [ebp - 0x1050], xmm0
push eax
movlpd qword [ebp - 0x1048], xmm0
movlpd qword [ebp - 0x1040], xmm0
movlpd qword [ebp - 0x1038], xmm0
movlpd qword [ebp - 0x1030], xmm0
movlpd qword [ebp - 0x1028], xmm0
movlpd qword [ebp - 0x1020], xmm0
movlpd qword [ebp - 0x1018], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x1028], 1
push 0x1000
push eax
mov word [ebp - 0x1024], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1010]
push eax
movups xmmword [ebp - 0x1064], xmm0
call fcn.1004a5f0
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1010]
push str.__s___s
push eax
call fcn.100187f0
add esp, 0x1c
lea eax, [ebp - 0x1064]
push eax
lea eax, [ebp - 0x1054]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x100190e1
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x100190c5
push eax
push dword [ebp - 0x1064]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1060]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1064]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100190e1
xor edi, edi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10019117
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001910d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001917d
push edx
push ecx
call fcn.100285db
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x10019161
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019157
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019182
push edx
push ecx
call fcn.100285db
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002894c
mov esp, ebp
pop ebp
ret
call fcn.1004daa9
call fcn.1004daa9
int3
Function at 0x100201d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100785b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1009f1f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100285ab
mov edi, eax
add esp, 4
test edi, edi
je 0x10020274
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10019cdf
add esp, 4
mov dword [edi + 4], eax
jmp 0x10020276
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.1001a830
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x100202d7
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x100202d7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x100202fa
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1002031d
cmp byte [ebp + 0xc], 0
je 0x10020309
push esi
call fcn.1001a211
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10020329
mov esi, str.ios_base::badbit_set
jmp 0x10020339
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.1000ed50
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.100042a0
push 0x100964f0
lea eax, [ebp - 0x30]
push eax
call fcn.100496d2
int3
Function at 0x100218b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007875f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1009f1f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.100069a0
mov ecx, eax
test ecx, ecx
je 0x10021a64
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.100069a0
mov ecx, eax
test ecx, ecx
je 0x10021a6e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.100069a0
mov ecx, eax
test ecx, ecx
je 0x10021a78
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0x10], eax
test edx, edx
jne 0x10021988
xor ecx, ecx
jmp 0x100219a0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021990
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000c030
push edi
mov ecx, ebx
call fcn.10021d00
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100219bc
xor ecx, ecx
jmp 0x100219d4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100219c4
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000c030
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.10022950
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.10021d00
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10021a15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x10021a4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10021a4e
cmp dword [esi + 0x10], 0
je 0x10021a45
push dword [edi]
call fcn.10056a86
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10005cd0
push 0x80004005
call fcn.10005cd0
push 0x80004005
call fcn.10005cd0
int3
Function at 0x10022730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078868
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1009f1f4]
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 esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x10022891
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x10022788
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x10022891
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x100227a2
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x10022891
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x100227bc
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x10022891
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x100227d6
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x10022891
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x10022891
push 3
mov ecx, esi
call fcn.100226f0
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003810
push 0x100836f8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1000d9b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002282e
push 0
mov ecx, esi
call fcn.100226f0
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002283f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x10022881
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x10022881
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x10022881
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.10003a00
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.10004700
lea ecx, [ebp - 0x2c]
call fcn.100110d0
lea ecx, [ebp - 0x28]
call fcn.10004700
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.1002894c
mov esp, ebp
pop ebp
ret 4
Function at 0x100253a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x218], esi
test ebx, ebx
je 0x10025570
cmp dword [ebx], 2
jne 0x10025570
cmp dword [esi + 0x14], 8
jb 0x100253e6
mov esi, dword [esi]
mov dword [ebp - 0x218], esi
cmp dword [ebx + 0x10], 0
je 0x10025400
xor esi, esi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002894c
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100253ec
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002541b
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x100253ec
mov ecx, dword [ebx + 0x20]
mov eax, 0x532ae21d
push edi
mov edi, dword [ebx + 0x1c]
mov esi, 1
sub ecx, edi
mov dword [ebp - 0x210], 0
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002555d
mov dword [ebp - 0x214], 0
nop dword [eax]
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1004a5f0
mov eax, dword [ebp - 0x214]
add esp, 0xc
add eax, 4
add eax, edi
push eax
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100254a0
sub eax, edx
xor ecx, ecx
sar eax, 1
je 0x100254de
lea ebx, [ecx + 0x5c]
nop word [eax + eax]
cmp word [ebp + ecx*2 - 0x20c], 0x2f
jne 0x100254d3
mov word [ebp + ecx*2 - 0x20c], bx
inc ecx
cmp ecx, eax
jb 0x100254c0
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebp - 0x214]
mov eax, dword [eax + edi]
test byte [eax + 0x26], 0x10
je 0x10025501
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x10025526
test esi, esi
je 0x10025524
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
push dword [ebp - 0x210]
call fcn.10025590
test eax, eax
je 0x10025524
mov esi, 1
jmp 0x10025526
xor esi, esi
mov ecx, dword [ebx + 0x20]
add edi, 0x314
inc dword [ebp - 0x210]
mov eax, 0x532ae21d
mov dword [ebp - 0x214], edi
mov edi, dword [ebx + 0x1c]
sub ecx, edi
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [ebp - 0x210], ecx
jb 0x10025460
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002894c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1002894c
mov esp, ebp
pop ebp
ret
Function at 0x10025a60
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078c5f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009f1f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x58
call fcn.100285ab
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10025ab7
push 0x58
push 0
push esi
call fcn.1004a5f0
add esp, 0xc
mov ecx, esi
call fcn.10024bf0
mov esi, eax
jmp 0x10025ab9
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14], 8
jb 0x10025acb
mov edi, dword [edi]
test edi, edi
je 0x10025b68
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10025b68
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x10025b68
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x14], eax
cmp eax, 0x16
jb 0x10025b68
push 0
push 0
push 0
push 2
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp dword [esi + 4], 0
mov dword [esi + 8], eax
je 0x10025b68
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x10025b68
push dword [esi + 0x14]
mov ecx, esi
push eax
call fcn.10024f00
test eax, eax
je 0x10025b68
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10025b7e
mov ecx, esi
call fcn.10024d70
push 0x58
push esi
call fcn.100285db
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10025ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x10025f9f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10025f9f
or eax, 0xffffffff
cmp esi, 8
jb 0x10025f77
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
sub edi, 1
jne 0x10025ed0
pop edi
test esi, esi
je 0x10025f9a
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x100850c0]
sub esi, 1
jne 0x10025f80
not eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1002e0d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100796a2
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x81c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x800
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x81c], 1
call fcn.1004a5f0
add esp, 0xc
mov dword [ebp - 0x82c], 1
cmp dword [0x1009e134], 0
mov esi, 0x20019
mov dword [ebp - 0x828], 0x800
mov dword [ebp - 0x814], 0
je 0x1002e25e
push str.GetNativeSystemInfo
push 0x1007ebd4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002e254
xorps xmm0, xmm0
mov dword [ebp - 0x834], 0
lea ecx, [ebp - 0x854]
push ecx
movups xmmword [ebp - 0x854], xmm0
movups xmmword [ebp - 0x844], xmm0
call eax
mov ax, word [ebp - 0x854]
cmp ax, 9
je 0x1002e24a
cmp ax, 6
je 0x1002e24a
cmp ax, 0xc
je 0x1002e24a
push str.IsWow64Process2
push 0x1007ec88
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x818], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x824], eax
test eax, eax
je 0x1002e241
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x824]
test eax, eax
je 0x1002e241
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x818], cx
sete al
mov dword [0x100a1570], eax
jmp 0x1002e254
xor eax, eax
mov dword [0x100a1570], eax
jmp 0x1002e254
mov dword [0x100a1570], 1
mov dword [0x1009e134], 0
cmp dword [0x100a1570], 0
mov eax, 0x20119
cmovne esi, eax
lea eax, [ebp - 0x814]
push eax
push esi
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002e2ee
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x82c]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x814]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1002e2ee
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e2d0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000dc70
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002894c
mov esp, ebp
pop ebp
ret