Function at 0x10006650
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 0x1003d3bc
mov eax, dword fs:[0]
push eax
mov eax, 0x1d5c
call fcn.10034850
mov eax, dword [0x10049650]
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 0x10006690
xor al, al
jmp 0x10006beb
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 0x10006689
mov ecx, dword [ebp - 0x1d64]
shr ecx, 2
xor edi, edi
mov dword [ebp - 0x1d5c], ecx
cmp ecx, ebx
jle 0x10006742
mov eax, dword [ebp + edi*4 - 0x1950]
cmp eax, ebx
je 0x10006734
cmp eax, dword [ebp + 8]
jne 0x10006734
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x10006727
mov edx, dword [ebp + 8]
cmp dword [ebp + edi*4 - 0x1950], edx
jne 0x10006727
push 0x104
lea eax, [ebp - 0x950]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10006727
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x950]
call fcn.100047a0
add esp, 4
test al, al
jne 0x1000673b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1d5c]
inc edi
cmp edi, ecx
jl 0x100066c8
jmp 0x10006742
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], ebx
je 0x100069de
mov dword [0x10aceffc], 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 0x10006767
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.1002099c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.100216ca
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 0x100067f0
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.1002099c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.100216ca
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 0x100069de
mov eax, dword [0x10aceffc]
cmp eax, 0xc8
jg 0x100069bb
cmp dword [ebp + 0xc], eax
jne 0x100069bb
push 0x208
lea edx, [ebp - 0x748]
push ebx
push edx
call fcn.10024b90
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 0x100068b6
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.1002099c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.100216ca
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 0x10006943
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.1002099c
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.100216ca
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 [0x10aceffc]
lea ecx, [ebp - 0x1ba8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000686e
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.10006470
test al, al
jne 0x10006a64
lea esi, [ebp - 0x1d58]
mov edi, 1
call fcn.10003020
push 0x100428b8
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x1d5c]
push ecx
mov dword [ebp - 0x1d5c], ebx
call fcn.100212e7
add esp, 0xc
test eax, eax
je 0x10006a33
or eax, 0xffffffff
jmp 0x10006a46
lea edx, [ebp - 0x1d5c]
push edx
lea eax, [ebp - 0x1d58]
push eax
call fcn.10003160
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 0x10006a6a
mov esi, dword [ebp - 0x1d60]
lea ecx, [ebp - 0x238]
push 0x5c
push ecx
call fcn.10022f01
add esp, 8
cmp eax, ebx
jne 0x10006a87
lea eax, [ebp - 0x238]
jmp 0x10006a8a
add eax, 2
push eax
lea edx, [ebp - 0x238]
push 0x100
push edx
call fcn.10023657
lea eax, [ebp - 0x238]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x10006ab0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10006ab0
sub eax, edx
sar eax, 1
cmp eax, 0x1f
jbe 0x10006acd
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.100232f7
and eax, 0x800000ff
jns 0x10006bb9
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.10007450
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.1002121a
mov esp, ebp
pop ebp
ret 8