Function at 0x40bd10
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
mov ebp, ecx
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40bd20
sub esi, ecx
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
sub eax, 0x10
mov dword [esp + 0x10], 0x3c
mov ebx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, ebx
sub edx, esi
or ecx, edx
jge 0x40bd5f
push esi
mov ecx, ebp
call fcn.00406420
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
lea edi, [ebp + 8]
sub eax, 0x10
mov dword [esp + 0x18], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x40bd8e
push esi
mov ecx, edi
call fcn.00406420
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
lea ebx, [ebp + 0x10]
sub eax, 0x10
mov dword [esp + 0x24], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x40bdbc
push esi
mov ecx, ebx
call fcn.00406420
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
lea ebx, [ebp + 0x14]
sub eax, 0x10
mov dword [esp + 0x30], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x40bdea
push esi
mov ecx, ebx
call fcn.00406420
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
lea ebx, [ebp + 0x18]
sub eax, 0x10
mov dword [esp + 0x38], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x40be18
push esi
mov ecx, ebx
call fcn.00406420
mov eax, dword [ebx]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp + 0x1c]
sub eax, 0x10
mov dword [esp + 0x40], esi
mov edx, dword [eax + 0xc]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax + 8]
sub edx, esi
or ecx, edx
jge 0x40be46
push esi
mov ecx, ebx
call fcn.00406420
mov edx, dword [esp + 0x50]
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [ebp]
test eax, eax
setne al
test edx, edx
jne 0x40be74
xor ecx, ecx
jmp 0x40be8f
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x40be80
sub ecx, esi
js 0x40bfa4
cmp ecx, dword [edx - 8]
jg 0x40bfa4
mov dword [edx - 0xc], ecx
mov edx, dword [ebp]
mov byte [ecx + edx], 0
mov edx, dword [edi]
test edx, edx
jne 0x40beac
xor ecx, ecx
jmp 0x40bec0
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x40beb1
sub ecx, esi
js 0x40bfa4
cmp ecx, dword [edx - 8]
jg 0x40bfa4
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x40bedd
xor ecx, ecx
jmp 0x40bef1
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x40bee2
sub ecx, esi
js 0x40bfa4
cmp ecx, dword [edx - 8]
jg 0x40bfa4
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x40bf0f
xor ecx, ecx
jmp 0x40bf23
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x40bf14
sub ecx, esi
js 0x40bfa4
cmp ecx, dword [edx - 8]
jg 0x40bfa4
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x40bf41
xor ecx, ecx
jmp 0x40bf51
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x40bf46
sub ecx, esi
js 0x40bfa4
cmp ecx, dword [edx - 8]
jg 0x40bfa4
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x18]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x1c]
test edx, edx
jne 0x40bf6b
xor ecx, ecx
jmp 0x40bf7b
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x40bf70
sub ecx, esi
js 0x40bfa4
cmp ecx, dword [edx - 8]
jg 0x40bfa4
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x1c]
mov byte [ecx + edx], 0
mov ecx, dword [esp + 0x1c]
mov dx, word [esp + 0x28]
pop edi
pop esi
mov dword [ebp + 4], ecx
mov word [ebp + 0xc], dx
pop ebp
pop ebx
add esp, 0x3c
ret 4
push 0x80070057
call fcn.00405860
int3