Function at 0x40e103
Capabilities:
Enumerate files on windows

Disassembly:
push 0x334
mov eax, 0x488189
call fcn.00458e5d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2d0], ecx
xor ecx, ecx
mov dword [ebp - 0x2cc], eax
mov edi, edx
mov dword [ebp - 0x2bc], ecx
cmp eax, ecx
jne 0x40e140
xor eax, eax
call fcn.00458ee0
ret
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], ax
push 0xffffffffffffffff
push 0x49b0e0
push edi
mov dword [ebp - 4], ecx
call fcn.00407f05
cmp eax, 0xffffffff
je 0x40e18d
push eax
push edi
xor ebx, ebx
lea esi, [ebp - 0x2c]
call fcn.00407f24
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 1
call fcn.0040191e
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.004019bb
jmp 0x40e195
lea eax, [ebp - 0x48]
call fcn.00407e19
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x40e1a2
mov eax, dword [esi]
jmp 0x40e1a4
mov eax, esi
lea ecx, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2c4], 1
cmp eax, 0xffffffff
jne 0x40e20e
cmp dword [edi + 0x18], 8
jb 0x40e1cf
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed__d_enumerating__S
push 0x10e
call fcn.0041ef10
push eax
mov ebx, 0x800040
mov ecx, str..WrapperArchive.cpp
call fcn.0041f0d0
add esp, 0x14
xor edi, edi
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.004019bb
mov eax, edi
jmp 0x40e13a
lea eax, [ebp - 0x28c]
push 0x49cf98
push eax
call fcn.00453e9d
pop ecx
pop ecx
test eax, eax
je 0x40e429
lea eax, [ebp - 0x28c]
push 0x49cf9c
push eax
call fcn.00453e9d
pop ecx
pop ecx
test eax, eax
je 0x40e429
cmp dword [ebp - 0x34], 0
jne 0x40e267
push 0x49b010
lea eax, [ebp - 0x340]
call fcn.004017d2
mov byte [ebp - 4], 2
or dword [ebp - 0x2bc], 1
jmp 0x40e28d
push 0x49b660
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.00401e38
add esp, 0xc
mov dword [ebp - 4], 3
or dword [ebp - 0x2bc], 2
lea ecx, [ebp - 0x28c]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401e38
add esp, 0xc
push 4
pop ebx
mov dword [ebp - 4], ebx
xor edi, edi
test byte [ebp - 0x2bc], 2
je 0x40e2c7
and dword [ebp - 0x2bc], 0xfffffffd
push edi
push 1
lea esi, [ebp - 0x2ec]
call fcn.004019bb
mov byte [ebp - 4], 6
test byte [ebp - 0x2bc], 1
je 0x40e2e9
and dword [ebp - 0x2bc], 0xfffffffe
push edi
push 1
lea esi, [ebp - 0x340]
call fcn.004019bb
mov eax, dword [ebp - 0x2c8]
cmp dword [eax + 0x14], edi
jne 0x40e310
push 0x49b010
lea eax, [ebp - 0x308]
call fcn.004017d2
mov byte [ebp - 4], 7
or dword [ebp - 0x2bc], ebx
jmp 0x40e331
push 0x49bf84
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.00401e38
add esp, 0xc
push 8
pop ecx
mov dword [ebp - 4], ecx
or dword [ebp - 0x2bc], ecx
lea ecx, [ebp - 0x28c]
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00401e38
add esp, 0xc
mov dword [ebp - 4], 9
test byte [ebp - 0x2bc], 8
je 0x40e36a
and dword [ebp - 0x2bc], 0xfffffff7
push edi
push 1
lea esi, [ebp - 0x324]
call fcn.004019bb
mov byte [ebp - 4], 0xb
test byte [ebp - 0x2bc], bl
je 0x40e38b
and dword [ebp - 0x2bc], 0xfffffffb
push edi
push 1
lea esi, [ebp - 0x308]
call fcn.004019bb
mov eax, dword [ebp - 0x2d0]
push 8
pop esi
cmp dword [eax + 0x18], esi
jb 0x40e39e
mov eax, dword [eax + 4]
jmp 0x40e3a1
add eax, 4
mov edx, dword [ebp - 0x60]
cmp dword [ebp - 0x4c], esi
jae 0x40e3ac
lea edx, [ebp - 0x60]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x14], esi
jae 0x40e3b7
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x2cc]
call fcn.0042a860
pop ecx
pop ecx
cmp eax, edi
je 0x40e40f
mov edx, dword [ebp - 0x60]
cmp dword [ebp - 0x4c], esi
jae 0x40e3d4
lea edx, [ebp - 0x60]
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x14], esi
jae 0x40e3df
lea ecx, [ebp - 0x28]
push edx
push ecx
push eax
push str.HCZipAddWithPasswordW___failed__d_adding__S_to__S
push 0x125
push ecx
call fcn.0041ef10
pop ecx
push eax
mov ebx, 0x800002
mov ecx, str..WrapperArchive.cpp
call fcn.0041f0d0
and dword [ebp - 0x2c4], 0
add esp, 0x18
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x64]
call fcn.004019bb
push edi
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004019bb
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2c0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e20e
push dword [ebp - 0x2c0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x2c4]
jmp 0x40e1fb