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

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, 0x684c14
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x20], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x20]
and ecx, 3
mov ebp, dword [esp + 0x12c]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x128]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
jne 0x40bdaa
lea ebp, [esp + 0x1e]
push 0
push 0x80
push 3
push 0
push 0
lea eax, [esp + 0x34]
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40bddb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x40bdf4
lea edx, [eax - 2]
mov dword [ecx], edx
lea ebx, [eax - 2]
mov eax, dword [esp + 0x128]
push eax
push 0x106
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push ebx
call fcn.00415350
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40be2c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
lea ecx, [esp + 0x14]
push 0
push ecx
push 2
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x128]
xor eax, eax
mov ax, word [ebp]
push esi
push 0x10b
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
shl eax, 2
push eax
call fcn.00415350
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40bea1
push esi
push 0x10c
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push edi
call fcn.00415390
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
xor esi, esi
mov dword [esp + 0x10], 0
cmp word [ebp], si
jbe 0x40beee
mov ebx, eax
lea eax, [esi + edi]
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
mov cx, word [edi + esi + 2]
mov dx, word [eax]
imul ecx, edx
push eax
lea esi, [esi + ecx*2 + 4]
call 0x410261
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebp]
add esp, 4
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40beb3
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x40bf50
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, 0x6955f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x20], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebp, dword [esp + 0x128]
and ecx, 3
lea edx, [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x12c]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x40bfd3
lea eax, [esp + 0x1e]
mov dword [esp + 0x12c], eax
push 0
push 0x80
push 3
push 0
push 0
lea ecx, [esp + 0x34]
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c004
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x40c01d
lea edx, [eax - 2]
mov dword [ecx], edx
push ebp
lea ebx, [eax - 2]
push 0x1b3
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push ebx
call fcn.00415350
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40c04e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov ecx, dword [esp + 0x12c]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x14]
push 0
push eax
push 2
push ecx
push esi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x12c]
mov esi, dword [esp + 0x128]
xor eax, eax
push esi
mov ax, word [ebp]
push 0x1b8
shl eax, 2
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push eax
call fcn.00415350
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40c0cf
push esi
push 0x1b9
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push edi
call fcn.00415390
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
xor esi, esi
mov dword [esp + 0x10], 0
cmp word [ebp], si
jbe 0x40c125
mov ebx, eax
lea ecx, [esi + edi]
xor eax, eax
add esi, 2
mov ax, word [ecx]
mov dword [ebx], ecx
test eax, eax
jbe 0x40c100
xor ecx, ecx
dec eax
mov cx, word [edi + esi + 4]
lea esi, [esi + ecx*2 + 6]
jne 0x40c0f2
mov edx, dword [ebx]
push edx
call fcn.00412340
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebp]
add esp, 4
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40c0e1
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x40c180
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov edi, 0x684b10
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x20], 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebp, dword [esp + 0x128]
and ecx, 3
lea edx, [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x12c]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x40c203
lea eax, [esp + 0x1e]
mov dword [esp + 0x12c], eax
push 0
push 0x80
push 3
push 0
push 0
lea ecx, [esp + 0x34]
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c234
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x40c24d
lea edx, [eax - 2]
mov dword [ecx], edx
push ebp
lea ebx, [eax - 2]
push 0x286
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push ebx
call fcn.00415350
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40c27e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
mov ecx, dword [esp + 0x12c]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x14]
push 0
push eax
push 2
push ecx
push esi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
push ebx
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x12c]
mov esi, dword [esp + 0x128]
xor eax, eax
push esi
mov ax, word [ebp]
push 0x28b
shl eax, 2
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push eax
call fcn.00415350
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
jne 0x40c2ff
push esi
push 0x28c
push str.C:SOURCEBASEDEMOMyDDrawSourceGameTool.cpp
push edi
call fcn.00415390
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
xor esi, esi
mov dword [esp + 0x10], 0
cmp word [ebp], si
jbe 0x40c36f
mov ebx, eax
lea ecx, [esi + edi]
xor eax, eax
add esi, 2
mov ax, word [ecx]
mov dword [ebx], ecx
test eax, eax
jbe 0x40c34a
mov ecx, eax
mov ax, word [edi + esi + 4]
test ah, 0x80
je 0x40c33e
and eax, 0x7fff
add eax, 2
lea edx, [eax + esi]
lea esi, [edx + eax*2]
jmp 0x40c347
and eax, 0xffff
lea esi, [esi + eax*2 + 6]
dec ecx
jne 0x40c324
mov eax, dword [ebx]
push eax
call 0x4123ab
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebp]
add esp, 4
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40c311
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x40fcd4
Capabilities:
Read file on windows

Disassembly:
push eax
push ebx
push ecx
push edx
push esi
push edi
mov ecx, dword [0x4256ea]
mov edi, dword [0x4256e6]
push esi
push edi
cmpsw word [esi], word es:[edi]
pop edi
pop esi
je 0x40fcf9
add edi, 4
loop 0x40fce6
stc
jmp 0x40fd80
xor edx, edx
movzx eax, word [edi + 2]
cmp ebx, 0x10
jne 0x40fd43
mov ebx, 0x1e
mul ebx
mov edx, eax
mov ebx, dword [0x4256ee]
xor eax, eax
push eax
mov eax, 0x4256d2
push eax
push edx
push ebx
call sub.KERNEL32.dll_SetFilePointer
pop edx
push edx
mov ecx, 0x1e
mov ebx, dword [0x4256ee]
xor eax, eax
push eax
mov eax, 0x4256d6
push eax
push ecx
push edx
push ebx
call sub.KERNEL32.dll_ReadFile
jmp 0x40fd80
mov ebx, 0x48
mul ebx
mov edx, eax
mov ebx, dword [0x4256f2]
xor eax, eax
push eax
mov eax, 0x4256d2
push eax
push edx
push ebx
call sub.KERNEL32.dll_SetFilePointer
pop edx
push edx
mov ecx, 0x48
mov ebx, dword [0x4256f2]
xor eax, eax
push eax
mov eax, 0x4256d6
push eax
push ecx
push edx
push ebx
call sub.KERNEL32.dll_ReadFile
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
ret

Function at 0x412960
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, 0x10
jne 0x412978
mov al, byte [0x697b78]
pop esi
and al, 0xfc
mov byte [0x697b78], al
ret
cmp esi, 0x11
jne 0x41298b
mov al, byte [0x697b78]
pop esi
and al, 0xfb
mov byte [0x697b78], al
ret
cmp esi, 0x12
jne 0x41299e
mov al, byte [0x697b78]
pop esi
and al, 0xf7
mov byte [0x697b78], al
ret
mov cl, byte [0x6961d8]
mov dl, byte [0x696aa0]
mov al, cl
inc eax
and eax, 0x3f
cmp al, dl
je 0x412a5c
and esi, 0xff
test byte [esi + 0x696bec], 1
je 0x412a5c
xor eax, eax
cmp esi, 0x41
mov dword [0x696ac4], eax
jl 0x4129ff
cmp esi, 0x5a
jg 0x4129ff
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x4129f4
mov eax, 1
mov dword [0x696ac4], eax
jmp 0x4129f9
mov eax, dword [0x696ac4]
mov cl, byte [0x6961d8]
test byte [0x697b78], 3
je 0x412a16
xor edx, edx
test eax, eax
sete dl
mov eax, edx
mov dword [0x696ac4], eax
test eax, eax
mov eax, dword [0x6961d8]
mov byte [esi + 0x696bec], 0
je 0x412a35
mov dx, word [esi*2 + 0x42c834]
and eax, 0xff
jmp 0x412a42
mov dx, word [esi*2 + 0x42c634]
and eax, 0xff
inc cl
mov word [eax*2 + 0x6966dc], dx
and cl, 0x3f
mov byte [eax + 0x696a60], 2
mov byte [0x6961d8], cl
pop esi
ret
Function at 0x4140a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 0
push eax
push 8
push ecx
push esi
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41411e
mov ebp, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.00415490
add esp, 0xc
test eax, eax
je 0x4140f1
push 1
push 0
push 0xfffffffffffffff9
push esi
call edi
push 4
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00415490
add esp, 0xc
test eax, eax
je 0x41412b
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 8
push edx
push esi
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4140d4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
mov dword [ebp + 4], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4187dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42f720
cmp edx, dword [eax]
je 0x4187ff
add eax, 8
inc ecx
cmp eax, 0x42f7b0
jl 0x4187f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42f720]
jne 0x41892d
mov eax, dword [0x69892c]
cmp eax, 1
je 0x418907
test eax, eax
jne 0x418830
cmp dword [0x42f434], 1
je 0x418907
cmp edx, 0xfc
je 0x41892d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x418867
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041a770
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00419950
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4188aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.00419950
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41eaec
push edi
call fcn.00415900
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041a770
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041a780
lea eax, [ebp - 0xa0]
push 0x41eacc
push eax
call fcn.0041a780
push dword [esi + 0x42f724]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041a780
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041a860
add esp, 0x2c
pop edi
jmp 0x41892d
lea eax, [ebp + 8]
lea esi, [esi + 0x42f724]
push 0
push eax
push dword [esi]
call fcn.00419950
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x41c70c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c72c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419b25
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41c74d
test byte [esp + 8], 2
je 0x41c74d
mov dword [0x6988d8], 0xd
mov dword [0x6988dc], 5
jmp 0x41c728
xor eax, eax
ret
Function at 0x4112d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0aab
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd8]
push 0x84
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00472ad0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push edi
push 0x4db8c0
push eax
mov dword [ebp - 4], 0
call fcn.00473280
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x4113b1
cmp ecx, 0x2200
ja 0x4113b1
test eax, eax
jne 0x4113aa
cmp ecx, 0x1c00
ja 0x4113aa
test eax, eax
jne 0x4113a3
cmp ecx, 0xe00
ja 0x4113a3
test eax, eax
jne 0x41139c
cmp ecx, 0xa00
ja 0x41139c
mov eax, 0x300
jmp 0x4113b6
mov eax, 0x400
jmp 0x4113b6
mov eax, 0x800
jmp 0x4113b6
mov eax, 0xc00
jmp 0x4113b6
mov eax, 0x1000
cmp edi, eax
jne 0x4113d0
mov ecx, str.recommend_postfix
call fcn.0040d1d0
push eax
lea ecx, [ebp - 0xd8]
call fcn.00472d90
mov esi, dword [ebx]
lea ecx, [ebp - 0xd8]
call fcn.00427b10
push eax
mov ecx, ebx
call dword [esi + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0xd8]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebx + 0x760]
mov edx, dword [ecx]
push 0
mov eax, dword [eax]
cmp dword [eax + 0x63c], edi
sete al
movzx eax, al
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.00472b90
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.004bddec
mov esp, ebp
pop ebp
ret 8
Function at 0x41db90
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
cmp esi, ebx
je 0x41dbdb
jmp 0x41dbb0
mov edi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, edi
jle 0x41dbdb
add esi, 4
cmp esi, ebx
jne 0x41dbb0
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bddec
mov esp, ebp
pop ebp
ret

Function at 0x41e7c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1f6e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x501320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0041eaf0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0041eaf0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x41e8d4
test dl, 0x10
jne 0x41e8d4
mov eax, 1
jmp 0x41e8d6
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.0041e970
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x424f40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x424f71
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x424f60
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x427b90
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
cmp eax, 2
je 0x427bf7
cmp eax, 1
je 0x427bf7
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x427c91
cmp ecx, 0x2200
ja 0x427c91
push eax
push ecx
call fcn.0045ab40
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x427c91
cmp ecx, 0x2200
ja 0x427c91
test eax, eax
jne 0x427c7e
cmp ecx, 0x1c00
ja 0x427c7e
test eax, eax
jne 0x427c6b
cmp ecx, 0xe00
ja 0x427c6b
test eax, eax
jne 0x427c58
cmp ecx, 0xa00
ja 0x427c58
mov eax, 0x300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
mov eax, 0x400
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
mov eax, 0x800
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
mov eax, 0xc00
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1000
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x42c950
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3243
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push ecx
call fcn.0042aea0
lea edx, [edi + 0x30]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [edx], vtable.._AV___Func_impl_U___Callable_obj_V___Bind__0A_XV_lambda_bbc12383067bcba1b0c05b4b35d7943c______V_std___0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov eax, dword [eax]
mov dword [edx + 4], eax
mov dword [edx + 0x10], edx
mov dword [ebp - 4], 2
lea ebx, [edi + 0x48]
mov dword [edi], vtable.std::_Task_async_state_void__0_.0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebp - 4], 3
lea eax, [edi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x2c
mov esi, esp
sub esp, 8
mov ecx, esp
call fcn.00428df0
mov ecx, esi
call fcn.004288a0
lea ecx, [esi + 0xc]
call fcn.00428db0
mov dword [esi + 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x14], 0
push edi
mov word [esi + 0x28], 0
call fcn.0042cea0
add esp, 0x30
cmp ebx, eax
je 0x42ca30
push eax
mov ecx, ebx
call fcn.0042ab60
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x42ca5c
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x42ca5c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x42ca5c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov byte [edi + 0x26], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret 4
Function at 0x42d6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3488
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x501320]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x501320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCreate_void__]
push 0x4fc9e4
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopyException_void___void_const___void_const__]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopy_void___void_const__]
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrDestroy_void__]
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004bddec
mov esp, ebp
pop ebp
ret