Function at 0x414b70
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f12cc
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x6b7e40]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
push ecx
lea ecx, [esp + 0x18]
xor bl, bl
call fcn.004021e0
push 0x63fb0c
lea ecx, [esp + 0x18]
mov dword [esp + 0x284], 0
call fcn.004204b0
push 0x63fb0c
lea ecx, [esp + 0x18]
call fcn.0040f290
push 4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404680
push str.http
push dword [eax]
call fcn.005be8d5
add esp, 8
test eax, eax
mov byte [esp + 0x280], bl
mov edx, dword [esp + 0x18]
sete bh
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x414c2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
test bh, bh
je 0x414c3d
mov bl, 1
jmp 0x414db1
mov edx, dword [eax - 0xc]
test edx, edx
je 0x414daf
lea ecx, [edx - 1]
test ecx, ecx
js 0x414da5
cmp ecx, edx
jg 0x414da5
cmp word [eax + ecx*2], 0x5c
jne 0x414caf
lea eax, [edx - 1]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404680
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 2
call fcn.00404570
mov byte [esp + 0x280], 0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414cab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x414daf
lea ecx, [edx - 1]
test ecx, ecx
js 0x414da5
cmp ecx, edx
jg 0x414da5
cmp word [eax + ecx*2], 0x3a
je 0x414cf6
test edx, edx
js 0x414d48
push 0x63ef80
push eax
call fcn.005bda07
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x414d44
mov eax, dword [esp + 0x14]
sub ecx, eax
sar ecx, 1
jne 0x414d48
push 0x63fb20
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004067b0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 3
call fcn.00404570
mov byte [esp + 0x280], 0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414d44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor ecx, ecx
mov esi, eax
cmp esi, 0xffffffff
setne cl
test ecx, ecx
je 0x414d98
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x48]
push eax
call edi
test al, 0x10
jne 0x414d93
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414d68
push esi
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
jmp 0x414db1
mov bl, 1
or edi, 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
jmp 0x414db1
push 0x80070057
call fcn.00402040
xor bl, bl
lea esi, [eax - 0x10]
mov dword [esp + 0x280], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x414dd3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.005bc16b
mov esp, ebp
pop ebp
ret