joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a81a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018dfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.2345OCR
lea ecx, [ebp - 0x28]
call fcn.10005530
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.100b1f20
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100054f0
push str.config.ini
lea ecx, [ebp - 0x40]
call fcn.10005530
mov byte [ebp - 4], 3
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.1003d4f0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.100054f0
lea ecx, [ebp - 0x58]
call fcn.10004e40
push eax
mov eax, dword [ebp + 8]
push eax
push str.Status
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.100054f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100054f0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret

Function at 0x100a85c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018dfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.2345PicDesigner
lea ecx, [ebp - 0x28]
call fcn.10005530
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.100b1f20
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100054f0
push str.config.ini
lea ecx, [ebp - 0x40]
call fcn.10005530
mov byte [ebp - 4], 3
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.1003d4f0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.100054f0
lea ecx, [ebp - 0x58]
call fcn.10004e40
push eax
mov eax, dword [ebp + 8]
push eax
push str.Status
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.100054f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100054f0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x100a86a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018dfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.2345PdfConverter
lea ecx, [ebp - 0x28]
call fcn.10005530
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.100b1f20
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100054f0
push str.config.ini
lea ecx, [ebp - 0x40]
call fcn.10005530
mov byte [ebp - 4], 3
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.1003d4f0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.100054f0
lea ecx, [ebp - 0x58]
call fcn.10004e40
push eax
mov eax, dword [ebp + 8]
push eax
push str.Status
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.100054f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100054f0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret

Function at 0x100aa700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x100aa72c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x100aa74e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x100aa750
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x100aa7d5
jg 0x100aa765
test esi, esi
je 0x100aa7d5
test ecx, ecx
jl 0x100aa7ae
jg 0x100aa76f
test eax, eax
je 0x100aa7ae
cmp edi, ecx
jg 0x100aa783
jl 0x100aa779
cmp esi, eax
jae 0x100aa783
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x100aa7b1
mov edx, dword [ebp + 8]
test edi, edi
jl 0x100aa7d5
jg 0x100aa7bb
test esi, esi
je 0x100aa7d5
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100aa7d5
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100aa7f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x100aa81c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x100aa83e
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x100aa840
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x100aa8e0
jg 0x100aa85d
test esi, esi
je 0x100aa8e0
test ecx, ecx
jl 0x100aa8aa
jg 0x100aa867
test eax, eax
je 0x100aa8aa
cmp ebx, ecx
jg 0x100aa87b
jl 0x100aa871
cmp esi, eax
jae 0x100aa87b
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x100aa8b1
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x100aa8e0
jg 0x100aa8bb
test esi, esi
je 0x100aa8e0
cmp dword [edi + 0x4c], 0
je 0x100aa8e0
mov ecx, edi
call fcn.100aaf60
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100aac50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100aac80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10177d47
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x100aacb1
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x100aacb1
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10177d47
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100aad94
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100aacda
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100aace6
movsx eax, bl
jmp 0x100aad25
lea eax, [esp + 0x10]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x100aad94
cmp eax, 1
jle 0x100aad50
cmp eax, 3
jne 0x100aad94
movsx eax, byte [esp + 0xf]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10177d47
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x100aad70
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100aad94
lea eax, [esp + 0xf]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
je 0x100aad94
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10177d47
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10177d47
add esp, 0x30
ret 4
Function at 0x100aaf90
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x100ab03c
cmp byte [esi + 0x3d], 0
je 0x100ab03c
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100aafed
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x100ab000
sub eax, 1
je 0x100ab004
sub eax, 2
je 0x100ab03c
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10177d47
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x100ab024
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100aafed
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10177d47
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.10177d47
add esp, 0x28
ret
Function at 0x100b0df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x410
push 0
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x100b0e3e
xor al, al
jmp 0x100b0e97
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x100b0e70
cmp dword [ebp - 0x418], 0
je 0x100b0e6c
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x100b0e97
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1000bbe0
cmp dword [ebp - 0x418], 0
je 0x100b0e95
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x100b30a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x101e40b0]
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 0x100b3107
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x100b30f0
jne 0x100b3107
cmp dword [esp + 8], 0
jbe 0x100b3107
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10177d47
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.10177d47
add esp, 0x118
ret

Function at 0x100b3120
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x101e40b0]
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
jne 0x100b3175
xor al, al
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10177d47
add esp, 0x118
ret
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
setae al
xor ecx, esp
call fcn.10177d47
add esp, 0x118
ret

Function at 0x100b48d0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x101e498c], 0
jne 0x100b4952
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b4933
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x101e497c
call fcn.100056d0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10177d47
add esp, 0x214
ret
Function at 0x100b4a00
Capabilities:
Check os version
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x210]
sub esp, 0x210
push 0xffffffffffffffff
push 0x10190228
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [0x101e9a48]
test eax, eax
jle 0x100b4a52
inc eax
mov dword [0x101e9a48], eax
mov al, 1
jmp 0x100b4b97
push 1
xor bh, bh
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
call fcn.10177d89
mov dword [ebp - 0x18], eax
push 0x118
push 0
mov byte [eax], bh
lea eax, [ebp + 0xf0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp + 0xec], 0x11c
lea eax, [ebp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100b4aae
cmp dword [ebp + 0xf0], 6
mov eax, dword [ebp - 0x18]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10041bf0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10040e80
test bl, bl
je 0x100b4b87
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100b4b87
push str.ImpersonateLoggedOnUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x10]
push esi
call eax
test eax, eax
je 0x100b4b7e
mov ebx, dword [ebp - 0x14]
inc dword [0x101e9a48]
mov eax, dword [ebx]
test eax, eax
je 0x100b4b1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], esi
xor esi, esi
mov bh, 1
cmp dword [0x101e4974], esi
jne 0x100b4b7e
push 0x20a
lea eax, [ebp]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [ebp]
mov word [ebp + 0x206], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b4b60
sub ecx, edx
lea eax, [ebp]
sar ecx, 1
push ecx
push eax
mov ecx, 0x101e4964
call fcn.100056d0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100b4b8a
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x100b4b95
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.10177d47
lea esp, [ebp + 0x210]
pop ebp
ret
Function at 0x100c2e50
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x100c2e5b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.100c2e70
Function at 0x100c6420
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101d8368
push 0x10177fbd
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x101e40b0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], 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 - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100c6481
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edx, esi
mov ecx, edi
call fcn.100c6570
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x100c64c4
test bl, bl
jne 0x100c654d
cmp edi, 0x1a
jne 0x100c654d
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100c64e6
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push 0x410
push ecx
lea eax, [ebp - 0x430]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c6520
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.100056d0
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 - 0x1c]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x100c67f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101919db
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x100c6829
call fcn.100c6990
cmp byte [0x101e9a4c], 0
jne 0x100c683c
mov eax, reloc.gdiplus.dll_Ordinal_1
jmp 0x100c696c
mov eax, dword [esi]
test eax, eax
jne 0x100c68bc
push 8
call fcn.10177d89
mov edi, eax
add esp, 4
mov dword [ebp - 0x138], edi
mov dword [ebp - 4], 0
push 1
call fcn.10177d89
add esp, 4
mov dword [edi + 4], eax
mov byte [eax], 0
lea eax, [ebp - 0x130]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100c68ab
cmp dword [ebp - 0x130], 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 0x100c695b
call fcn.10041b30
test al, al
jne 0x100c68f6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.10041cb0
test al, al
je 0x100c695b
mov ecx, dword [esi]
add ecx, 4
call fcn.10041610
call fcn.10041b30
test al, al
je 0x100c695b
push str.Advapi32.dll
lea ecx, [ebp - 0x150]
call fcn.10005530
mov dword [ebp - 4], 2
lea eax, [ebp - 0x150]
push eax
call fcn.10043970
mov ecx, eax
call fcn.10043a30
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10005660
test edi, edi
je 0x100c695b
push 0x101b89e4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100c695b
push dword [esi]
push dword [ebp + 8]
call eax
test eax, eax
je 0x100c695b
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x100c696a
mov dword [eax], reloc.gdiplus.dll_Ordinal_1
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 - 0x14]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret 4
Function at 0x100c8880
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10191d2f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e40b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.10005660
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.10005660
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10005660
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10005660
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10005660
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10005660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100c8910
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10191d2f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e40b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.10005660
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.10005660
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10005660
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10005660
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10005660
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10005660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100cbbf0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101921cf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101e40b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.10005590
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.10005590
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.10005590
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.10005590
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.10005590
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.10005590
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4