Function at 0x10005e20
Capabilities:
Check http status code
Enumerate files on windows
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003124c
mov eax, dword fs:[0]
push eax
mov eax, 0x1d5c
call fcn.10027d40
mov eax, dword [0x1003a470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x10005e60
xor al, al
jmp 0x100063bb
lea eax, [ebp - 0x1d64]
push eax
push 0x1000
lea ecx, [ebp - 0x1950]
push ecx
mov dword [ebp - 0x1d64], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x10005e59
mov ecx, dword [ebp - 0x1d64]
shr ecx, 2
xor edi, edi
mov dword [ebp - 0x1d5c], ecx
cmp ecx, ebx
jle 0x10005f12
mov eax, dword [ebp + edi*4 - 0x1950]
cmp eax, ebx
je 0x10005f04
cmp eax, dword [ebp + 8]
jne 0x10005f04
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x10005ef7
mov edx, dword [ebp + 8]
cmp dword [ebp + edi*4 - 0x1950], edx
jne 0x10005ef7
push 0x104
lea eax, [ebp - 0x950]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005ef7
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x950]
call fcn.100040c0
add esp, 4
test al, al
jne 0x10005f0b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1d5c]
inc edi
cmp edi, ecx
jl 0x10005e98
jmp 0x10005f12
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], ebx
je 0x100061ae
mov dword [0x10141678], ebx
mov dword [ebp - 0x1d5c], 0x736c25
lea eax, [ebp - 0x1d5c]
mov dword [ebp - 4], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10005f37
sub eax, esi
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100161c7
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.10016976
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x440]
push edi
push edx
mov edx, 0x208
call fcn.10001000
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x1958], 0x5c736c25
mov dword [ebp - 0x1954], 0x2a2e2a
lea eax, [ebp - 0x1958]
mov dword [ebp - 4], 1
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10005fc0
sub eax, esi
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100161c7
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.10016976
add esp, 0xc
lea ecx, [ebp - 0x440]
push ecx
mov edx, ecx
push edi
push edx
mov edx, 0x208
call fcn.10001000
add esp, 0xc
lea eax, [ebp - 0x1ba8]
push eax
lea ecx, [ebp - 0x440]
push ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x1d60], esi
cmp esi, 0xffffffff
je 0x100061ae
mov eax, dword [0x10141678]
cmp eax, 0xc8
jg 0x1000618b
cmp dword [ebp + 0xc], eax
jne 0x1000618b
push 0x208
lea edx, [ebp - 0x748]
push ebx
push edx
call fcn.1001b890
add esp, 0xc
mov dword [ebp - 0x1d5c], 0x736c25
lea eax, [ebp - 0x1d5c]
mov dword [ebp - 4], 2
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10006086
sub eax, ecx
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100161c7
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.10016976
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x748]
push edi
push edx
mov edx, 0x208
call fcn.10001000
add esp, 0xc
lea eax, [ebp - 0x748]
push eax
mov dword [ebp - 0x1d5c], ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x1958], 0x5c736c25
mov dword [ebp - 0x1954], 0x736c25
lea eax, [ebp - 0x1958]
mov dword [ebp - 4], 3
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10006113
sub eax, ecx
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100161c7
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.10016976
add esp, 0xc
lea ecx, [ebp - 0x1b7c]
push ecx
lea edx, [ebp - 0x748]
push edx
lea eax, [ebp - 0x238]
push edi
push eax
mov edx, 0x208
call fcn.10001000
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1d60]
xor eax, eax
mov dword [ebp - 0x1958], eax
mov dword [ebp - 0x1954], eax
inc dword [0x10141678]
lea ecx, [ebp - 0x1ba8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000603e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x238]
push edx
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x1d60]
xor edi, edi
call fcn.10005c40
test al, al
jne 0x10006234
lea esi, [ebp - 0x1d58]
mov edi, 1
call fcn.100029f0
push 0x100355b0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x1d5c]
push ecx
mov dword [ebp - 0x1d5c], ebx
call fcn.100165c6
add esp, 0xc
test eax, eax
je 0x10006203
or eax, 0xffffffff
jmp 0x10006216
lea edx, [ebp - 0x1d5c]
push edx
lea eax, [ebp - 0x1d58]
push eax
call fcn.10002b30
mov esi, eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
jmp 0x1000623a
mov esi, dword [ebp - 0x1d60]
lea ecx, [ebp - 0x238]
push 0x5c
push ecx
call fcn.10017f24
add esp, 8
cmp eax, ebx
jne 0x10006257
lea eax, [ebp - 0x238]
jmp 0x1000625a
add eax, 2
push eax
lea edx, [ebp - 0x238]
push pe_nt_image_headers32
push edx
call fcn.10018631
lea eax, [ebp - 0x238]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x10006280
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10006280
sub eax, edx
sar eax, 1
cmp eax, 0x1f
jbe 0x1000629d
xor eax, eax
mov word [ebp - 0x1fa], ax
movzx edx, byte [ebp - 0x11]
movzx eax, byte [ebp - 0x12]
lea ecx, [ebp - 0x238]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x14]
movzx ecx, ah
push ecx
movzx ecx, byte [ebp - 0x16]
movzx edx, al
push edx
movzx eax, byte [ebp - 0x15]
push eax
push ecx
mov eax, dword [ebp - 0x18]
movzx ecx, byte [ebp - 0x19]
movzx edx, ah
push edx
movzx edx, byte [ebp - 0x1a]
movzx eax, al
push eax
push ecx
mov eax, dword [ebp - 0x1c]
push edx
movzx ecx, ah
push ecx
movzx ecx, byte [ebp - 0x1e]
movzx edx, al
movzx eax, byte [ebp - 0x1d]
push edx
push eax
mov eax, dword [ebp - 0x20]
push ecx
movzx ecx, byte [ebp - 0x21]
movzx edx, ah
push edx
movzx edx, byte [ebp - 0x22]
movzx eax, al
push eax
mov eax, dword [ebp - 0x24]
push ecx
push edx
movzx ecx, ah
push ecx
movzx ecx, byte [ebp - 0x26]
movzx edx, al
movzx eax, byte [ebp - 0x25]
push edx
push eax
mov eax, dword [ebp - 0x28]
push ecx
movzx ecx, byte [ebp - 0x29]
movzx edx, ah
push edx
movzx edx, byte [ebp - 0x2a]
movzx eax, al
push eax
mov eax, dword [ebp - 0x2c]
push ecx
push edx
movzx ecx, ah
push ecx
movzx ecx, byte [ebp - 0x2e]
movzx edx, al
movzx eax, byte [ebp - 0x2d]
push edx
push eax
mov eax, dword [ebp - 0x30]
push ecx
movzx edx, ah
push edx
movzx eax, al
push eax
push esi
push edi
lea ecx, [ebp - 0x540]
push str._d_t_0x_.8X__t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t_.3d_t__S__r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x94
mov word [ebp - 0x340], 0x1c2
mov byte [ebp - 0x33e], 5
call fcn.1001831a
and eax, 0x800000ff
jns 0x10006389
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x33d], al
mov byte [ebp - 0x33c], 0x13
mov ecx, 0x40
lea esi, [ebp - 0x540]
lea edi, [ebp - 0x33b]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x105
lea edx, [ebp - 0x340]
call fcn.10006c20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100164f9
mov esp, ebp
pop ebp
ret 8