Function at 0x10005ef0
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 0x1003c18c
mov eax, dword fs:[0]
push eax
mov eax, 0x1d5c
call fcn.10033670
mov eax, dword [0x10047650]
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 0x10005f30
xor al, al
jmp 0x1000648b
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 0x10005f29
mov ecx, dword [ebp - 0x1d64]
shr ecx, 2
xor edi, edi
mov dword [ebp - 0x1d5c], ecx
cmp ecx, ebx
jle 0x10005fe2
mov eax, dword [ebp + edi*4 - 0x1950]
cmp eax, ebx
je 0x10005fd4
cmp eax, dword [ebp + 8]
jne 0x10005fd4
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x10005fc7
mov edx, dword [ebp + 8]
cmp dword [ebp + edi*4 - 0x1950], edx
jne 0x10005fc7
push 0x104
lea eax, [ebp - 0x950]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005fc7
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x950]
call fcn.10004040
add esp, 4
test al, al
jne 0x10005fdb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1d5c]
inc edi
cmp edi, ecx
jl 0x10005f68
jmp 0x10005fe2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], ebx
je 0x1000627e
mov dword [0x101abd58], 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 0x10006007
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.1001f7dc
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.1002050a
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 0x10006090
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.1001f7dc
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.1002050a
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 0x1000627e
mov eax, dword [0x101abd58]
cmp eax, 0xc8
jg 0x1000625b
cmp dword [ebp + 0xc], eax
jne 0x1000625b
push 0x208
lea edx, [ebp - 0x748]
push ebx
push edx
call fcn.100239d0
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 0x10006156
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.1001f7dc
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.1002050a
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 0x100061e3
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.1001f7dc
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.1002050a
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 [0x101abd58]
lea ecx, [ebp - 0x1ba8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000610e
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.10005d10
test al, al
jne 0x10006304
lea esi, [ebp - 0x1d58]
mov edi, 1
call fcn.10002a10
push 0x10040888
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x1d5c]
push ecx
mov dword [ebp - 0x1d5c], ebx
call fcn.10020127
add esp, 0xc
test eax, eax
je 0x100062d3
or eax, 0xffffffff
jmp 0x100062e6
lea edx, [ebp - 0x1d5c]
push edx
lea eax, [ebp - 0x1d58]
push eax
call fcn.10002b50
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 0x1000630a
mov esi, dword [ebp - 0x1d60]
lea ecx, [ebp - 0x238]
push 0x5c
push ecx
call fcn.10021d41
add esp, 8
cmp eax, ebx
jne 0x10006327
lea eax, [ebp - 0x238]
jmp 0x1000632a
add eax, 2
push eax
lea edx, [ebp - 0x238]
push 0x100
push edx
call fcn.10022497
lea eax, [ebp - 0x238]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x10006350
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10006350
sub eax, edx
sar eax, 1
cmp eax, 0x1f
jbe 0x1000636d
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.10022137
and eax, 0x800000ff
jns 0x10006459
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.10006cf0
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.1002005a
mov esp, ebp
pop ebp
ret 8