Function at 0x10005e50
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 0x1003c5fc
mov eax, dword fs:[0]
push eax
mov eax, 0x1d5c
call fcn.10033ad0
mov eax, dword [0x10048650]
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 0x10005e90
xor al, al
jmp 0x100063eb
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 0x10005e89
mov ecx, dword [ebp - 0x1d64]
shr ecx, 2
xor edi, edi
mov dword [ebp - 0x1d5c], ecx
cmp ecx, ebx
jle 0x10005f42
mov eax, dword [ebp + edi*4 - 0x1950]
cmp eax, ebx
je 0x10005f34
cmp eax, dword [ebp + 8]
jne 0x10005f34
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x10005f27
mov edx, dword [ebp + 8]
cmp dword [ebp + edi*4 - 0x1950], edx
jne 0x10005f27
push 0x104
lea eax, [ebp - 0x950]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005f27
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x950]
call fcn.100040f0
add esp, 4
test al, al
jne 0x10005f3b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1d5c]
inc edi
cmp edi, ecx
jl 0x10005ec8
jmp 0x10005f42
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], ebx
je 0x100061de
mov dword [0x10193d58], 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 0x10005f67
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.1001fc3c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.1002096a
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 0x10005ff0
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.1001fc3c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.1002096a
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 0x100061de
mov eax, dword [0x10193d58]
cmp eax, 0xc8
jg 0x100061bb
cmp dword [ebp + 0xc], eax
jne 0x100061bb
push 0x208
lea edx, [ebp - 0x748]
push ebx
push edx
call fcn.10023e30
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 0x100060b6
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.1001fc3c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.1002096a
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 0x10006143
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.1001fc3c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.1002096a
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 [0x10193d58]
lea ecx, [ebp - 0x1ba8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000606e
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.10005c70
test al, al
jne 0x10006264
lea esi, [ebp - 0x1d58]
mov edi, 1
call fcn.10002a20
push 0x10041888
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x1d5c]
push ecx
mov dword [ebp - 0x1d5c], ebx
call fcn.10020587
add esp, 0xc
test eax, eax
je 0x10006233
or eax, 0xffffffff
jmp 0x10006246
lea edx, [ebp - 0x1d5c]
push edx
lea eax, [ebp - 0x1d58]
push eax
call fcn.10002b60
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 0x1000626a
mov esi, dword [ebp - 0x1d60]
lea ecx, [ebp - 0x238]
push 0x5c
push ecx
call fcn.100221a1
add esp, 8
cmp eax, ebx
jne 0x10006287
lea eax, [ebp - 0x238]
jmp 0x1000628a
add eax, 2
push eax
lea edx, [ebp - 0x238]
push 0x100
push edx
call fcn.100228f7
lea eax, [ebp - 0x238]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x100062b0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100062b0
sub eax, edx
sar eax, 1
cmp eax, 0x1f
jbe 0x100062cd
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.10022597
and eax, 0x800000ff
jns 0x100063b9
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.10006c50
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.100204ba
mov esp, ebp
pop ebp
ret 8