Function at 0x4025b0
Capabilities:
Create directory
Delete file

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 0x44996c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x288
mov eax, dword [0x46c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
mov dword [ebp - 4], 0
mov edi, 0xf
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], edi
mov byte [ebp - 0xd0], 0
push str.C:_amphaise.techloaderdata
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004054f0
push 0xb8
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1a0], 0x466f64
cmp dword [ebp - 0x24], edi
lea esi, [ebp - 0x38]
lea ecx, [ebp - 0x130]
cmova esi, dword [ebp - 0x38]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x190]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x190]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x148], 0
mov byte [ebp - 0x153], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x493e98]
mov ecx, dword [0x493e9c]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x158], 0
push ecx
push 1
push esi
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 5
call fcn.00406b70
test eax, eax
jne 0x40276c
push eax
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a4], eax
push 0xc0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 6
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], 0x466f7c
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x250], 0x44c8f8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x1c], 3
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x260]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x264], eax
lea ecx, [ebp - 0x248]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x248]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x200], 0
mov byte [ebp - 0x20b], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x493e98]
mov ecx, dword [0x493e9c]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x210], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
push ecx
cmova eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x248]
push 3
push eax
call fcn.00406b70
test eax, eax
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x260]
push 0
je 0x4028b3
add ecx, dword [eax + 4]
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x4028be
add ecx, dword [eax + 4]
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0x1fc], 0
je 0x402e88
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
lea edx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x260]
call fcn.00407620
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0xb8]
call fcn.004021d0
sub esp, 0x28
mov byte [ebp - 4], 0xb
mov eax, esp
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x48]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.00407820
add esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
push 0x44b5ec
call fcn.004054f0
lea ecx, [ebp - 0x48]
call fcn.00409550
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.00407940
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push 0x44b5f8
call fcn.004054f0
lea ecx, [ebp - 0x48]
call fcn.00409550
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.00407940
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0xf
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
cmova eax, dword [ebp - 0x78]
push 0xffffffffffffffff
push eax
push 0x100
push 0x493b98
call esi
cmp dword [ebp - 0x4c], 0xf
lea eax, [ebp - 0x60]
push 0xffffffffffffffff
cmova eax, dword [ebp - 0x60]
push eax
push 0x100
push 0x493ca0
call esi
add esp, 8
mov ecx, esp
push 0x44b5f8
call fcn.004054f0
lea ecx, [ebp - 0x48]
call fcn.00409550
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x264], esp
push ecx
mov ecx, eax
call fcn.00407940
mov byte [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
push 0x44b5ec
call fcn.004054f0
lea ecx, [ebp - 0x48]
call fcn.00409550
sub esp, 0x18
mov ecx, eax
push esp
call fcn.00407940
mov byte [ebp - 4], 0xe
call fcn.004466c0
add esp, 0x30
lea ecx, [ebp - 0x260]
test al, al
mov eax, dword [ebp - 0x260]
push 0
push 0
je 0x402d53
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.C:_amphaise.tech
call esi
push 0
push str.C:_amphaise.techloader
call esi
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
push ecx
cmova eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x248]
push 2
push eax
call fcn.00406b70
test eax, eax
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x260]
push 0
je 0x402a8a
add ecx, dword [eax + 4]
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x402a95
add ecx, dword [eax + 4]
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
call fcn.004063d0
xorps xmm0, xmm0
lea eax, [ebp - 0x278]
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x278], 0
movq qword [ebp - 0x270], xmm0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x270]
push dword [ebp - 0x278]
call fcn.00406cb0
xorps xmm0, xmm0
mov byte [ebp - 0x278], 3
push 0x18
movlpd qword [ebp - 0x20], xmm0
call fcn.00448581
mov esi, eax
add esp, 4
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x13
push eax
mov ecx, esi
call fcn.00405600
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], eax
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
push 0x44b5ec
call fcn.004054f0
lea ecx, [ebp - 0xa0]
call fcn.00409550
movzx ecx, byte [ebp - 0x278]
mov edi, eax
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
mov byte [ebp - 0x278], dl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x278]
mov dword [edi + 8], eax
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], esi
call fcn.004053e0
xorps xmm0, xmm0
lea eax, [ebp - 0x278]
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x278], 0
movq qword [ebp - 0x270], xmm0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x270]
push dword [ebp - 0x278]
call fcn.00406cb0
xorps xmm0, xmm0
mov byte [ebp - 0x278], 3
push 0x18
movlpd qword [ebp - 0x20], xmm0
call fcn.00448581
mov esi, eax
add esp, 4
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x16
push eax
mov ecx, esi
call fcn.00405600
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], eax
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
push 0x44b5f8
call fcn.004054f0
lea ecx, [ebp - 0xa0]
call fcn.00409550
mov byte [ebp - 4], 0x11
mov edi, eax
movzx ecx, byte [ebp - 0x278]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x270]
mov byte [ebp - 0x278], dl
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x278]
mov dword [edi + 8], eax
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], esi
call fcn.004053e0
sub esp, 0x10
lea eax, [ebp - 0x298]
lea ecx, [ebp - 0xa0]
push eax
call fcn.00405110
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x280]
call fcn.004023f0
mov byte [ebp - 4], 0x19
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x402ca2
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebp - 0x250]
call fcn.0040cae0
mov ecx, dword [ebp - 0x26c]
add esp, 4
cmp ecx, 0xf
jbe 0x402ce9
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402cdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d30
push ecx
push edx
call fcn.00448802
add esp, 8
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
cmp ecx, 0xf
jbe 0x402d40
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d36
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00448802
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.004053e0
mov edi, dword [ebp - 0xbc]
jmp 0x402d6a
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push str.C:_amphaise.techloaderdata
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x402d9e
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402d94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e78
push ecx
push edx
call fcn.00448802
add esp, 8
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x402de4
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402dda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e78
push ecx
push edx
call fcn.00448802
add esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.004053e0
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x402e34
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e78
push ecx
push edx
call fcn.00448802
add esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp ecx, 0xf
jbe 0x402e88
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402e7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e7e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00448802
add esp, 8
mov eax, dword [ebp - 0x260]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x260]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x264], eax
lea ecx, [ebp - 0x248]
call fcn.00405030
lea ecx, [ebp - 0x240]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1e8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1a4], eax
lea ecx, [ebp - 0x190]
call fcn.00405030
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x402f4c
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402f42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fbc
push ecx
push edx
call fcn.00448802
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp edi, 0xf
jbe 0x402f90
mov edx, dword [ebp - 0xd0]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x402f86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fbc
push ecx
push edx
call fcn.00448802
add esp, 8
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x402fcc
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402fc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402fc2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00448802
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448493
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret