Function at 0x40e020
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452004
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x4691b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x5ac], esi
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x594], eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x588], eax
mov eax, esi
jb 0x40e06f
mov eax, dword [esi]
push 0
push eax
call fcn.0042fcf3
add esp, 8
test eax, eax
jne 0x40e0a5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40e088
mov eax, dword [esi]
lea ecx, [ebp - 0x540]
push ecx
push eax
call fcn.00430532
mov eax, dword [ebp - 0x53a]
add esp, 8
shr eax, 0xe
test al, 1
jne 0x40e0d9
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40e0af
mov eax, dword [esi]
push eax
call fcn.0043053d
add esp, 4
test eax, eax
je 0x40e0d9
cmp dword [esi + 0x14], 0x10
jb 0x40e0c4
mov esi, dword [esi]
push esi
push str.failed_to_create_the_directory:__s_n
call fcn.0040dff0
add esp, 8
xor al, al
jmp 0x40e8ba
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x40e0e3
mov eax, dword [edi]
lea ecx, [ebp - 0x418]
push ecx
push 0
push eax
call fcn.004113c0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x584], ecx
test ecx, ecx
jne 0x40e11e
cmp dword [edi + 0x14], 0x10
jb 0x40e109
mov edi, dword [edi]
push edi
push str.failed_to_open:__s_n
call fcn.0040dff0
add esp, 8
xor al, al
jmp 0x40e8ba
cmp dword [0x46bd2c], 0
je 0x40e167
cmp dword [0x46bd30], 0x10
mov eax, 0x46bd1c
cmovae eax, dword [0x46bd1c]
push eax
push ecx
call fcn.00411760
add esp, 8
test eax, eax
jns 0x40e161
push dword [ebp - 0x584]
call fcn.004100b0
push eax
push str.failed_to_set_password:__s_n
call fcn.0040dff0
add esp, 0xc
mov ecx, dword [ebp - 0x584]
xorps xmm0, xmm0
push 0
push ecx
movlpd qword [ebp - 0x5a8], xmm0
call fcn.0040ecd0
add esp, 8
test edx, edx
jl 0x40e88d
jg 0x40e18f
test eax, eax
je 0x40e88d
mov eax, dword [ebp - 0x5a4]
mov edi, dword [ebp - 0x5a8]
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x598], edi
lea ecx, [ebp - 0x580]
push ecx
push 0
push eax
push edi
push dword [ebp - 0x584]
call fcn.004117b0
add esp, 0x14
test eax, eax
jne 0x40e219
push str._n
call fcn.0040dff0
push dword [ebp - 0x578]
push str.name:__s_n
call fcn.0040dff0
push dword [ebp - 0x56c]
push dword [ebp - 0x570]
push str.index:__llu_n
call fcn.0040dff0
push dword [ebp - 0x564]
push dword [ebp - 0x568]
push dword [ebp - 0x55c]
push dword [ebp - 0x560]
push str.size:__llu____llu_n
call fcn.0040dff0
add esp, 0x2c
mov edx, dword [ebp - 0x578]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x420], 0
movups xmmword [ebp - 0x430], xmm0
mov dword [ebp - 0x41c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e242
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x430]
call fcn.0040c460
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x430]
cmp dword [ebp - 0x41c], 0x10
mov edi, dword [ebp - 0x430]
mov eax, dword [ebp - 0x420]
cmovae ecx, edi
mov dword [ebp - 0x5a4], edi
cmp byte [eax + ecx - 1], 0x2f
jne 0x40e3b2
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x414], 0x5c
cmp ecx, 0x7fffffff
je 0x40e8da
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40e2ac
mov eax, dword [esi]
push 1
lea edx, [ebp - 0x414]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x528]
call fcn.0040cb80
or dword [ebp - 0x588], 1
mov byte [ebp - 4], 1
lea edx, [ebp - 0x528]
push dword [ebp - 0x578]
lea ecx, [ebp - 0x448]
call fcn.0040b930
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x514]
cmp ecx, 0x10
jb 0x40e32c
mov edx, dword [ebp - 0x528]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e322
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d5
push ecx
push edx
call fcn.00424e41
add esp, 8
cmp dword [ebp - 0x434], 0x10
lea eax, [ebp - 0x448]
cmovae eax, dword [ebp - 0x448]
push eax
call fcn.0043053d
add esp, 4
test eax, eax
je 0x40e36f
cmp dword [ebp - 0x434], 0x10
lea eax, [ebp - 0x448]
cmovae eax, dword [ebp - 0x448]
push eax
push str.failed_to_create_the_directory:__s_n
call fcn.0040dff0
add esp, 8
mov ecx, dword [ebp - 0x434]
cmp ecx, 0x10
jb 0x40e811
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e3a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d5
push ecx
push edx
call fcn.00424e41
add esp, 8
jmp 0x40e811
push 0
push dword [ebp - 0x58c]
push dword [ebp - 0x598]
push dword [ebp - 0x584]
call fcn.004100c0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x590], edi
test edi, edi
jne 0x40e437
push dword [ebp - 0x584]
call fcn.004100b0
push eax
push str.failed_to_open_the_zip_source_file:__s_n
call fcn.0040dff0
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, dword [ebp - 0x41c]
cmp eax, 0x10
jb 0x40e84e
mov edx, dword [ebp - 0x5a4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e430
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d5
push ecx
push edx
jmp 0x40e846
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x414], 0x5c
cmp ecx, 0x7fffffff
je 0x40e8da
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40e457
mov eax, dword [esi]
push 1
lea edx, [ebp - 0x414]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x5c4]
call fcn.0040cb80
or dword [ebp - 0x588], 2
mov byte [ebp - 4], 2
lea edx, [ebp - 0x5c4]
push dword [ebp - 0x578]
lea ecx, [ebp - 0x460]
call fcn.0040b930
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5b0]
cmp ecx, 0x10
jb 0x40e4d7
mov edx, dword [ebp - 0x5c4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e4cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d5
push ecx
push edx
call fcn.00424e41
add esp, 8
push 0xb0
lea eax, [ebp - 0x510]
mov dword [ebp - 0x5b4], 0
push 0
push eax
mov dword [ebp - 0x5b0], 0xf
mov byte [ebp - 0x5c4], 0
call fcn.00425ee0
cmp dword [ebp - 0x44c], 0x10
lea esi, [ebp - 0x460]
mov dword [ebp - 0x510], 0x464534
cmovae esi, dword [ebp - 0x460]
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a8]
mov eax, dword [ebp - 0x588]
add esp, 8
or eax, 4
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x588], eax
mov dword [ebp - 0x594], eax
lea eax, [ebp - 0x50c]
push eax
mov dword [ebp - 0x4ac], 0x60
call fcn.0040b2e0
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x510]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x514], eax
lea ecx, [ebp - 0x50c]
call fcn.0040aff0
push ecx
push 0x22
push esi
lea ecx, [ebp - 0x50c]
mov byte [ebp - 4], 8
call fcn.0040ae20
test eax, eax
jne 0x40e606
mov eax, dword [ebp - 0x510]
lea ecx, [ebp - 0x510]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004029c0
mov byte [ebp - 4], 9
xorps xmm0, xmm0
cmp dword [ebp - 0x564], 0
movlpd qword [ebp - 0x5a0], xmm0
jb 0x40e6d8
ja 0x40e631
cmp dword [ebp - 0x568], 0
jbe 0x40e6d8
mov eax, dword [ebp - 0x59c]
mov dword [ebp - 0x594], eax
mov eax, dword [ebp - 0x5a0]
mov dword [ebp - 0x59c], eax
nop dword [eax]
push 0
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call fcn.00410020
mov edi, edx
add esp, 0x10
mov esi, eax
test edi, edi
jl 0x40e6bf
jg 0x40e675
test esi, esi
jb 0x40e6bf
push edi
push esi
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x510]
call fcn.0040e970
mov eax, dword [ebp - 0x59c]
mov ecx, dword [ebp - 0x594]
add eax, esi
mov dword [ebp - 0x59c], eax
adc ecx, edi
mov edi, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
cmp ecx, dword [ebp - 0x564]
jb 0x40e650
ja 0x40e6d2
cmp eax, dword [ebp - 0x568]
jb 0x40e650
jmp 0x40e6d2
push dword [ebp - 0x578]
push str.failed_to_read_a_data:__s_n
call fcn.0040dff0
add esp, 8
mov edi, dword [ebp - 0x590]
lea ecx, [ebp - 0x50c]
call fcn.0040ad30
test eax, eax
jne 0x40e710
mov eax, dword [ebp - 0x510]
lea ecx, [ebp - 0x510]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004029c0
push edi
call fcn.0040fff0
add esp, 4
test eax, eax
je 0x40e736
push dword [ebp - 0x584]
call fcn.004100b0
push eax
push str.failed_to_close_the_zip_source_file:__s_n
call fcn.0040dff0
add esp, 0xc
mov eax, dword [ebp - 0x510]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x514], eax
lea ecx, [ebp - 0x50c]
call fcn.00409c60
mov eax, dword [ebp - 0x510]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x514], eax
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004240c0
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x44c]
cmp ecx, 0x10
jb 0x40e7ea
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e7e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d5
push ecx
push edx
call fcn.00424e41
add esp, 8
mov esi, dword [ebp - 0x5ac]
mov edi, dword [ebp - 0x5a4]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x41c]
cmp eax, 0x10
jb 0x40e84e
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40e844
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e8d5
push ecx
push edi
call fcn.00424e41
add esp, 8
mov edi, dword [ebp - 0x598]
add edi, 1
push 0
push dword [ebp - 0x584]
adc dword [ebp - 0x58c], 0
mov dword [ebp - 0x598], edi
call fcn.0040ecd0
add esp, 8
cmp dword [ebp - 0x58c], edx
jg 0x40e88d
jl 0x40e882
cmp edi, eax
jae 0x40e88d
mov eax, dword [ebp - 0x58c]
jmp 0x40e1a7
mov esi, dword [ebp - 0x584]
push esi
call fcn.0040f710
add esp, 4
test eax, eax
jns 0x40e8b8
push esi
call fcn.004100b0
push eax
push str.failed_to_close_the_archive:__s_n
call fcn.0040dff0
add esp, 0xc
xor al, al
jmp 0x40e8ba
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004249b0
mov esp, ebp
pop ebp
ret
call fcn.0042b71c
call fcn.00401250
int3