Function at 0x4027d0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4679f1
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47d400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, closesocket
mov dword [ebp - 0x60], 0
mov ecx, dword [edi + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, 5
jb 0x402b66
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x402825
mov eax, dword [edi]
push 5
push str._zips
push ecx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x94]
call fcn.00407d00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x80], 0xf
mov eax, 5
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x94]
cmova eax, dword [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x40287b
test dword [ebp - 0x52], 0x4000
jne 0x4028d8
mov ecx, dword [edi + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, 5
jb 0x402b6b
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x402895
mov eax, dword [edi]
push 5
push str.zips
push ecx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x7c]
call fcn.00407d00
cmp dword [ebp - 0x68], 0xf
lea ecx, [ebp - 0x58]
mov eax, 0xf
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
cmova eax, dword [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x4028de
test dword [ebp - 0x52], 0x4000
je 0x4028de
mov byte [ebp - 0x59], 1
jmp 0x4028e2
mov byte [ebp - 0x59], 0
mov eax, dword [ebp - 0x64]
test al, 2
je 0x402934
mov ecx, dword [ebp - 0x68]
and eax, 0xfffffffd
mov dword [ebp - 0x64], eax
cmp ecx, 0xf
jbe 0x402922
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402915
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402968
push ecx
push edx
call fcn.0046645c
mov eax, dword [ebp - 0x64]
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x402978
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x402978
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40296e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40296e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x402985
mov al, 1
jmp 0x402b4b
mov ecx, dword [edi + 0x10]
sub esi, ecx
cmp esi, 7
jb 0x402b70
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x40299d
mov eax, dword [edi]
push ecx
push eax
push 7
push str.mkdir__
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x40]
call fcn.00407d00
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
push 6
push str.zips_
cmp eax, 6
jb 0x4029f3
cmp edx, 0xf
lea esi, [ebp - 0x40]
lea eax, [ecx + 6]
cmova esi, dword [ebp - 0x40]
add esi, ecx
mov dword [ebp - 0x30], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
lea eax, [ebp - 0x40]
jmp 0x402a04
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x60]
push 6
call fcn.004078e0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x402a75
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402a6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402a6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmova eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
test eax, eax
jne 0x402ada
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Folder_zips_created_successfully_in
call fcn.00406f20
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x402aba
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00407e00
add esp, 4
mov ecx, eax
push 0x407140
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 0x59], 1
jmp 0x402b12
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_create_folder_zips_in
call fcn.00406f20
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x402af4
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00407e00
add esp, 4
mov ecx, eax
push 0x407140
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 0x59], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x402b48
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402b3e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046645c
add esp, 8
mov al, byte [ebp - 0x59]
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.0046641e
mov esp, ebp
pop ebp
ret
call fcn.004011b0
call fcn.004011b0
call fcn.004011b0
int3