Function at 0x405570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x430add
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [0x43f524]
push edi
mov eax, dword [esi + 0x5c]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov edi, dword [eax + 0x70]
mov dword [esp + 0x18], ecx
push str.http:__
lea ecx, [esp + 0x28]
mov dword [esp + 0x178], ebp
call fcn.0041dab5
mov edx, dword [esi + 0x5c]
mov ebx, 1
add edx, 0x5c
mov byte [esp + 0x174], bl
push edx
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041dc2a
mov ecx, dword [esi + 0x2c]
lea edx, [esp + 0x14]
add ecx, 0x14
mov byte [esp + 0x174], 2
push ecx
push eax
push edx
call fcn.0041dc2a
lea ecx, [esp + 0x28]
mov byte [esp + 0x174], 5
call fcn.0041da47
lea ecx, [esp + 0x24]
mov byte [esp + 0x174], 4
call fcn.0041da47
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0x1c]
add eax, 0x14
push eax
call fcn.0041d7bc
mov ecx, dword [esi + 0x2c]
mov byte [esp + 0x174], 6
add ecx, 0x50
push ecx
lea ecx, [esp + 0x24]
call fcn.0041d7bc
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x174], 7
mov ecx, dword [eax - 8]
mov cl, byte [ecx + eax - 1]
cmp cl, 0x2f
je 0x405663
push 0x2f
lea ecx, [esp + 0x20]
call fcn.0041dd8a
jmp 0x405679
push 0x43f2b8
push eax
call fcn.004083e4
add esp, 8
test eax, eax
jne 0x405679
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x20]
push 0x74
push edx
call fcn.00402360
add esp, 8
mov ecx, esi
push 0xe130
call fcn.00404de0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00404d70
push 0xe131
mov ecx, esi
call fcn.00404de0
cmp dword [esp + 0x10], ebp
je 0x4056be
push 0xe134
mov ecx, esi
call fcn.00404de0
cmp edi, ebp
je 0x4056d0
push 0xe139
lea ecx, [esp + 0x1c]
call fcn.0041df26
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push 0xe132
push edx
call fcn.0041738c
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00404d70
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x405756
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.00405850
lea edx, [esp + 0x2c]
mov ebx, eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x405752
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.00405850
lea edx, [esp + 0x2c]
add ebx, eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40572e
test ebx, ebx
jne 0x405762
push 0xe136
mov ecx, esi
call fcn.00404de0
push 0xe138
mov ecx, esi
call fcn.00404de0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4057ab
test edi, edi
je 0x405788
push 0xe13c
lea ecx, [esp + 0x1c]
call fcn.0041df26
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push 0xe135
push ecx
call fcn.0041738c
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00404d70
push 0xe137
mov ecx, esi
call fcn.00404de0
push 0x43f270
lea ecx, [esp + 0x14]
call fcn.0041dab5
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x178], 8
call fcn.00404d70
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 7
call fcn.0041da47
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.0041da47
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 4
call fcn.0041da47
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 0
call fcn.0041da47
lea ecx, [esp + 0x18]
mov dword [esp + 0x174], 0xffffffff
call fcn.0041da47
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret