Function at 0x10047df0
Capabilities:
Create thread
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009666e
mov eax, dword fs:[0]
push eax
mov eax, 0x3bbc
call fcn.1006f8b0
mov eax, dword [0x10138e70]
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
mov ebx, ecx
mov dword [ebp - 0x3b80], ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x10048177
lea eax, [ebp - 0x1460]
mov dword [ebp - 0x3bb4], 0x3e8
mov dword [ebp - 0x3bb8], eax
mov ecx, edi
lea eax, [ebp - 0x1c30]
mov dword [ebp - 0x3ba8], 0x3e8
mov dword [ebp - 0x3bac], eax
lea eax, [ebp - 0x2400]
mov dword [ebp - 0x3ba0], eax
lea eax, [ebp - 0x33a0]
mov dword [ebp - 0x3b98], eax
lea edx, [ecx + 2]
lea eax, [ebp - 0x3b70]
mov dword [ebp - 0x3b9c], 0x3e8
mov dword [ebp - 0x3b90], eax
lea eax, [ebp - 0x2bd0]
mov dword [ebp - 0x3b88], eax
mov dword [ebp - 0x3b94], 0x3e8
mov dword [ebp - 0x3b8c], 0x3e8
mov dword [ebp - 0x3b84], 0x3e8
mov dword [ebp - 0x3bbc], 0x3c
jmp 0x10047ed0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10047ed0
sub ecx, edx
lea eax, [ebp - 0x3bbc]
sar ecx, 1
push eax
push SysReAllocString
lea eax, [ecx + 1]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10048177
push 0xc
call fcn.1006d67e
add esp, 4
mov dword [ebp - 0x3b78], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10047f24
mov ecx, eax
call fcn.10048a90
mov esi, eax
jmp 0x10047f26
xor esi, esi
movzx eax, word [ebp - 0x3ba4]
mov ecx, esi
push eax
push dword [ebp - 0x3bac]
mov dword [ebp - 4], 0xffffffff
call fcn.10048b30
test eax, eax
je 0x10048177
test esi, esi
je 0x10047f56
mov eax, dword [0x1013e770]
mov dword [eax + 0x14], esi
call fcn.10051cd0
call fcn.10051d30
call fcn.10051cf0
call fcn.10051d10
call fcn.10051b70
call fcn.10051b90
call fcn.10047bd0
push 1
push 2
push 0x15
call sub.urlmon.dll_CoInternetSetFeatureEnabled
call fcn.10048990
mov ecx, dword [0x1013e770]
call fcn.10050dd0
xor eax, eax
mov dword [ebp - 0x3b7c], 0
push 0xbb6
push eax
mov word [ebp - 0xc90], ax
lea eax, [ebp - 0xc8e]
push eax
call fcn.1006ff30
mov ecx, dword [0x1013e770]
lea eax, [ebp - 0xc90]
add esp, 0xc
push 0x5dc
push eax
lea eax, [ebp - 0x3bc4]
push eax
lea eax, [ebp - 0x3bc0]
push eax
lea eax, [ebp - 0x3bc8]
push eax
lea eax, [ebp - 0x3b7c]
push eax
call fcn.1004b8e0
mov ecx, dword [0x1013e770]
push edi
call fcn.1004fe10
mov esi, eax
test esi, esi
je 0x10048177
mov ecx, dword [0x1013e770]
lea edi, [ebx + 0x3c]
push edi
push esi
call fcn.1004d790
push esi
call fcn.1006da71
add esp, 4
cmp dword [edi], 0
je 0x10048177
mov eax, dword [0x1013e770]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [edi]
mov esi, eax
push 0
push str.count
push str.config
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x3b78], esi
call dword [edx + 4]
cmp dword [ebp - 0x3b7c], 0
mov ebx, eax
je 0x1004808b
push dword [edi]
mov edx, dword [esi]
mov ecx, esi
push 0
push 0x100a4dd0
push str.config
call dword [edx + 4]
test eax, eax
je 0x1004808b
mov ecx, dword [0x1013e770]
call fcn.1004c380
mov ecx, dword [0x1013e770]
call fcn.1004c3e0
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xd6]
push eax
call fcn.1006ff30
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x3b74], ecx
test ebx, ebx
jle 0x10048177
mov esi, 1
mov edi, edi
push esi
push 0
push 0x100a4ddc
lea eax, [ebp - 0xd8]
push str._s_d__d
push eax
call fcn.1000fa30
mov ecx, dword [ebp - 0x3b78]
lea edx, [ebp - 0xd8]
add esp, 0x14
mov eax, dword [ecx]
push dword [edi]
push 0
push edx
push str.config
call dword [eax + 4]
test eax, eax
jne 0x10048105
mov eax, esi
mov dword [ebp - 0x3b74], eax
jmp 0x1004813e
push 0xc
call fcn.1006daa9
mov ecx, dword [ebp - 0x3b80]
push eax
push 0
push 0x10048840
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
call fcn.100732ba
add esp, 0x10
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x3b74]
inc esi
dec ebx
jne 0x100480c0
test eax, eax
jle 0x10048177
push 0xc
call fcn.1006daa9
mov ecx, dword [ebp - 0x3b80]
push eax
push ebx
push 0x10048670
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x3b74]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
call fcn.100732ba
add esp, 0x10
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.1006f41a
mov esp, ebp
pop ebp
ret 4