joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d90a
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push edi
mov edi, dword [ebp + 0x198]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x7c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x43d96b
push 0x456eac
mov ecx, edi
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_wchar_t_const__]
jmp 0x43d9b0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x454250
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43d998
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4572c4
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
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_wchar_t_const__]
pop esi
mov ecx, dword [ebp + 0x18c]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00436772
add ebp, 0x190
leave
ret

Function at 0x43d9c8
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push edi
mov edi, dword [ebp + 0x198]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x7c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x43da29
push 0x456eac
mov ecx, edi
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_wchar_t_const__]
jmp 0x43da6e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x454250
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43da56
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4572c4
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
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_wchar_t_const__]
pop esi
mov ecx, dword [ebp + 0x18c]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00436772
add ebp, 0x190
leave
ret
Function at 0x43da86
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push edi
mov edi, dword [ebp + 0x198]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x43dae6
push 0x456eac
mov ecx, edi
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_wchar_t_const__]
jmp 0x43db2b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Xunlei
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43db13
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4572c4
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
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_wchar_t_const__]
pop esi
mov ecx, dword [ebp + 0x18c]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00436772
add ebp, 0x190
leave
ret

Function at 0x43dbb2
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x1fc], eax
push esi
mov esi, dword [ebp + 0x208]
push edi
xor edi, edi
cmp esi, edi
je 0x43dc92
xor eax, eax
cmp ax, word [esi]
je 0x43dc92
lea eax, [ebp - 0x80]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43dc21
test dword [ebp - 0x80], 0x10
jne 0x43dc9d
push 1
push edi
push edi
push dword [ebp - 0x64]
call fcn.00449bc0
mov ecx, dword [ebp - 0x60]
xor esi, esi
add eax, ecx
adc edx, esi
jmp 0x43dca2
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x43dc52
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test dword [ebp - 0x54], 0x10
jne 0x43dc9d
push 1
push edi
push edi
push dword [ebp - 0x38]
call fcn.00449bc0
mov ecx, dword [ebp - 0x34]
jmp 0x43dc16
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43dc9d
push ebx
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
pop ebx
je 0x43dc9d
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
jmp 0x43dca2
push 0x132b3a1
call fcn.0042d89a
pop ecx
or edx, 0xffffffff
mov eax, edx
mov ecx, dword [ebp + 0x1fc]
pop edi
xor ecx, ebp
pop esi
call fcn.00436772
add ebp, 0x200
leave
ret
Function at 0x43df76
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
mov esi, ecx
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call dword [0x451364]
push dword [ebp + 0x10]
lea ecx, [esi + 0x24]
call fcn.0043a221
push dword [ebp + 0x14]
lea ecx, [esi + 0x3c]
call dword [0x451350]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x6c], eax
xor eax, eax
push eax
push eax
push esi
push 0x43dcf6
push eax
push eax
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov al, 1
pop esi
pop ebp
ret 0x1c

Function at 0x43e339
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x43efe4
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x4e0
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x45c], eax
mov eax, dword [ebp + 0x468]
mov ecx, dword [ebp + 0x46c]
push ebx
mov dword [ebp - 0x80], ecx
test eax, eax
je 0x43f0c3
xor ecx, ecx
cmp cx, word [eax]
je 0x43f0c3
push 0x457bb0
push eax
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x43f03c
inc eax
jmp 0x43f0c6
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.0043e339
mov esi, dword [sym.imp.MSVCR90.dll_fread]
push ebx
mov edi, 0x400
push edi
lea eax, [ebp + 0x5c]
push 1
push eax
call esi
add esp, 0x14
jmp 0x43f07c
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0043ed48
push ebx
push edi
lea eax, [ebp + 0x5c]
push 1
push eax
call esi
add esp, 0x1c
test eax, eax
ja 0x43f061
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
call fcn.0043ede6
push 0xd8
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR90.dll_memset
push ebx
call dword [sym.imp.MSVCR90.dll_ferror]
add esp, 0x18
pop edi
pop esi
push ebx
test eax, eax
je 0x43f0b8
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push 2
jmp 0x43f0c5
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
xor eax, eax
jmp 0x43f0c6
push 3
pop eax
mov ecx, dword [ebp + 0x45c]
xor ecx, ebp
pop ebx
call fcn.00436772
add ebp, 0x460
leave
ret
Function at 0x43f0dc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x43f121
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43f121
xor edx, edx
mov eax, esi
shl eax, 3
push 6
pop ecx
div ecx
mov ecx, esi
shl ecx, 3
mov edx, eax
imul edx, edx, 6
sub ecx, edx
dec ecx
dec ecx
je 0x43f114
dec ecx
dec ecx
jne 0x43f117
inc eax
inc eax
jmp 0x43f117
add eax, 3
mov ecx, dword [ebp + 0xc]
inc eax
cmp dword [ecx], eax
jae 0x43f128
mov dword [ecx], eax
push 0xfffffffffffffff0
pop eax
pop edi
pop esi
leave
ret
push ebx
xor edx, edx
push 3
pop ecx
mov eax, esi
div ecx
mov ecx, dword [ebp + 8]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x43f1ac
dec eax
push 3
pop esi
div esi
inc eax
mov dword [ebp + 0x10], eax
imul eax, eax, 3
mov dword [ebp - 4], eax
movzx esi, byte [edi]
inc edi
movzx eax, byte [edi]
mov ebx, esi
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x4542f8]
inc edi
movzx edx, byte [edi]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 4
shl esi, 4
add ebx, esi
and ebx, 0x3f
mov bl, byte [ebx + 0x4542f8]
mov esi, edx
shr esi, 6
inc edi
inc ecx
mov byte [ecx], bl
lea eax, [esi + eax*4]
and eax, 0x3f
mov al, byte [eax + 0x4542f8]
inc ecx
mov byte [ecx], al
and edx, 0x3f
mov al, byte [edx + 0x4542f8]
inc ecx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x10]
jne 0x43f14e
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
cmp edx, esi
jae 0x43f201
movzx eax, byte [edi]
inc edx
cmp edx, esi
jae 0x43f1be
movzx edi, byte [edi + 1]
jmp 0x43f1c0
xor edi, edi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x4542f8]
mov byte [ecx], bl
shl eax, 4
mov ebx, edi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + 0x4542f8]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, esi
jae 0x43f1f9
and edi, 0xf
mov al, byte [edi*4 + 0x4542f8]
mov byte [ecx], al
jmp 0x43f1fc
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [ebp + 8]
pop ebx
mov dword [edx], eax
mov byte [ecx], 0
xor eax, eax
jmp 0x43f124
Function at 0x43f216
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test ebx, ebx
je 0x43f339
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x43f339
xor ecx, ecx
xor edi, edi
xor esi, esi
test edx, edx
jbe 0x43f297
mov eax, edx
sub eax, esi
cmp eax, 2
jb 0x43f253
cmp byte [esi + ebx], 0xd
jne 0x43f253
cmp byte [esi + ebx + 1], 0xa
je 0x43f28e
mov al, byte [esi + ebx]
cmp al, 0xa
je 0x43f28e
cmp al, 0x3d
jne 0x43f268
inc edi
cmp edi, 2
ja 0x43f339
cmp al, 0x7f
ja 0x43f339
movzx eax, al
mov al, byte [eax + 0x454338]
cmp al, 0x7f
je 0x43f339
cmp al, 0x40
jae 0x43f28d
test edi, edi
jne 0x43f339
inc ecx
inc esi
cmp esi, edx
jb 0x43f23d
test ecx, ecx
jne 0x43f29e
xor eax, eax
jmp 0x43f33c
imul ecx, ecx, 6
add ecx, 7
shr ecx, 3
mov eax, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jae 0x43f2b9
mov dword [ecx], eax
push 0xfffffffffffffff0
jmp 0x43f33b
mov eax, dword [ebp + 8]
xor edx, edx
push 3
pop edi
mov dword [ebp - 4], edx
test esi, esi
jbe 0x43f32f
mov cl, byte [ebx]
cmp cl, 0xd
je 0x43f323
cmp cl, 0xa
je 0x43f323
movzx ecx, cl
mov cl, byte [ecx + 0x454338]
xor ebx, ebx
cmp cl, 0x40
sete bl
movzx ecx, cl
and ecx, 0x3f
shl edx, 6
or edx, ecx
sub edi, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jne 0x43f320
and dword [ebp - 4], 0
test edi, edi
jbe 0x43f30b
mov ecx, edx
shr ecx, 0x10
mov byte [eax], cl
inc eax
cmp edi, 1
jbe 0x43f318
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
inc eax
cmp edi, 2
jbe 0x43f320
mov byte [eax], dl
inc eax
mov ebx, dword [ebp + 0x10]
dec esi
inc ebx
mov dword [ebp + 0x10], ebx
test esi, esi
ja 0x43f2c8
mov ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x43f297
push 0xffffffffffffffee
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f7e8
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x118
sub eax, 0x80
push edi
je 0x43f824
sub eax, 0x40
je 0x43f819
sub eax, 0x40
je 0x43f80e
or eax, 0xffffffff
jmp 0x43f904
mov edi, dword [ebp + 8]
mov dword [edi], 0xe
jmp 0x43f82d
mov edi, dword [ebp + 8]
mov dword [edi], 0xc
jmp 0x43f82d
mov edi, dword [ebp + 8]
mov dword [edi], 0xa
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push dword [ebp + 0xc]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.0043f564
mov eax, dword [ebp - 0x118]
shl eax, 4
add eax, dword [ebp - 0x114]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
push 4
pop ecx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edi, dword [edi]
add esi, ecx
dec edi
sub eax, 0x1c
test edi, edi
jle 0x43f8e7
push ebx
mov dword [ebp + 0x10], ecx
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str.cw]
movzx ebx, byte [eax + 2]
movzx ebx, byte [ebx + str.cw]
mov edx, dword [edx*4 + 0x4561b8]
xor edx, dword [ebx*4 + 0x455db8]
movzx ebx, byte [eax + 1]
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x4559b8]
mov ebx, dword [eax]
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x4555b8]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [ebp + 0x10]
jne 0x43f887
dec edi
sub eax, 0x20
test edi, edi
jg 0x43f884
pop ebx
mov edx, dword [eax]
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add esi, ecx
add eax, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
xor eax, eax
pop esi
pop edi
leave
ret
Function at 0x440591
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4405bf
xor al, al
jmp 0x44061e
push 0x228
lea eax, [ebp - 0x22c]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x44060d
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.MSVCR90.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x440613
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4405ed
jmp 0x440615
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436772
leave
ret

Function at 0x443162
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 8]
call fcn.00444947
xor ebx, ebx
mov dword [esi + 0x550], ebx
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [eax]
lea ecx, [esi + 0x554]
push ebx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
lea edi, [esi + 0x5a8]
mov eax, dword [edi]
mov dword [esi + 0x5b0], ebx
mov dword [esi + 0x5b4], ebx
mov dword [esi + 0x5b8], ebx
mov dword [esi + 0x5bc], ebx
cmp eax, 0xffffffff
je 0x4431dd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
cmp dword [esi + 0x5a0], ebx
je 0x4431dd
lea eax, [esi + 0x58c]
cmp dword [eax + 0x18], 8
jb 0x4431d3
mov eax, dword [eax + 4]
jmp 0x4431d6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
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]
push dword [eax]
lea ecx, [esi + 0x570]
push ebx
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__::erase_unsigned_int__unsigned_int_]
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]
push dword [eax]
lea ecx, [esi + 0x58c]
push ebx
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__::erase_unsigned_int__unsigned_int_]
pop edi
pop esi
pop ebx
ret
Function at 0x443642
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push edi
xor edi, edi
cmp dword [eax + 0x14], edi
je 0x4436cc
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], edi
je 0x4436cb
cmp dword [eax + 0x18], 0x10
jb 0x443667
mov eax, dword [eax + 4]
jmp 0x44366a
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004433ca
pop ecx
pop ecx
test al, al
je 0x4436cb
cmp dword [esi + 0x18], 8
jb 0x443685
mov eax, dword [esi + 4]
jmp 0x443688
lea eax, [esi + 4]
push edi
push 0x80
push 3
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4436cb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x4436c4
lea eax, [ebp - 8]
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
leave
ret 8

Function at 0x44372e
Capabilities:
Write file on windows

Disassembly:
push 0x38
mov eax, 0x44ba75
call fcn.00436c9c
mov esi, ecx
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0xc8
jne 0x443847
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
je 0x443847
mov eax, dword [esi + 0x5b8]
or eax, dword [esi + 0x5bc]
jne 0x4437bf
push dword [0x4689a8]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.00441500
cmp dword [eax + 0x18], 0x10
jb 0x443792
mov eax, dword [eax + 4]
jmp 0x443795
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll__atoi64]
pop ecx
lea ecx, [ebp - 0x44]
mov dword [esi + 0x5b8], eax
mov dword [esi + 0x5bc], edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x14]
mov byte [eax], bl
lea eax, [esi + 0x5b0]
add dword [eax], ecx
adc dword [eax + 4], ebx
cmp dword [esi + 0x5a8], 0xffffffff
jne 0x44380b
lea eax, [esi + 0x58c]
cmp dword [eax + 0x18], 8
jb 0x4437ec
mov eax, dword [eax + 4]
jmp 0x4437ef
add eax, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x5a8], eax
mov eax, dword [esi + 0x5a8]
cmp eax, 0xffffffff
je 0x443837
push ebx
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0x14]
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x443837
mov eax, dword [ebp + 0x14]
cmp dword [ebp + 0xc], eax
je 0x443847
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0044322f
jmp 0x443849
xor eax, eax
call fcn.00436d74
ret 0x1c
Function at 0x44526f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4452a3
xor eax, eax
cmp ax, word [esi]
je 0x4452a3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4452ae
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44529f
test al, 0x10
je 0x44529f
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.0042d89a
pop ecx
xor al, al
pop esi
ret

Function at 0x4453a1
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x44bf9d
call fcn.00436c9c
mov ebx, dword [ebp + 0x230]
and dword [ebp - 0x10], 0
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
mov edi, 0x104
push edi
call esi
test eax, eax
je 0x445461
cmp eax, edi
jae 0x445407
lea eax, [ebp + 0x1c]
push eax
jmp 0x445466
lea edi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
mov dword [ebp - 0x10], edi
neg ecx
or ecx, eax
push ecx
call fcn.00436761
mov edi, eax
pop ecx
test edi, edi
je 0x445461
push edi
push dword [ebp - 0x10]
call esi
push eax
push edi
lea ecx, [ebp]
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_wchar_t_const___unsigned_int_]
and dword [ebp - 4], 0
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
pop ecx
lea eax, [ebp]
push eax
mov ecx, ebx
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
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_]
jmp 0x44546e
push 0x456eac
mov ecx, ebx
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_wchar_t_const__]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00436772
add ebp, 0x228
leave
ret