joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10055e40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab440
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100d703c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [eax]
mov edi, dword [ebp + 8]
test eax, eax
je 0x10056016
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push str.RegCloseKey
push dword [eax]
call esi
cmp dword [ebp - 0x60], 0
mov esi, eax
je 0x10056016
cmp dword [ebp - 0x84], 0
je 0x10056016
test esi, esi
je 0x10056016
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0x65004b
mov dword [ebp - 0x44], 0x620079
mov dword [ebp - 0x40], 0x61006f
mov dword [ebp - 0x3c], 0x640072
mov dword [ebp - 0x38], 0x4c0020
mov dword [ebp - 0x34], 0x790061
mov dword [ebp - 0x30], 0x75006f
mov dword [ebp - 0x2c], 0x5c0074
mov dword [ebp - 0x28], 0x750053
mov dword [ebp - 0x24], 0x730062
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x750074
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], 0
push eax
push 0x20019
lea ecx, [ebp - 0x80]
call fcn.100824d0
push eax
call dword [ebp - 0x60]
test eax, eax
je 0x10056007
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push edi
push str._08x
push eax
call fcn.1000dab0
add esp, 0xc
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x60], 0x14
cmovae eax, dword [ebp - 0x78]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x7c]
movups xmmword [ebp - 0x5c], xmm0
call dword [ebp - 0x84]
test eax, eax
jne 0x10055ff6
push 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov edi, eax
push dword [ebp - 0x7c]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.10082660
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.1009ea6c
mov esp, ebp
pop ebp
ret 4
Function at 0x10056040
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100d703c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1005609c
cmp dword [esp + 4], 6
jb 0x1005609c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.1009ea6c
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.1009ea6c
add esp, 0x118
ret
Function at 0x10056b50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, dword [0x100d703c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x238]
push ebp
mov ebp, dword [esp + 0x244]
push esi
mov esi, dword [esp + 0x244]
test ebx, ebx
je 0x10056c9b
mov eax, dword [ecx]
test eax, eax
je 0x10056c9b
push edi
push str.RegQueryValueExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10056c9a
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x208
cmp dword [esi + 0x14], 8
jb 0x10056bc9
mov esi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push esi
push ebx
call edi
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10056be2
sub eax, edx
lea ecx, [ebp + 0x38]
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10003a60
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.Profile
push ebx
call edi
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056c24
sub ecx, edx
lea eax, [esp + 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.10003a60
xor eax, eax
mov dword [esp + 0x14], 0x65004b
mov word [esp + 0x30], ax
lea eax, [esp + 0x10]
push eax
push ebp
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x620079
push eax
push ebx
mov dword [esp + 0x34], 0x61006f
mov dword [esp + 0x38], 0x640072
mov dword [esp + 0x3c], 0x61004c
mov dword [esp + 0x40], 0x6f0079
mov dword [esp + 0x44], 0x740075
mov dword [esp + 0x28], 4
call edi
pop edi
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1009ea6c
add esp, 0x230
ret 0xc
Function at 0x10058010
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab978
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x100d703c]
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
push 1
mov dword [ebp - 0x14], 0
call fcn.1009ea7d
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10058094
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.10012b20
test al, al
je 0x100580c1
lea ecx, [ebp - 0x14]
call fcn.10012480
test al, al
jne 0x100580c1
xor bl, bl
jmp 0x1005815f
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.10082160
test al, al
jne 0x100580e5
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100580e0
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.10082160
test al, al
jne 0x1005810c
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10058107
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.10082160
test al, al
jne 0x10058133
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1005812e
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.10082160
test al, al
jne 0x1005815a
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10058155
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10011de0
mov al, bl
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.1009ea6c
mov esp, ebp
pop ebp
ret
Function at 0x10058210
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab9c1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100d703c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edx, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x10058254
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1005826e
mov eax, edx
nop dword [eax]
cmp word [eax], 0x25
je 0x100582a3
add eax, 2
sub ecx, 1
jne 0x10058260
push esi
mov ecx, edi
call fcn.100037e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
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.1009ea6c
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x1005826e
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x1005826e
push esi
lea ecx, [ebp - 0x28]
call fcn.100037e0
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100582ca
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x100582f9
push esi
mov ecx, edi
call fcn.100037e0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10003a00
jmp 0x10058284
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1009ed06
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x14], 8
jb 0x10058320
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x1005835d
cmp eax, dword [ebp - 0x34]
ja 0x1005835d
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10058344
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003a60
push esi
call fcn.1009f329
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
add esp, 4
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
call fcn.10003a00
jmp 0x10058284
Function at 0x10059120
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abb4c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x100d703c]
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, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2b4], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10059240
sub ecx, edx
lea eax, [ebp - 0x5c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c4]
call fcn.10003a60
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x2ac], ax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x29c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100592a0
sub eax, edx
lea ecx, [ebp - 0x2ac]
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10003a60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.100100d0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.10003a00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.10003a00
lea eax, [ebp - 0x294]
push eax
call fcn.1000e210
add esp, 4
test al, al
jne 0x10059318
xor bl, bl
jmp 0x1005936d
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x27c]
call fcn.10081980
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
jne 0x1005933b
xor bl, bl
jmp 0x1005935e
lea eax, [ebp - 0x27c]
cmp esi, eax
je 0x1005935c
cmp dword [ebp - 0x268], 8
push ecx
cmovae eax, dword [ebp - 0x27c]
mov ecx, esi
push eax
call fcn.10003a60
mov bl, 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.10003a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10003a00
mov al, bl
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.1009ea6c
mov esp, ebp
pop ebp
ret 4
Function at 0x1005ff10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac4ec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100d703c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.10003a00
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10003a00
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10003a00
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10003a00
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10003a00
push 0x88
push ebx
call fcn.1009eaad
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10064cb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acfd4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d703c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
mov byte [ebp - 4], 1
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0xf
mov byte [ebx + 0x30], 0
mov byte [ebp - 4], 2
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 3
lea esi, [ebx + 0x7c]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10023f60
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x30]
push 6
push str.._log_
mov byte [ebx + 0x54], 0
call fcn.10007600
mov dword [ebx + 0x48], 1
mov word [ebx + 0x4c], 0x101
mov byte [ebx + 0x4e], 0
mov dword [ebx + 0x50], 0x64
mov byte [ebx + 0x55], 1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x10064e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad01d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100d703c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x228], 0
mov dword [ebp - 4], 1
cmp dword [ecx], edi
jne 0x10064ed0
movups xmm0, xmmword [ebp - 0x228]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
movups xmmword [eax], xmm0
mov byte [ebp - 0x228], 0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0xf
jmp 0x10064faa
push dword [ecx]
lea eax, [ebp - 0x210]
push 0x200
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp - 0x214]
mov esi, eax
add esp, 0x10
mov eax, ecx
sub eax, edi
push esi
cmp esi, eax
ja 0x10064f2b
lea eax, [edi + esi]
cmp ecx, 0x10
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
add edi, eax
lea eax, [ebp - 0x210]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x10064f4b
lea eax, [ebp - 0x210]
mov byte [ebp - 0x230], 0
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x228]
push esi
call fcn.1001fa10
cmp esi, 0x200
jne 0x10064f64
mov edi, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x234]
jmp 0x10064ed0
mov eax, dword [ebp - 0x238]
movups xmm0, xmmword [ebp - 0x228]
mov byte [ebp - 0x228], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x22c], 1
mov byte [ebp - 4], 0
mov byte [ebp - 0x228], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
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.1009ea6c
mov esp, ebp
pop ebp
ret 4
Function at 0x10068630
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
lea edi, [esi - 0x10]
je 0x10068650
push 6
push str.log4z_already_start__r_n
mov ecx, edi
call fcn.10067dd0
pop edi
xor al, al
pop esi
ret
push 0
push 0x40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0
push edi
push 0x10064ca0
push 0
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
or ecx, 0
je 0x100686a0
push 0xbb8
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100686ad
pop edi
mov al, 1
pop esi
ret
push str.log4z:_create_log4z_thread_error___r_n
call fcn.10064930
add esp, 4
pop edi
xor al, al
pop esi
ret
Function at 0x1007e520
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1007e52b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1007e540
Function at 0x10082160
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x100d03a0
push 0x1009f671
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100d703c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100821c6
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edx, esi
mov ecx, edi
call fcn.100822a0
mov bl, al
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x100821fd
test bl, bl
jne 0x1008227a
cmp edi, 0x1a
jne 0x1008227a
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10082217
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push 0x410
push ecx
lea eax, [ebp]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x207
lea eax, [ebp]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082250
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.10003a60
movzx ebx, bl
mov eax, 1
cmp dword [esi + 0x10], 0
cmovne ebx, eax
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1009ea6c
lea esp, [ebp + 0x414]
pop ebp
ret

Function at 0x10082480
Capabilities:
Query environment variable

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0x1a
jmp fcn.10082160
Function at 0x100824d0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x100b04d2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100d703c]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x10082514
call fcn.10082660
cmp byte [0x100d86f4], 0
jne 0x10082527
mov eax, 0x80000001
jmp 0x1008263c
mov eax, dword [esi]
test eax, eax
jne 0x10082592
push 8
call fcn.1009ea7d
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.1009ea7d
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10082581
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x1008262b
call fcn.100129a0
test al, al
jne 0x100825cc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.10012b20
test al, al
je 0x1008262b
mov ecx, dword [esi]
add ecx, 4
call fcn.10012480
call fcn.100129a0
test al, al
je 0x1008262b
push str.Advapi32.dll
lea ecx, [ebp - 0x28]
call fcn.10003770
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.100167f0
mov ecx, eax
call fcn.100168b0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003a00
test edi, edi
je 0x1008262b
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008262b
push dword [esi]
push dword [ebp + 0x128]
call eax
test eax, eax
je 0x1008262b
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x1008263a
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.1009ea6c
lea esp, [ebp + 0x120]
pop ebp
ret 4