joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b3790
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0x3c]
mov ecx, 0xf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101e9466
call fcn.1019d101
mov dword [ebp - 0x38], 0
cmp dword [ebp + 8], 0
jne 0x100b37d3
mov dword [0x101d5dc0], str.NULL_filename
xor eax, eax
jmp 0x100b390d
mov esi, esp
push 0x101aea70
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100b3808
mov dword [0x101d5dc0], str.Can_not_find_DDS_file
xor eax, eax
jmp 0x100b390d
mov esi, esp
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.1019d0de
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x20], eax
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.1019d0de
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100b3898
mov dword [0x101d5dc0], str.malloc_failed
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1019d0de
xor eax, eax
jmp 0x100b390d
mov esi, esp
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x2c], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.1019d0de
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x20]
jae 0x100b38df
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100b3930
add esp, 0x14
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.100b5630
add esp, 4
mov eax, dword [ebp - 0x38]
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret
Function at 0x100bb860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
mov edi, ebp
xor ecx, ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101e94ce
call fcn.1019d101
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x100bb8af
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.1019d0de
jmp 0x100bb8d5
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret
Function at 0x100c3490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101e94ce
call fcn.1019d101
mov al, byte [ebp + 0xc]
mov byte [ebp - 9], al
mov esi, esp
mov eax, dword [ebp + 8]
push eax
push 1
push 1
lea ecx, [ebp - 9]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.1019d0de
push edx
mov ecx, ebp
push eax
lea edx, [0x100c3514]
call fcn.1019d088
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019d133
add esp, 0xd0
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret
Function at 0x100ce5a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a1040
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1c]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
mov word [eax + 8], dx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0x18
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x30]
mov word [eax + 0x30], dx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xdc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4
Function at 0x100d4310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1c]
mov ecx, 7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, 0x101e9601
call fcn.1019d101
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x100d4384
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jne 0x100d437c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 0xc]
je 0x100d437c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
push 0
mov ecx, dword [ebp - 0xc]
call fcn.100d55c0
mov al, 1
jmp 0x100d43d6
mov ecx, dword [ebp - 0xc]
call fcn.100d6690
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0xe
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1019d0de
test eax, eax
jne 0x100d43bc
xor al, al
jmp 0x100d43d6
push 0xe
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0xd
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x100d4408]
call fcn.1019d088
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019d133
add esp, 0xdc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 8
Function at 0x100e5a50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a19ff
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x84]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, 0x101e974c
call fcn.1019d101
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.100a6750
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.100a6750
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.100a6750
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x58
call fcn.100a6750
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xdc
call fcn.100e5c60
mov byte [ebp - 4], 4
mov esi, esp
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
cmp esi, esp
call fcn.1019d0de
cvtsi2sd xmm0, eax
mov eax, dword [ebp - 0x14]
movsd qword [eax + 0x88], xmm0
lea eax, [ebp - 0xf4]
push eax
call fcn.100e5ff0
add esp, 4
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.100cff90
lea ecx, [ebp - 0xf4]
call fcn.100681f0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.100da540
movzx eax, al
test eax, eax
jne 0x100e5c2b
push str.debug.log
mov eax, dword [ebp - 0x14]
add eax, 0x28
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.10067380
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.100cff90
lea ecx, [ebp - 0x114]
call fcn.100681f0
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x140], ecx
push 0
push 0x3a
mov ecx, dword [ebp - 0x140]
call fcn.100e64d0
push eax
push 0
lea edx, [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x13c]
call fcn.100e65a0
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.100cff90
lea ecx, [ebp - 0x134]
call fcn.100681f0
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1019d0de
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
call fcn.100e61d0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.1006a530
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x144
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret
Function at 0x100e5ff0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a1a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
lea edi, [ebp - 0x54]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], 0
mov ecx, 0x101e974c
call fcn.1019d101
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov esi, esp
push 0x101bc0e0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
add esp, 0xc
cmp esi, esp
call fcn.1019d0de
test eax, eax
jne 0x100e6120
cmp dword [ebp - 0x18], 0
je 0x100e6120
push 0x104
mov eax, dword [ebp - 0x18]
push eax
call fcn.100e6620
add esp, 8
test eax, eax
je 0x100e6120
lea ecx, [ebp - 0x44]
call fcn.100a6750
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.100a2b90
push str.Hpp_Hack_CS16_
lea ecx, [ebp - 0x44]
call fcn.100a2b90
mov esi, esp
push 0
lea ecx, [ebp - 0x44]
call fcn.1006a530
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.1019d0de
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp esi, esp
call fcn.1019d0de
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.100cd680
mov ecx, dword [ebp - 0x110]
or ecx, 1
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100681f0
mov eax, dword [ebp + 8]
jmp 0x100e614c
push str.GetSettingsPath
push str.___s:_failed_to_get_settings_path._n
call fcn.1018d870
add esp, 8
mov ecx, dword [ebp + 8]
call fcn.100a6750
mov eax, dword [ebp - 0x110]
or eax, 1
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x100e6188]
call fcn.1019d088
pop eax
pop edx
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.1019d133
add esp, 0x114
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret

Function at 0x100e61d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
lea edi, [ebp - 0x1c]
mov ecx, 7
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101e974c
call fcn.1019d101
mov esi, esp
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0xd5]
call fcn.100e5dc0
push eax
call dword [sym.imp.USER32.dll_EnumWindows]
cmp esi, esp
call fcn.1019d0de
cmp dword [ebp - 0xc], 0
je 0x100e622a
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100e623c
push str.GetWindowHandle
push str.___s:_window_handle_not_found._n
call fcn.1018d870
add esp, 8
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x100e6270]
call fcn.1019d088
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019d133
add esp, 0xdc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret
Function at 0x100f45e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a225d
mov eax, dword fs:[0]
push eax
sub esp, 0x160
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xac]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101e981a
call fcn.1019d101
mov ecx, dword [ebp - 0x18]
call fcn.100f9700
movzx eax, al
test eax, eax
je 0x100f4643
jmp 0x100f4790
mov ecx, dword [ebp + 8]
call fcn.1006a530
push eax
push str._event_:_Loading_settings_with_name__s._n
call fcn.1018d870
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x101e3064
call fcn.10068420
add eax, 0x28
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.100ea400
add esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
push 0
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.1019d0de
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.100f8b80
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
call fcn.100f8bd0
mov dword [ebp - 0x5c], eax
jmp 0x100f46c9
mov eax, dword [ebp - 0x50]
add eax, 0x40
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x5c]
je 0x100f46e9
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.100f51c0
jmp 0x100f46c0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.100f8b80
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x74]
call fcn.100f8bd0
mov dword [ebp - 0x8c], eax
jmp 0x100f471d
mov eax, dword [ebp - 0x80]
add eax, 0x40
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x8c]
je 0x100f4781
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x164], esp
mov ecx, dword [ebp - 0x98]
add ecx, 0x28
push ecx
lea edx, [ebp - 0x38]
push edx
push eax
call fcn.100ea400
add esp, 0xc
call fcn.1018cf70
add esp, 0x18
mov byte [ebp - 0x169], al
movzx eax, byte [ebp - 0x169]
test eax, eax
jne 0x100f477f
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.100f51c0
jmp 0x100f4714
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
push edx
mov ecx, ebp
push eax
lea edx, [0x100f47cc]
call fcn.1019d088
pop eax
pop edx
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.1019d133
add esp, 0x16c
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4
Function at 0x100f4b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x70]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov ecx, 0x101e981c
call fcn.1019d101
mov esi, esp
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100f4b97
mov eax, 0xfffffffd
jmp 0x100f4ce5
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x100f4bc0
mov eax, 0xfffffffd
jmp 0x100f4ce5
cmp dword [ebp - 0x20], 0
jne 0x100f4bcd
xor eax, eax
jmp 0x100f4ce5
push 0x101c1540
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
call fcn.1019dda7
add esp, 8
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x100f4c00
mov eax, 0xfffffffe
jmp 0x100f4ce5
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x20]
mov byte [eax], 0
mov esi, esp
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp esi, esp
call fcn.1019d0de
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x20]
je 0x100f4c92
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.1019c9df
add esp, 4
cmp dword [ebp - 0x11c], 0
jne 0x100f4c7b
mov dword [ebp - 0x130], 0
jmp 0x100f4c8b
mov dword [ebp - 0x2c], 0x8123
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x130], edx
mov eax, 0xfffffffd
jmp 0x100f4ce5
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 8]
call fcn.100f47f0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.1019c9df
add esp, 4
cmp dword [ebp - 0x128], 0
jne 0x100f4cd2
mov dword [ebp - 0x130], 0
jmp 0x100f4ce2
mov dword [ebp - 0x2c], 0x8123
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x44]
pop edi
pop esi
pop ebx
add esp, 0x130
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4
Function at 0x100f51c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a229d
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x40]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101e981a
call fcn.1019d101
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.100ea400
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
mov ecx, dword [ebp - 0x100]
call fcn.100f4d00
mov ecx, dword [ebp + 8]
call fcn.100f0850
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x30], 1
jne 0x100f527d
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [ebp - 0x100], eax
push 1
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
mov ecx, dword [ebp - 0x100]
call fcn.100f6410
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.100d5650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
push edx
mov ecx, ebp
push eax
lea edx, [0x100f52d4]
call fcn.1019d088
pop eax
pop edx
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.1019d133
add esp, 0x100
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 8
Function at 0x100f61a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a238d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x6c]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101e981a
call fcn.1019d101
mov ecx, dword [ebp - 0x18]
call fcn.100f9700
movzx eax, al
test eax, eax
je 0x100f6200
jmp 0x100f62b5
mov ecx, dword [ebp + 8]
call fcn.1006a530
push eax
push str._event_:_Saving_settings_with_name__s._n
call fcn.1018d870
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x101e3064
call fcn.10068420
add eax, 0x28
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.100ea400
add esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
push 0
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.1019d0de
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.100f8b80
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
call fcn.100f8bd0
mov dword [ebp - 0x5c], eax
jmp 0x100f6286
mov eax, dword [ebp - 0x50]
add eax, 0x40
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x5c]
je 0x100f62a6
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.100f51c0
jmp 0x100f627d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
push edx
mov ecx, ebp
push eax
lea edx, [0x100f62f4]
call fcn.1019d088
pop eax
pop edx
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.1019d133
add esp, 0x12c
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4
Function at 0x1010a3b0
Capabilities:
Hash data using jshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101e9a29
call fcn.1019d101
mov dword [ebp - 8], 0x4e67c6a7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jmp 0x1010a3ed
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
je 0x1010a415
mov eax, dword [ebp - 8]
shr eax, 2
mov ecx, dword [ebp - 8]
shl ecx, 5
add eax, ecx
mov edx, dword [ebp - 0x14]
movsx ecx, byte [edx]
add eax, ecx
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1010a3e4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret