Function at 0x402090
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 0x4020a0
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 0x4020df
push esi
mov ecx, ebp
call fcn.00401840
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 0x40210e
push esi
mov ecx, edi
call fcn.00401840
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 0x40213c
push esi
mov ecx, ebx
call fcn.00401840
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 0x40216a
push esi
mov ecx, ebx
call fcn.00401840
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 0x402198
push esi
mov ecx, ebx
call fcn.00401840
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 0x4021c6
push esi
mov ecx, ebx
call fcn.00401840
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 0x4021f4
xor ecx, ecx
jmp 0x40220f
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x402200
sub ecx, esi
js 0x402324
cmp ecx, dword [edx - 8]
jg 0x402324
mov dword [edx - 0xc], ecx
mov edx, dword [ebp]
mov byte [ecx + edx], 0
mov edx, dword [edi]
test edx, edx
jne 0x40222c
xor ecx, ecx
jmp 0x402240
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x402231
sub ecx, esi
js 0x402324
cmp ecx, dword [edx - 8]
jg 0x402324
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x40225d
xor ecx, ecx
jmp 0x402271
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x402262
sub ecx, esi
js 0x402324
cmp ecx, dword [edx - 8]
jg 0x402324
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x40228f
xor ecx, ecx
jmp 0x4022a3
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x402294
sub ecx, esi
js 0x402324
cmp ecx, dword [edx - 8]
jg 0x402324
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4022c1
xor ecx, ecx
jmp 0x4022d1
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4022c6
sub ecx, esi
js 0x402324
cmp ecx, dword [edx - 8]
jg 0x402324
mov dword [edx - 0xc], ecx
mov edx, dword [ebp + 0x18]
mov byte [ecx + edx], 0
mov edx, dword [ebp + 0x1c]
test edx, edx
jne 0x4022eb
xor ecx, ecx
jmp 0x4022fb
mov ecx, edx
lea esi, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x4022f0
sub ecx, esi
js 0x402324
cmp ecx, dword [edx - 8]
jg 0x402324
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.00401490
int3