joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100444d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x100444e3
xor al, al
jmp 0x10044579
mov eax, dword [ebp + 8]
cmp dword [eax*4 + 0x1094afb8], 1
jne 0x10044510
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10044505
mov byte [ebp - 1], 1
jmp 0x10044509
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
jmp 0x10044579
mov edx, dword [ebp + 8]
cmp dword [edx*4 + 0x1094afb8], 2
jne 0x10044566
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 1
je 0x10044559
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1094b870]
test eax, eax
jne 0x10044546
mov dword [ebp - 8], 1
jmp 0x1004454d
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 8]
mov byte [ecx + 0x1094b870], dl
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x1094b870]
jmp 0x10044579
mov ecx, dword [ebp + 8]
cmp dword [ecx*4 + 0x1094afb8], 3
jne 0x10044577
mov al, 1
jmp 0x10044579
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1008a2d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x1008a2e6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp dword [ebp - 4], eax
jae 0x1008a312
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx eax, byte [edx]
xor eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
imul ecx, dword [ebp + 0xc], 0x1000193
mov dword [ebp + 0xc], ecx
jmp 0x1008a2dd
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1008ec90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x1008ecaf
mov ecx, dword [ebp - 8]
call fcn.1008fd00
nop
jmp 0x1008ecc3
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x1008ecc3
mov ecx, dword [ebp - 8]
call fcn.1008fb60
nop
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0xb
mov edx, dword [ebp - 8]
and ecx, dword [edx + 0x1384]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x1008f440
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push str.RandomSeed
push 0x101d0850
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1094ca68], eax
cmp dword [0x1094ca68], 0
jne 0x1008f46f
xor al, al
jmp 0x1008f525
push str.RandomFloat
push 0x101d0868
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1094ca6c], eax
cmp dword [0x1094ca6c], 0
jne 0x1008f49b
xor al, al
jmp 0x1008f525
push str.RandomFloatExp
push 0x101d0884
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10950840], eax
cmp dword [0x10950840], 0
jne 0x1008f4c4
xor al, al
jmp 0x1008f525
push str.RandomInt
push 0x101d089c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1094b4f4], eax
cmp dword [0x1094b4f4], 0
jne 0x1008f4ed
xor al, al
jmp 0x1008f525
push str.RandomGaussianFloat
push str.vstdlib.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10950844], eax
cmp dword [0x10950844], 0
jne 0x1008f516
xor al, al
jmp 0x1008f525
push str.Math_initialized
call fcn.1000d810
add esp, 4
mov al, 1
pop ebp
ret
Function at 0x1008fb60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x1008fb89
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x1008fbf5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x1008fbcd
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x1008fbd4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1008fb80
mov dword [ebp - 0xc], 0xe3
jmp 0x1008fc07
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x1008fc73
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x1008fc4b
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x1008fc52
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1008fbfe
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x1008fcbc
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x1008fcc3
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret
Function at 0x1008fd00
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x1008fd1b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x1008fd87
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x1008fd5f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x1008fd66
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1008fd12
mov esp, ebp
pop ebp
ret

Function at 0x10090730
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10247500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.10090ad0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1009075c
xor eax, eax
jmp 0x1009080d
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1009077d
xor eax, eax
jmp 0x1009080d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x4550
je 0x10090798
xor eax, eax
jmp 0x1009080d
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1008ff60
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100908a0
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1009080a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*2]
call fcn.1016f580
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.10090620
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016f297
mov esp, ebp
pop ebp
ret
Function at 0x10090980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x100909a6
xor eax, eax
jmp 0x10090ac1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x4550
je 0x100909c4
xor eax, eax
jmp 0x10090ac1
mov ecx, dword [ebp - 0x24]
add ecx, 0x18
mov dword [ebp - 0x28], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + eax + 0x64]
mov dword [ebp - 0x2c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + ecx + 0x60]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x2c], 0
je 0x100909fd
cmp dword [ebp - 0xc], 0
jne 0x10090a04
xor eax, eax
jmp 0x10090ac1
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x10]
je 0x10090abf
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
shr edx, 1
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1008fea0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10090aa9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jb 0x10090aa1
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x2c]
jae 0x10090aa1
jmp 0x10090abf
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
jmp 0x10090ac1
cmp dword [ebp - 0x30], 0
jle 0x10090ab7
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x10090abd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x10090a41
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10092a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017568d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10247500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.100939b0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x10092820
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.100154e0
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x10092aa1
lea ecx, [ebp - 0x14]
call fcn.1009f370
nop
jmp 0x10092ab3
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10094b00
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10092ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017568d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10247500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.100939b0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x100928a0
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.100154e0
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x10092b61
lea ecx, [ebp - 0x14]
call fcn.1009f370
nop
jmp 0x10092b73
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10094b00
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10092ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017568d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10247500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.100939b0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x10092920
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.100154e0
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x10092c21
lea ecx, [ebp - 0x14]
call fcn.1009f370
nop
jmp 0x10092c33
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10094b00
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10092c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017568d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10247500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.100939b0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x100929a0
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.100154e0
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x10092ce1
lea ecx, [ebp - 0x14]
call fcn.1009f370
nop
jmp 0x10092cf3
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10094b00
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10095470
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10247500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x28]
call fcn.1001b090
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.1001b090
mov byte [ebp - 4], 1
push 0x10951c10
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10095523
push 0x101d0d88
push 0x10951c10
lea ecx, [ebp - 0x58]
call fcn.1000fa40
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10091830
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001bfe0
lea ecx, [ebp - 0x40]
call fcn.10012160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10012160
nop
push 0
lea ecx, [ebp - 0x28]
call fcn.10022dc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jl 0x10095547
push str.Succesfully_created_directory
call fcn.1009f6d0
add esp, 4
jmp 0x10095569
push str.Failed_to_create_config_directory
lea ecx, [ebp - 0x8c]
call fcn.1003d1f0
push 0x1023c838
lea ecx, [ebp - 0x8c]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10012160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10012160
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f297
mov esp, ebp
pop ebp
ret
Function at 0x100a4e70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100a4efb
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp + 8]
call fcn.10022dc0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
call fcn.100249e0
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a4ef4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100a4ef4
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
nop
call dword [sym.imp.USER32.dll_CloseClipboard]
nop
mov esp, ebp
pop ebp
ret
Function at 0x100ab880
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x100ab8c2
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x100ab9c6
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x100ab943
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x100ab93e
push 4
push 0x1000
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100ab917
xor eax, eax
jmp 0x100ab9cb
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x100ab8b0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.100ab850
test eax, eax
jne 0x100ab964
xor eax, eax
jmp 0x100ab9cb
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100ab98f
xor eax, eax
jmp 0x100ab9cb
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
jmp 0x100ab8b0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100bcbd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
xor edx, edx
pop ebp
ret

Function at 0x100bcbf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
xor edx, edx
pop ebp
ret

Function at 0x100bdc90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0x101fa090
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100bdcf1
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0x10]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x100bdcab
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret