joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4babd2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push str.DBMS_Server
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
jne 0x405c2c
lea ecx, [esp + 0xc]
call dword [0x4bd7a8]
push 0x44
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x84], ebx
call sub.MSVCR90.dll_memset
xor eax, eax
mov ecx, 1
mov word [esp + 0x60], cx
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 3
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00404270
mov byte [esp + 0x78], 1
mov edx, dword [eax]
push edx
lea eax, [esp + 0x10]
push str._sKcLepDBServer.exe
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call fcn.00404270
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x18]
push ebx
push 0x20
push ebx
push ebx
push ebx
push 0x4bd9a4
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp esi, ebx
je 0x405c22
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x70
ret
Function at 0x406060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba3f7
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x4ce028]
xor eax, esp
mov dword [esp + 0x3ac], eax
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x3b8]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call dword [0x4bd7a8]
push 0x208
lea eax, [esp + 0x1a8]
push 0
push eax
mov dword [esp + 0x3cc], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx edx, word [esp + 0x1a4]
push edx
lea eax, [esp + 8]
push str._c:KcLepExamDBKcLepLevelInfo.dat
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push 0x184
lea ecx, [esp + 0x2c]
push 0
push ecx
call sub.MSVCR90.dll_memset
add esp, 0x18
lea ecx, [esp + 0xc]
call sub.mfc90u.dll_CFile::CFile
push 0
mov byte [esp + 0x3c4], 1
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x4061f4
lea ecx, [esp + 0xc]
call sub.mfc90u.dll_CFile::GetLength
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call sub.mfc90u.dll_CFile::Read
lea ecx, [esp + 0xc]
call sub.mfc90u.dll_CFile::Close
push 0x14
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x80]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x406170
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x14
lea edx, [esp + 0xc]
push edx
lea ecx, [esi + 0x84]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov ecx, dword [eax]
lea edx, [esp + 0x56]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4061a4
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 4]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x18]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x4061f4
push 0x184
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call sub.mfc90u.dll_CFile::Write
lea ecx, [esp + 0xc]
call sub.mfc90u.dll_CFile::Close
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c0], 0
call fcn.0042ba7e
lea ecx, [esp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x3b8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x3ac]
xor ecx, esp
call fcn.0042bebe
mov esp, ebp
pop ebp
ret
Function at 0x406790
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ba3c1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x14], vtable.CRegistryKey.0
mov dword [esp + 0x18], 0x80000002
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0
call dword [0x4bd7a8]
lea eax, [esp + 4]
push str.SOFTWARENewGenRebirthEdu
push eax
mov byte [esp + 0x2c], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [esp + 0xc]
add esp, 8
lea ecx, [esp + 8]
push ecx
push 1
push 0
push edx
push 0x80000002
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406854
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.PackingDate
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xc], 0x134b0b2
jge 0x406870
lea ecx, [esp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x24
ret
lea ecx, [esp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x24
ret
Function at 0x408700
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, eax
add esi, dword [esp + 0x28]
call edi
cmp eax, esi
jae 0x408754
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
je 0x40874c
lea ecx, [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
call edi
cmp eax, esi
jb 0x408727
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x408b00
Capabilities:
Create directory

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
or esi, 0xffffffff
cmp word [edi], 0
je 0x408beb
cmp word [edi + 2], 0x3a
jne 0x408b2a
cmp word [edi + 4], 0
je 0x408beb
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.MSVCR90.dll__wstat64i32]
add esp, 8
test eax, eax
jne 0x408b5b
mov esi, dword [esp + 0x16]
and esi, 0xf000
sub esi, 0x4000
neg esi
sbb esi, esi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0
push edi
call dword [sym.imp.MSVCR90.dll__waccess]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
je 0x408beb
mov ebp, dword [sym.imp.MSVCR90.dll__wmkdir]
push edi
xor esi, esi
call ebp
add esp, 4
test eax, eax
je 0x408beb
call dword [sym.imp.MSVCR90.dll__errno]
cmp dword [eax], 0xd
je 0x408bd6
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x408bd6
movzx eax, ax
lea esp, [esp]
cmp ax, 0x5c
je 0x408bac
cmp ax, 0x2f
jne 0x408bae
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x408ba0
test esi, esi
je 0x408bd6
movzx ebx, word [esi]
xor ecx, ecx
push edi
mov word [esi], cx
call fcn.00408b00
add esp, 4
mov word [esi], bx
test eax, eax
je 0x408be3
or esi, 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push edi
call ebp
add esp, 4
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x409bc0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b9ae1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
lea ecx, [esp + 0xc]
call dword [0x4bd7a0]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call sub.mfc90u.dll_CFileFind::CFileFind
mov eax, esi
mov byte [esp + 0x30], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409c13
sub eax, edx
sar eax, 1
cmp eax, 3
jne 0x409c67
cmp word [esi + 2], 0x3a
jne 0x409c3c
cmp word [esi + 4], 0x5c
jne 0x409c3c
push 0x4bf538
jmp 0x409c8c
mov eax, dword [esp + 8]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
lea ecx, [esp + 8]
cmp ax, 0x5c
jne 0x409c60
push 0x4bf538
jmp 0x409c90
push str..
jmp 0x409c90
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
jne 0x409c87
push 0x4bf538
jmp 0x409c8c
push str..
lea ecx, [esp + 0xc]
call dword [0x4bd4b8]
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x14]
call sub.mfc90u.dll_CFileFind::FindFile
test eax, eax
je 0x409cdf
lea ebx, [ebx]
lea ecx, [esp + 0xc]
call sub.mfc90u.dll_CFileFind::FindNextFileW
mov esi, eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x40]
push 0x10
lea ecx, [esp + 0x10]
call edx
test eax, eax
je 0x409cdb
lea ecx, [esp + 0xc]
call sub.mfc90u.dll_CFileFind::IsDots
test eax, eax
je 0x409d0c
test esi, esi
jne 0x409cb0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0042baa8
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0042baa8
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x409fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba948
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
push 1
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_unsigned_int__wchar_t_]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call dword [0x4bd25c]
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4
Function at 0x40c200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bba98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov cl, byte [eax + 0xc]
shr cl, 3
test cl, 1
jne 0x40c23d
mov al, 1
jmp 0x40c34c
xor esi, esi
cmp dword [eax + 0x1c], esi
ja 0x40c260
jb 0x40c24c
cmp dword [eax + 0x18], 0xffffffff
jae 0x40c260
cmp dword [eax + 0x24], esi
ja 0x40c260
jb 0x40c259
cmp dword [eax + 0x20], 0xffffffff
jae 0x40c260
mov ebp, 4
jmp 0x40c265
mov ebp, 8
lea ebx, [ebp + ebp + 4]
lea edi, [ebx + 4]
mov dword [esp + 0x1c], vtable.CZipAutoBuffer.0
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
cmp edi, esi
je 0x40c295
jbe 0x40c291
push edi
call sub.mfc90u.dll_new
add esp, 4
mov esi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x44]
push 0
push esi
mov eax, edi
mov dword [esp + 0x40], 0
call fcn.00412290
mov edx, dword [esi]
cmp edx, dword [str.PK_a_b]
jne 0x40c2cc
lea eax, [esi + ebx]
push 0
push eax
mov ebx, 4
mov eax, edi
call fcn.00412290
lea edi, [esi + 4]
jmp 0x40c2ce
mov edi, esi
mov ebx, dword [edi]
push ebp
lea ecx, [edi + 4]
xor eax, eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call sub.MSVCR90.dll_memcpy
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push ebp
lea eax, [edi + ebp + 4]
push eax
lea ecx, [esp + 0x30]
push ecx
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x58]
add esp, 0x18
cmp ebx, dword [eax + 0x14]
jne 0x40c337
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x18]
jne 0x40c337
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x1c]
jne 0x40c337
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x20]
jne 0x40c337
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x24]
jne 0x40c337
mov bl, 1
jmp 0x40c339
xor bl, bl
push esi
mov dword [esp + 0x3c], 0xffffffff
call sub.mfc90u.dll_delete
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8

Function at 0x40d220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba168
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov edi, 0x4be690
call fcn.00409ee0
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call dword [0x4bd25c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x40d290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba142
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.0040d1c0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8

Function at 0x40d4a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba0d2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], 0
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.0040d1c0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 0xc
Function at 0x40d530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba0d2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
push esi
mov dword [esp + 0x38], 1
call fcn.0040d1c0
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8

Function at 0x40da70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4baa31
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4ce028]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebp
push esi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
lea eax, [edi + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0
call fcn.00402e30
lea edx, [edi + 4]
push edx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x7c], 1
call fcn.00402e30
mov byte [esp + 0x74], 2
cmp dword [esp + 0x44], 0
je 0x40daf2
cmp dword [esp + 0x60], 0
je 0x40daf2
push 0x5c
lea esi, [esp + 0x34]
call fcn.00409fb0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [edi + 0x74]
call fcn.0040d290
lea ecx, [esp + 0x4c]
push ecx
push ebp
mov ecx, eax
mov byte [esp + 0x7c], 3
call fcn.0040d290
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x74], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0042bebe
add esp, 0x6c
ret 4
Function at 0x4110a0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4bb8a6
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4ce028]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push esi
push edi
mov eax, dword [0x4ce028]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf4]
xor ebx, ebx
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.0040d7d0
lea esi, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dword [esp + 0xec], ebx
call fcn.00411080
mov byte [esp + 0xec], 1
mov eax, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x411135
lea eax, [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
push eax
call esi
test eax, eax
jne 0x4111a9
lea eax, [esp + 0x30]
call fcn.0040a0c0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x411168
lea eax, [esp + 0x34]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call esi
test eax, eax
jne 0x4111a9
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xec], 0xffffffff
call fcn.00417ed0
xor eax, eax
xor edx, edx
jmp 0x4111da
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xec], 0xffffffff
call fcn.00417ed0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.0042bebe
add esp, 0xe0
ret

Function at 0x411210
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x20
push ebx
push esi
push 1
lea esi, [esp + 0x10]
call fcn.00418020
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x41122e
mov eax, dword [eax + 4]
jmp 0x411231
add eax, 4
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea ecx, [esp + 0xc]
setne bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop esi
mov al, bl
pop ebx
add esp, 0x20
ret