joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006a680
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028e593
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x10], ecx
push 0x108c8818
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1006a7cb
push 0x108c8818
lea ecx, [ebp - 0x70]
call fcn.1002cf20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.SunsetConfigs_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.1002f3c0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.1002ce40
lea ecx, [ebp - 0x58]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10007c90
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
push 0x108c8818
lea ecx, [ebp - 0xb8]
call fcn.1002cf20
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 1
push str.SunsetConfigs_
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.1002f3c0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10041330
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
call fcn.1002ce40
lea ecx, [ebp - 0x88]
call fcn.10007c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10007c90
push 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
call fcn.1002c970
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006b9f0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028e593
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x10], ecx
push 0x108c8710
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1006bb3b
push 0x108c8710
lea ecx, [ebp - 0x70]
call fcn.1002cf20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.SunsetConfigs_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.1002f3c0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.1002ce40
lea ecx, [ebp - 0x58]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10007c90
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
push 0x108c8710
lea ecx, [ebp - 0xb8]
call fcn.1002cf20
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 1
push str.SunsetConfigs_
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.1002f3c0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10041330
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
call fcn.1002ce40
lea ecx, [ebp - 0x88]
call fcn.10007c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10007c90
push 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
call fcn.1002c970
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006bb90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028e73d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.1002d040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1002d040
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x1c]
call fcn.10044920
lea ecx, [ebp - 0x1c]
call fcn.1006bc50
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.1002f770
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.1002c970
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.10007c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.10007c90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10007c90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1006bc50
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028e593
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x10], ecx
push 0x108c8500
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1006bd9b
push 0x108c8500
lea ecx, [ebp - 0x70]
call fcn.1002cf20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.SunsetConfigs_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.1002f3c0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.1002ce40
lea ecx, [ebp - 0x58]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10007c90
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
push 0x108c8500
lea ecx, [ebp - 0xb8]
call fcn.1002cf20
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 1
push str.SunsetConfigs_
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.1002f3c0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.10041330
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
call fcn.1002ce40
lea ecx, [ebp - 0x88]
call fcn.10007c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10007c90
push 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
call fcn.1002c970
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006bdc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028e76d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x34]
call fcn.1002d040
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000bb30
lea ecx, [ebp - 0x18]
call fcn.1006bed0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.1002c630
push str._.cfg
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.1002f330
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x64]
call fcn.1002c970
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1006bea5
mov ecx, dword [ebp - 0x1a4]
and ecx, 0x10
jne 0x1006be86
mov edx, dword [ebp - 0x14]
add edx, 0xc
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1002cf20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10041230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10007c90
lea edx, [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1006be47
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10007c90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1006bed0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028b9ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x10], ecx
push 0x108c8608
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1006bf65
push 0x108c8608
lea ecx, [ebp - 0x50]
call fcn.1002cf20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.SunsetConfigs_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.1002f3c0
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
call fcn.1002ce40
lea ecx, [ebp - 0x38]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10007c90
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.1002c970
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006eef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1028b1e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x50
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x102e07ec
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
push 0
push 0
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x18
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
xor edx, edx
push edx
push ecx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.10071b50
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x44], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x34], edx
sub esp, 0x18
mov eax, esp
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet__]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
push 0
push 0
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.1006e9f0
mov ecx, dword [ebp - 0x14]
call fcn.1006e010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1009b3c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
call fcn.1009b500
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
add eax, 1
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10289dc4
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
shl eax, 2
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, 4
imul eax, edx, 0xffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov ecx, 4
imul ecx, ecx, 0
mov esi, dword [ebp - 4]
mov esi, dword [esi + 4]
mov edx, dword [eax + edx]
mov dword [ecx + esi], edx
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 4]
add edx, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100bbe50
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], 0x102ccbf8
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 0x100bbeb1
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 0x100bbe6b
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x100bbec0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0x102ccbf8
cmp dword [ebp + 0xc], 0
je 0x100bbf79
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x100bbf77
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
cmp eax, 0x23
jne 0x100bbf54
cmp dword [ebp + 0xc], 2
jb 0x100bbf54
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100bbf54
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100bbf54
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx edx, byte [ebp - 2]
xor ecx, edx
mov edx, dword [ebp - 0x10]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xc], eax
jmp 0x100bbeeb
jmp 0x100bbfee
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 4]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x100bbfee
movzx edx, byte [ebp - 1]
cmp edx, 0x23
jne 0x100bbfcf
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100bbfcf
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100bbfcf
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xff
movzx ecx, byte [ebp - 1]
xor eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
jmp 0x100bbf79
mov eax, dword [ebp - 0xc]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x100bc100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x100bc115
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100bc000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100bc135
xor eax, eax
jmp 0x100bc22a
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100bc175
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x100bc175
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x100bc189
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x100bc22a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp + 0x14]
push edx
call fcn.100bf930
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100bc1b8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
jmp 0x100bc22a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
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 eax, dword [ebp - 8]
je 0x100bc1f1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.100bf980
add esp, 4
xor eax, eax
jmp 0x100bc22a
cmp dword [ebp + 0x14], 0
jle 0x100bc20c
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x100bc227
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x100e5350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10894964]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
xorps xmm0, xmm0
movss dword [ecx + 0x2d80], xmm0
cmp dword [ebp + 8], 0
jne 0x100e5374
jmp 0x100e53ca
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
call fcn.100e53d0
add esp, 4
mov dword [ebp - 0x10], eax
push 0x102cc5a0
mov eax, dword [ebp + 8]
push eax
call fcn.100bc000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100e53a6
jmp 0x100e53ca
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x100f4a00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102914b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.1009ce00
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.1009ce00
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.100e5b70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.100e5b70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.100e5b70
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x1c]
call fcn.10013b00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x24]
call fcn.10013b00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov dword [ebp - 0x14], 0
jmp 0x100f4b1c
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 1
jge 0x100f4b32
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx*4 + 0x58], 0xffffffff
jmp 0x100f4b13
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100f7110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10291583
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.100e5b70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.100e5b70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.100e5b70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1009ce00
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [ecx + 0xc], xmm0
mov edx, 0x3f
mov eax, dword [ebp - 0x10]
mov word [eax + 0x42], dx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x18]
call fcn.10013b00
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0x40], cx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x54], 0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x102e6f1c]
movss dword [ecx + 0x44], xmm0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [edx + 0x4c], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x48], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret