joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002ce60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025dd1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x1c], ecx
movzx eax, byte [0x1065efec]
test eax, eax
jne 0x1002ce8e
jmp 0x1002cfdd
mov ecx, dword [0x1065b060]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x10941b68]
cmp ecx, dword [eax + 4]
jle 0x1002cf32
push 0x10941b68
call fcn.1025b73e
add esp, 4
cmp dword [0x10941b68], 0xffffffff
jne 0x1002cf32
push str.Neverlose.xyz___just_the_best
mov ecx, 0x10941b00
call fcn.1001f800
mov dword [ebp - 4], 0
push str.Neverlose.xyz___better_than_luck
mov ecx, 0x10941b18
call fcn.1001f800
mov byte [ebp - 4], 1
push str.Neverlose.xyz___dont_be_owned_anymore
mov ecx, 0x10941b30
call fcn.1001f800
mov byte [ebp - 4], 2
push str.Neverlose.xyz___die_or_buy
mov ecx, 0x10941b48
call fcn.1001f800
mov dword [ebp - 4], 0xffffffff
push 0x10268c00
call fcn.1025bb49
add esp, 4
push 0x10941b68
call fcn.1025b6f4
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10903a10]
cmp eax, 0x320
jbe 0x1002cfdd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10903a10], eax
mov ecx, 0x1065d698
call fcn.101da280
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, reloc.WS2_32.dll_closesocket
jns 0x1002cf7d
dec eax
or eax, 0xfffffffc
inc eax
imul eax, eax, 0x18
add eax, 0x10941b00
push eax
push str.say
lea ecx, [ebp - 0x34]
push ecx
call fcn.10021070
add esp, 0xc
mov dword [ebp - 4], 3
mov ecx, 0x1065d698
call fcn.101d9cb0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1b0]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x34]
call fcn.1001f3d0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10007e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1005b570
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102600f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x10], ecx
push 0x10944e20
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1005b6bb
push 0x10944e20
lea ecx, [ebp - 0x70]
call fcn.1001f800
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.Neverlosecfg_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.100211d0
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.1001f750
lea ecx, [ebp - 0x58]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10007e60
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
push 0x10944e20
lea ecx, [ebp - 0xb8]
call fcn.1001f800
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 1
push str.Neverlosecfg_
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.100211d0
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.10030680
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.1001f750
lea ecx, [ebp - 0x88]
call fcn.10007e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10007e60
push 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
call fcn.1001f3d0
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 0x1005c910
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102600f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x10], ecx
push 0x10944f28
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1005ca5b
push 0x10944f28
lea ecx, [ebp - 0x70]
call fcn.1001f800
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.Neverlosecfg_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.100211d0
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.1001f750
lea ecx, [ebp - 0x58]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10007e60
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
push 0x10944f28
lea ecx, [ebp - 0xb8]
call fcn.1001f800
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 1
push str.Neverlosecfg_
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.100211d0
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.10030680
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.1001f750
lea ecx, [ebp - 0x88]
call fcn.10007e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10007e60
push 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
call fcn.1001f3d0
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 0x1005cae0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026029d
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.1000ee20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1000ee20
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.10032640
lea ecx, [ebp - 0x1c]
call fcn.1005cba0
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.10066be0
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.1001f3d0
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.10007e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.10007e60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10007e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1005cba0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102600f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x10], ecx
push 0x10945030
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1005cceb
push 0x10945030
lea ecx, [ebp - 0x70]
call fcn.1001f800
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.Neverlosecfg_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.100211d0
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.1001f750
lea ecx, [ebp - 0x58]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10007e60
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
push 0x10945030
lea ecx, [ebp - 0xb8]
call fcn.1001f800
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 1
push str.Neverlosecfg_
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.100211d0
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.10030680
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.1001f750
lea ecx, [ebp - 0x88]
call fcn.10007e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10007e60
push 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
call fcn.1001f3d0
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 0x1005cd10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102602cd
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.1000ee20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000bd50
lea ecx, [ebp - 0x18]
call fcn.1005ce20
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.1001f090
push str._.cfg
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.10021140
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x64]
call fcn.1001f3d0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1005cdf5
mov ecx, dword [ebp - 0x1a4]
and ecx, 0x10
jne 0x1005cdd6
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.1001f800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10030300
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10007e60
lea edx, [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1005cd97
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.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10007e60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025d71d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x10], ecx
push 0x10945138
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1005ceb5
push 0x10945138
lea ecx, [ebp - 0x50]
call fcn.1001f800
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push str.Neverlosecfg_
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.100211d0
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.1001f750
lea ecx, [ebp - 0x38]
call fcn.10007e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10007e60
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.1001f3d0
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 0x100607e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x100607fd
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x10060804
mov al, 1
jmp 0x100608f1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
call fcn.10020ed0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
call dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
call fcn.10020ed0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.1002af60
add esp, 8
movzx eax, al
test eax, eax
je 0x1006084a
xor al, al
jmp 0x100608f1
mov dword [ebp - 0x2c], 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x24]
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 - 8], eax
cmp dword [ebp - 8], 0
je 0x1006088d
cmp dword [ebp - 8], 1
je 0x10060894
cmp dword [ebp - 8], 3
je 0x100608e4
jmp 0x100608ef
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0xc], edx
je 0x100608c4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 1
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0xc], eax
je 0x100608c4
xor al, al
jmp 0x100608f1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x100608d8
mov dword [ebp - 0x10], 1
jmp 0x100608df
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
jmp 0x100608f1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x100608f1
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x10061910
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 0x1025d110
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], 0x102be544
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.10064670
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.10061280
mov ecx, dword [ebp - 0x14]
call fcn.100600c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1008f270
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.1008f3b0
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.1025bd18
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 0x10091990
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10262044
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.100acd60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.100acd60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.100acd60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.100acd60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.100acd60
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.100acd60
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.10091890
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.100918d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 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 4
Function at 0x10095260
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], 0x102a7298
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 0x100952c1
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 0x1009527b
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x100952d0
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], 0x102a7298
cmp dword [ebp + 0xc], 0
je 0x10095389
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 0x10095387
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 0x10095364
cmp dword [ebp + 0xc], 2
jb 0x10095364
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10095364
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10095364
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 0x100952fb
jmp 0x100953fe
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 0x100953fe
movzx edx, byte [ebp - 1]
cmp edx, 0x23
jne 0x100953df
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100953df
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100953df
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 0x10095389
mov eax, dword [ebp - 0xc]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x100955e0
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 0x10095600
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