Function at 0x10006530
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 0x1003e1fc
mov eax, dword fs:[0]
push eax
mov eax, 0x1d5c
call fcn.10035930
mov eax, dword [0x1004a650]
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 0x10006570
xor al, al
jmp 0x10006acb
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 0x10006569
mov ecx, dword [ebp - 0x1d64]
shr ecx, 2
xor edi, edi
mov dword [ebp - 0x1d5c], ecx
cmp ecx, ebx
jle 0x10006622
mov eax, dword [ebp + edi*4 - 0x1950]
cmp eax, ebx
je 0x10006614
cmp eax, dword [ebp + 8]
jne 0x10006614
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x10006607
mov edx, dword [ebp + 8]
cmp dword [ebp + edi*4 - 0x1950], edx
jne 0x10006607
push 0x104
lea eax, [ebp - 0x950]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10006607
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x950]
call fcn.10004680
add esp, 4
test al, al
jne 0x1000661b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1d5c]
inc edi
cmp edi, ecx
jl 0x100065a8
jmp 0x10006622
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], ebx
je 0x100068be
mov dword [0x10ad0010], 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 0x10006647
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.100217ec
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.1002251c
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 0x100066d0
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.100217ec
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.1002251c
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 0x100068be
mov eax, dword [0x10ad0010]
cmp eax, 0xc8
jg 0x1000689b
cmp dword [ebp + 0xc], eax
jne 0x1000689b
push 0x208
lea edx, [ebp - 0x748]
push ebx
push edx
call fcn.10025d10
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 0x10006796
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.100217ec
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1d5c]
push eax
push edi
call fcn.1002251c
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 0x10006823
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.100217ec
add esp, 4
mov edi, eax
push esi
lea eax, [ebp - 0x1958]
push eax
push edi
call fcn.1002251c
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 [0x10ad0010]
lea ecx, [ebp - 0x1ba8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000674e
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.10006350
test al, al
jne 0x10006944
lea esi, [ebp - 0x1d58]
mov edi, 1
call fcn.10002fa0
push 0x100438a0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x1d5c]
push ecx
mov dword [ebp - 0x1d5c], ebx
call fcn.10022139
add esp, 0xc
test eax, eax
je 0x10006913
or eax, 0xffffffff
jmp 0x10006926
lea edx, [ebp - 0x1d5c]
push edx
lea eax, [ebp - 0x1d58]
push eax
call fcn.100030e0
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 0x1000694a
mov esi, dword [ebp - 0x1d60]
lea ecx, [ebp - 0x238]
push 0x5c
push ecx
call fcn.10023d81
add esp, 8
cmp eax, ebx
jne 0x10006967
lea eax, [ebp - 0x238]
jmp 0x1000696a
add eax, 2
push eax
lea edx, [ebp - 0x238]
push pe_nt_image_headers32
push edx
call fcn.100244e7
lea eax, [ebp - 0x238]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x10006990
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10006990
sub eax, edx
sar eax, 1
cmp eax, 0x1f
jbe 0x100069ad
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.10024189
and eax, 0x800000ff
jns 0x10006a99
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.10007330
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.1002206c
mov esp, ebp
pop ebp
ret 8