Function at 0x41d1a0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2487
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov edi, dword [ebx + 4]
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x4c], 0x64
mov dword [ebp - 0x40], 0x64
mov dword [ebp - 0x38], 0x64
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x28], 0x64
mov dword [ebp - 0x60], 0x3c
mov esi, dword [edi - 0xc]
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x41d822
test edi, edi
jne 0x41d243
test esi, esi
jne 0x41d83b
mov eax, dword [ecx]
push 2
push esi
call dword [eax]
test eax, eax
je 0x41d82c
lea ecx, [eax + 0x10]
mov dword [ebp - 0x14], ecx
test esi, esi
js 0x41d83b
cmp esi, dword [eax + 8]
jg 0x41d83b
mov dword [eax + 4], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
add esi, esi
mov word [esi + eax], cx
test esi, esi
je 0x41d2ae
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41d29e
push esi
test edi, edi
je 0x41d293
push edi
push eax
call fcn.004985d0
add esp, 0xc
jmp 0x41d2ae
push 0
push eax
call fcn.00498b50
add esp, 0xc
call fcn.0049bfad
mov dword [eax], 0x16
call fcn.0049beaf
mov dword [ebp - 4], 1
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
or esi, 0xffffffff
test eax, eax
jne 0x41d2dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebx], edi
jmp 0x41d7ef
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41d39c
mov edi, dword [ebp - 0x4c]
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x41d822
cmp dword [ebp - 0x18], 0
jne 0x41d30a
test edi, edi
jne 0x41d83b
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41d82c
lea ecx, [eax + 0x10]
mov dword [ebp - 0x1c], ecx
test edi, edi
js 0x41d83b
cmp edi, dword [ecx - 8]
jg 0x41d83b
mov dword [ecx - 0xc], edi
xor eax, eax
add edi, edi
mov word [edi + ecx], ax
test edi, edi
je 0x41d371
mov eax, dword [ebp - 0x18]
push edi
test eax, eax
je 0x41d356
push eax
push ecx
call fcn.004985d0
add esp, 0xc
jmp 0x41d371
push 0
push ecx
call fcn.00498b50
add esp, 0xc
call fcn.0049bfad
mov dword [eax], 0x16
call fcn.0049beaf
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
lea ecx, [ebx + 0x10]
push eax
call fcn.00409440
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x20]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d39c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41d45c
mov edi, dword [ebp - 0x30]
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x41d822
cmp dword [ebp - 0x18], 0
jne 0x41d3ca
test edi, edi
jne 0x41d83b
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41d82c
lea ecx, [eax + 0x10]
mov dword [ebp - 0x20], ecx
test edi, edi
js 0x41d83b
cmp edi, dword [ecx - 8]
jg 0x41d83b
mov dword [ecx - 0xc], edi
xor eax, eax
add edi, edi
mov word [edi + ecx], ax
test edi, edi
je 0x41d431
mov eax, dword [ebp - 0x18]
push edi
test eax, eax
je 0x41d416
push eax
push ecx
call fcn.004985d0
add esp, 0xc
jmp 0x41d431
push 0
push ecx
call fcn.00498b50
add esp, 0xc
call fcn.0049bfad
mov dword [eax], 0x16
call fcn.0049beaf
mov byte [ebp - 4], 6
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 0x14]
call fcn.00409440
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x1c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d45c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41d55a
mov edi, dword [ebp - 0x40]
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x41d822
cmp dword [ebp - 0x18], 0
jne 0x41d48a
test edi, edi
jne 0x41d83b
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41d82c
add eax, 0x10
mov dword [ebp - 0x20], eax
test edi, edi
js 0x41d83b
cmp edi, dword [eax - 8]
jg 0x41d83b
mov dword [eax - 0xc], edi
xor ecx, ecx
add edi, edi
mov word [edi + eax], cx
test edi, edi
je 0x41d4f1
mov ecx, dword [ebp - 0x18]
push edi
test ecx, ecx
je 0x41d4d6
push ecx
push eax
call fcn.004985d0
add esp, 0xc
jmp 0x41d4f1
push 0
push eax
call fcn.00498b50
add esp, 0xc
call fcn.0049bfad
mov dword [eax], 0x16
call fcn.0049beaf
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.0041db40
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 2
push eax
lea ecx, [ebx + 0x1c]
call fcn.00409440
mov eax, 2
mov dword [ebp - 0x10], eax
and eax, 0xfffffffd
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d53f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x24]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d55a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41d652
mov edi, dword [ebp - 0x38]
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x41d831
cmp dword [ebp - 0x1c], 0
jne 0x41d588
test edi, edi
jne 0x41d83b
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41d845
add eax, 0x10
mov dword [ebp - 0x24], eax
test edi, edi
js 0x41d83b
cmp edi, dword [eax - 8]
jg 0x41d83b
mov dword [eax - 0xc], edi
xor ecx, ecx
add edi, edi
mov word [edi + eax], cx
test edi, edi
je 0x41d5ef
mov ecx, dword [ebp - 0x1c]
push edi
test ecx, ecx
je 0x41d5d4
push ecx
push eax
call fcn.004985d0
add esp, 0xc
jmp 0x41d5ef
push 0
push eax
call fcn.00498b50
add esp, 0xc
call fcn.0049bfad
mov dword [eax], 0x16
call fcn.0049beaf
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x18]
call fcn.0041db40
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
or edi, 1
lea ecx, [ebx + 0x20]
push eax
mov dword [ebp - 0x10], edi
call fcn.00409440
and edi, 0xfffffffe
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0xe
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d637
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x20]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d652
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41d712
mov edi, dword [ebp - 0x28]
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x41d822
cmp dword [ebp - 0x1c], 0
jne 0x41d680
test edi, edi
jne 0x41d83b
mov eax, dword [ecx]
push 2
push edi
call dword [eax]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41d82c
lea ecx, [eax + 0x10]
mov dword [ebp - 0x24], ecx
test edi, edi
js 0x41d83b
cmp edi, dword [ecx - 8]
jg 0x41d83b
mov dword [ecx - 0xc], edi
xor eax, eax
add edi, edi
mov word [edi + ecx], ax
test edi, edi
je 0x41d6e7
mov eax, dword [ebp - 0x1c]
push edi
test eax, eax
je 0x41d6cc
push eax
push ecx
call fcn.004985d0
add esp, 0xc
jmp 0x41d6e7
push 0
push ecx
call fcn.00498b50
add esp, 0xc
call fcn.0049bfad
mov dword [eax], 0x16
call fcn.0049beaf
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebx + 0x18]
call fcn.00409440
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x20]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d712
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x54]
mov ax, word [ebp - 0x48]
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], ax
cmp ecx, 5
jne 0x41d7ed
mov edx, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
mov edi, dword [edx - 0xc]
cmp edi, 3
jle 0x41d7ed
cmp word [edx], 0x5c
jne 0x41d7ed
cmp word [edx + 2], 0x5c
jne 0x41d7ed
cmp word [edx + 4], 0x3f
je 0x41d7ed
lea eax, [edi - 2]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408590
mov byte [ebp - 4], 0x15
add ebx, 0x10
push eax
mov ecx, ebx
call fcn.00409440
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d795
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x41d7ed
push 0x4e2508
push eax
call fcn.00498237
add esp, 8
test eax, eax
je 0x41d7ed
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jle 0x41d7ed
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0040a8d0
mov byte [ebp - 4], 0x17
mov ecx, ebx
push eax
call fcn.00409440
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d7ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41d80e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402570
call fcn.00402590
push 0x80004005
call fcn.00402570
push 0x80070057
call fcn.00402570
call fcn.00402590
int3