Function at 0x42b940
Capabilities:
Enumerate files on windows
Enumerate files recursively
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ced2
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x4c8], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], cx
push ebx
push 0x104
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.0041f000
mov eax, dword [ebp + 0x24]
mov edi, 8
cmp dword [ebp + 0x38], edi
jae 0x42b9bb
lea eax, [ebp + 0x24]
push eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x53bc20
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x4c4]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4cc], eax
cmp eax, 0xffffffff
jne 0x42ba60
mov esi, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x42ba0e
lea esi, [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.BrowseFileToZip_Error
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x238]
add esp, 0xc
cmp dword [ebp - 0x224], edi
jae 0x42ba38
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x224], edi
jb 0x42ba56
mov eax, dword [ebp - 0x238]
push eax
call fcn.004ad85d
add esp, 4
mov esi, 7
jmp 0x42bea0
push 0x537b68
lea edx, [ebp - 0x498]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42be6d
push 0x537b6c
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42be6d
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x42baa8
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x498]
push ecx
push str._ws_t_t
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x238]
add esp, 0xc
cmp dword [ebp - 0x224], edi
jae 0x42bad2
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test dword [ebp - 0x4c4], 0x4000
je 0x42bb23
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x42baf9
lea eax, [ebp - 0x238]
push 0x53bc68
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x238]
add esp, 8
cmp dword [ebp - 0x224], edi
jae 0x42bb1c
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x4c4], 2
je 0x42bb6a
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x42bb40
lea eax, [ebp - 0x238]
push 0x53bc74
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x238]
add esp, 8
cmp dword [ebp - 0x224], edi
jae 0x42bb63
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x4c4], 0x10
je 0x42bcf9
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x42bb8b
lea eax, [ebp - 0x238]
push 0x53bc80
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x238]
add esp, 8
cmp dword [ebp - 0x224], edi
jae 0x42bbae
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x24]
xor edx, edx
push eax
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], dx
call fcn.00401c60
push 1
push 0x536fac
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00408780
lea eax, [ebp - 0x498]
lea edx, [eax + 2]
jmp 0x42bc00
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42bc00
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x498]
push ecx
lea ecx, [ebp - 0x254]
call fcn.00408780
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x244]
sub edx, eax
push edx
inc eax
push eax
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x254]
call fcn.0041c6a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x270]
cmp dword [ebp - 0x25c], edi
jae 0x42bc5a
lea ecx, [ebp - 0x270]
mov edx, dword [ebp - 0x4c8]
mov eax, dword [edx]
cmp eax, ebx
jne 0x42bc72
mov dword [0x58f518], 0x10000
jmp 0x42bc96
cmp dword [eax], 2
je 0x42bc83
mov dword [0x58f518], 0x80000
jmp 0x42bc96
mov eax, dword [eax + 4]
push 4
push ecx
push eax
xor ecx, ecx
call fcn.0042ab80
mov dword [0x58f518], eax
mov eax, dword [ebp - 0x4c8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4d0], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x254]
xor edx, edx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00401c60
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4d4], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push ebx
lea eax, [ebp + 8]
xor edx, edx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00401c60
mov byte [ebp - 4], 4
call fcn.0042b940
add esp, 0x3c
jmp 0x42bde8
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp + 0x24]
mov word [ebp - 0x254], cx
push edx
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
call fcn.00401c60
push 1
push 0x536fac
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 6
call fcn.00408780
lea eax, [ebp - 0x498]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42bd40
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x254]
call fcn.00408780
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x244]
sub ecx, eax
push ecx
inc eax
push eax
lea edx, [ebp - 0x270]
push edx
lea ecx, [ebp - 0x254]
call fcn.0041c6a0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x254]
cmp dword [ebp - 0x240], edi
jae 0x42bd9a
lea ecx, [ebp - 0x254]
mov edx, dword [ebp - 0x270]
cmp dword [ebp - 0x25c], edi
jae 0x42bdae
lea edx, [ebp - 0x270]
mov eax, dword [ebp - 0x4c8]
mov eax, dword [eax]
cmp eax, ebx
jne 0x42bdc6
mov dword [0x58f518], 0x10000
jmp 0x42bde8
cmp dword [eax], 2
je 0x42bdd7
mov dword [0x58f518], 0x80000
jmp 0x42bde8
mov eax, dword [eax + 4]
push 2
push edx
push eax
call fcn.0042ab80
mov dword [0x58f518], eax
cmp dword [ebp - 0x25c], edi
jb 0x42bdff
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.004ad85d
add esp, 4
mov byte [ebp - 4], 2
xor edx, edx
mov word [ebp - 0x270], dx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], esi
cmp dword [ebp - 0x240], edi
jb 0x42be2f
mov eax, dword [ebp - 0x254]
push eax
call fcn.004ad85d
add esp, 4
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x42be43
lea eax, [ebp - 0x238]
push 0x53bc90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x238]
add esp, 8
cmp dword [ebp - 0x224], edi
jae 0x42be66
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x4cc]
lea ecx, [ebp - 0x4c4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ba60
cmp dword [ebp - 0x224], edi
jb 0x42bea0
mov eax, dword [ebp - 0x238]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
mov word [ebp - 0x238], cx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], esi
cmp dword [ebp + 0x1c], edi
jb 0x42bec6
mov edx, dword [ebp + 8]
push edx
call fcn.004ad85d
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], esi
cmp dword [ebp + 0x38], edi
jb 0x42bee3
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.004ad85d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00503edf
mov esp, ebp
pop ebp
ret