Function at 0x10036bf0
Capabilities:
Check if file exists
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cea0a
mov eax, dword fs:[0]
push eax
mov eax, 0x51a4
call fcn.10064f50
mov eax, dword [0x10102f10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x9e8]
mov dword [ebp - 0x51b0], edi
mov dword [ebp - 0x5158], 0
mov dword [ebp - 0x51a8], eax
lea eax, [ebp - 0x11b8]
mov dword [ebp - 0x519c], eax
lea eax, [ebp - 0x1988]
mov dword [ebp - 0x5190], eax
lea eax, [ebp - 0x2158]
mov dword [ebp - 0x5188], eax
lea eax, [ebp - 0x2928]
mov dword [ebp - 0x5180], eax
lea eax, [ebp - 0x30f8]
mov dword [ebp - 0x5178], eax
mov eax, dword [ecx]
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x516c], edi
mov dword [ebp - 0x51a0], 0
mov dword [ebp - 0x5194], 0
mov dword [ebp - 0x51a4], 0x3e8
mov dword [ebp - 0x5198], 0x3e8
mov dword [ebp - 0x518c], 0x3e8
mov dword [ebp - 0x5184], 0x3e8
mov dword [ebp - 0x517c], 0x3e8
mov dword [ebp - 0x5174], 0x3e8
mov dword [ebp - 0x51ac], 0x3c
call dword [eax + 0x68]
push dword [edi]
mov esi, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x5160], esi
mov dword [ebp - 0x5158], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10036d4f
push edi
lea eax, [ebp - 0x5150]
push str.file:___
push eax
call fcn.10014ee0
add esp, 0xc
push eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.10019a20
mov edx, dword [ebp - 0x5150]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10036d4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x51ac]
push ecx
push 0
push dword [eax - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10037b76
push dword [ebp - 0x5178]
lea ecx, [ebp - 0x5154]
call fcn.10007bd0
mov eax, dword [ebp - 0x5154]
mov dword [ebp - 4], 2
cmp dword [eax - 0xc], 0
jg 0x10036d95
or esi, 0xffffffff
jmp 0x10036db3
push 0x23
push eax
call fcn.10092fea
mov esi, eax
add esp, 8
test esi, esi
jne 0x10036dab
or esi, 0xffffffff
jmp 0x10036db3
sub esi, dword [ebp - 0x5154]
sar esi, 1
call fcn.100093c0
mov ecx, eax
test ecx, ecx
je 0x10037b95
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5168], eax
mov byte [ebp - 4], 3
call fcn.100093c0
mov ecx, eax
test ecx, ecx
je 0x10037b9f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x515c], edi
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
je 0x10036f8e
mov eax, dword [ebp - 0x5154]
xor edi, edi
test esi, esi
cmovns edi, esi
cmp edi, dword [eax - 0xc]
jl 0x10036e2b
add eax, 0xfffffff0
push eax
call fcn.10008b90
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x5144], esi
jmp 0x10036e64
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10036e3d
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jne 0x10036e4b
call fcn.100093c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
push eax
push edi
push dword [ebp - 0x5154]
lea ecx, [ebp - 0x5144]
call fcn.100364f0
mov esi, dword [ebp - 0x5144]
mov dword [ebp - 0x5158], 3
lea eax, [ebp - 0x5144]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x5168]
call fcn.10019a20
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10036ea0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5154]
mov edi, dword [eax - 0xc]
test edi, edi
jg 0x10036eb2
or ecx, 0xffffffff
jmp 0x10036ed2
push 0x23
push eax
call fcn.10092fea
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x5154]
test ecx, ecx
jne 0x10036ece
or ecx, 0xffffffff
jmp 0x10036ed2
sub ecx, eax
sar ecx, 1
sub edi, ecx
mov esi, 0
cmovns esi, edi
mov edi, dword [eax - 0xc]
cmp esi, edi
jl 0x10036efa
add eax, 0xfffffff0
push eax
call fcn.10008b90
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x5144], esi
jmp 0x10036f39
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10036f0c
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jne 0x10036f1a
call fcn.100093c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
push eax
mov eax, dword [ebp - 0x5154]
lea ecx, [ebp - 0x5144]
sub edi, esi
push esi
lea eax, [eax + edi*2]
push eax
call fcn.100364f0
mov esi, dword [ebp - 0x5144]
mov dword [ebp - 0x5158], 7
lea eax, [ebp - 0x5144]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x515c]
call fcn.10019a20
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10036f75
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x515c]
mov eax, 7
mov dword [ebp - 0x5160], eax
mov dword [ebp - 0x5158], eax
jmp 0x10036fa0
lea eax, [ebp - 0x5154]
push eax
lea ecx, [ebp - 0x5168]
call fcn.10019a20
lea ecx, [ebp - 0x514c]
mov dword [ebp - 0x514c], 0
mov dword [ebp - 0x5148], 0
call fcn.10025e90
mov dword [ebp - 0x514c], eax
sub esp, 0x18
mov byte [ebp - 4], 7
mov esi, esp
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x5168]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x5150], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10036ff2
sub edx, dword [ebp - 0x5150]
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.1000c4f0
lea eax, [ebp - 0x514c]
push eax
call fcn.10038d30
add esp, 0x1c
mov dword [ebp - 0x5100], 0
xor eax, eax
mov dword [ebp - 0x50fc], 7
lea ecx, [ebp - 0x5110]
mov word [ebp - 0x5110], ax
push 6
push str.lenovo
call fcn.1000c4f0
mov esi, dword [ebp - 0x514c]
mov dword [ebp - 0x5144], esi
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100370bc
mov edi, eax
lea eax, [ebp - 0x5110]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x514c]
call fcn.10036a80
test al, al
je 0x10037088
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x5144]
jmp 0x10037092
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x5144], eax
cmp byte [edi + 0xd], 0
je 0x10037063
mov edi, dword [ebp - 0x515c]
cmp eax, esi
je 0x100370bc
add eax, 0x10
lea ecx, [ebp - 0x514c]
push eax
lea eax, [ebp - 0x5110]
push eax
call fcn.10036a80
test al, al
je 0x100370c2
mov dword [ebp - 0x5144], esi
lea ecx, [ebp - 0x5110]
call fcn.100081c0
cmp dword [ebp - 0x5144], esi
jne 0x10037137
push 6
xor eax, eax
mov dword [ebp - 0x5118], 0
push str.lenovo
lea ecx, [ebp - 0x5128]
mov dword [ebp - 0x5114], 7
mov word [ebp - 0x5128], ax
call fcn.1000c4f0
lea eax, [ebp - 0x5128]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x514c]
call fcn.10036a10
push 1
push 0x100da43c
mov ecx, eax
call fcn.1000c4f0
lea ecx, [ebp - 0x5128]
mov byte [ebp - 4], 7
call fcn.100081c0
push 6
xor eax, eax
mov dword [ebp - 0x5100], 0
push 0x100da440
lea ecx, [ebp - 0x5110]
mov dword [ebp - 0x50fc], 7
mov word [ebp - 0x5110], ax
call fcn.1000c4f0
mov esi, dword [ebp - 0x514c]
mov dword [ebp - 0x5144], esi
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100371d9
mov edi, eax
nop dword [eax]
lea eax, [ebp - 0x5110]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x514c]
call fcn.10036a80
test al, al
je 0x100371a5
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x5144]
jmp 0x100371af
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x5144], eax
cmp byte [edi + 0xd], 0
je 0x10037180
mov edi, dword [ebp - 0x515c]
cmp eax, esi
je 0x100371d9
add eax, 0x10
lea ecx, [ebp - 0x514c]
push eax
lea eax, [ebp - 0x5110]
push eax
call fcn.10036a80
test al, al
je 0x100371df
mov dword [ebp - 0x5144], esi
lea ecx, [ebp - 0x5110]
call fcn.100081c0
cmp dword [ebp - 0x5144], esi
jne 0x1003734d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10092e90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 6
xor eax, eax
mov dword [ebp - 0x5118], 0
push 0x100da440
lea ecx, [ebp - 0x5128]
mov dword [ebp - 0x5114], 7
mov word [ebp - 0x5128], ax
call fcn.1000c4f0
push ecx
mov esi, esp
mov byte [ebp - 4], 9
mov dword [ebp - 0x5164], esi
call fcn.100093c0
mov ecx, eax
test ecx, ecx
je 0x10037ba9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x1003729c
movzx eax, ax
mov ecx, esi
push eax
call fcn.10009ca0
jmp 0x100372c3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100372a5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000aeb0
lea eax, [ebp - 0x5144]
mov byte [ebp - 4], 9
push eax
call fcn.1000dc60
add esp, 8
mov esi, dword [eax]
lea ecx, [ebp - 0x514c]
lea eax, [ebp - 0x5128]
mov byte [ebp - 4], 0xb
push eax
call fcn.10036a10
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x5150], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10037300
sub edx, dword [ebp - 0x5150]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.1000c4f0
mov edx, dword [ebp - 0x5144]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003733e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x5128]
mov byte [ebp - 4], 7
call fcn.100081c0
push 3
xor eax, eax
mov dword [ebp - 0x5100], 0
push 0x100da450
lea ecx, [ebp - 0x5110]
mov dword [ebp - 0x50fc], 7
mov word [ebp - 0x5110], ax
call fcn.1000c4f0
mov esi, dword [ebp - 0x514c]
mov dword [ebp - 0x5144], esi
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100373ec
mov edi, eax
lea eax, [ebp - 0x5110]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x514c]
call fcn.10036a80
test al, al
je 0x100373b8
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x5144]
jmp 0x100373c2
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x5144], eax
cmp byte [edi + 0xd], 0
je 0x10037393
mov edi, dword [ebp - 0x515c]
cmp eax, esi
je 0x100373ec
add eax, 0x10
lea ecx, [ebp - 0x514c]
push eax
lea eax, [ebp - 0x5110]
push eax
call fcn.10036a80
test al, al
je 0x100373f2
mov dword [ebp - 0x5144], esi
lea ecx, [ebp - 0x5110]
call fcn.100081c0
cmp dword [ebp - 0x5144], esi
jne 0x100374bd
push 3
xor eax, eax
mov dword [ebp - 0x5118], 0
push 0x100da450
lea ecx, [ebp - 0x5128]
mov dword [ebp - 0x5114], 7
mov word [ebp - 0x5128], ax
call fcn.1000c4f0
lea eax, [ebp - 0x5144]
mov byte [ebp - 4], 0xc
push eax
call fcn.1000db40
add esp, 4
mov esi, dword [eax]
lea ecx, [ebp - 0x514c]
lea eax, [ebp - 0x5128]
mov byte [ebp - 4], 0xd
push eax
call fcn.10036a10
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x5150], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10037470
sub edx, dword [ebp - 0x5150]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.1000c4f0
mov edx, dword [ebp - 0x5144]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100374ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x5128]
mov byte [ebp - 4], 7
call fcn.100081c0
push 3
xor eax, eax
mov dword [ebp - 0x5100], 0
push 0x100da458
lea ecx, [ebp - 0x5110]
mov dword [ebp - 0x50fc], 7
mov word [ebp - 0x5110], ax
call fcn.1000c4f0
mov esi, dword [ebp - 0x514c]
mov dword [ebp - 0x5144], esi
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1003755c
mov edi, eax
lea eax, [ebp - 0x5110]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x514c]
call fcn.10036a80
test al, al
je 0x10037528
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x5144]
jmp 0x10037532
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x5144], eax
cmp byte [edi + 0xd], 0
je 0x10037503
mov edi, dword [ebp - 0x515c]
cmp eax, esi
je 0x1003755c
add eax, 0x10
lea ecx, [ebp - 0x514c]
push eax
lea eax, [ebp - 0x5110]
push eax
call fcn.10036a80
test al, al
je 0x10037562
mov dword [ebp - 0x5144], esi
lea ecx, [ebp - 0x5110]
call fcn.100081c0
cmp dword [ebp - 0x5144], esi
jne 0x100375fb
push 3
xor eax, eax
mov dword [ebp - 0x5118], 0
push 0x100da458
lea ecx, [ebp - 0x5128]
mov dword [ebp - 0x5114], 7
mov word [ebp - 0x5128], ax
call fcn.1000c4f0
mov byte [ebp - 4], 0xe
call fcn.1000db20
mov esi, eax
lea ecx, [ebp - 0x514c]
lea eax, [ebp - 0x5128]
push eax
call fcn.10036a10
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x5150], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100375d0
sub edx, dword [ebp - 0x5150]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.1000c4f0
lea ecx, [ebp - 0x5128]
mov byte [ebp - 4], 7
call fcn.100081c0
push 4
xor eax, eax
mov dword [ebp - 0x5100], 0
push str.mid2
lea ecx, [ebp - 0x5110]
mov dword [ebp - 0x50fc], 7
mov word [ebp - 0x5110], ax
call fcn.1000c4f0
mov esi, dword [ebp - 0x514c]
mov dword [ebp - 0x5144], esi
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1003769a
mov edi, eax
lea eax, [ebp - 0x5110]
push eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x514c]
call fcn.10036a80
test al, al
je 0x10037666
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x5144]
jmp 0x10037670
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x5144], eax
cmp byte [edi + 0xd], 0
je 0x10037641
mov edi, dword [ebp - 0x515c]
cmp eax, esi
je 0x1003769a
add eax, 0x10
lea ecx, [ebp - 0x514c]
push eax
lea eax, [ebp - 0x5110]
push eax
call fcn.10036a80
test al, al
je 0x100376a0
mov dword [ebp - 0x5144], esi
lea ecx, [ebp - 0x5110]
call fcn.100081c0
cmp dword [ebp - 0x5144], esi
jne 0x10037737
push 4
xor eax, eax
mov dword [ebp - 0x5118], 0
push str.mid2
lea ecx, [ebp - 0x5128]
mov dword [ebp - 0x5114], 7
mov word [ebp - 0x5128], ax
call fcn.1000c4f0
mov byte [ebp - 4], 0xf
call fcn.1000db00
mov esi, eax
lea ecx, [ebp - 0x514c]
lea eax, [ebp - 0x5128]
push eax
call fcn.10036a10
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x5150], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10037710
sub edx, dword [ebp - 0x5150]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.1000c4f0
lea ecx, [ebp - 0x5128]
call fcn.100081c0
xor ecx, ecx
mov edx, 7
xor eax, eax
mov dword [ebp - 0x5130], ecx
mov dword [ebp - 0x512c], edx
mov word [ebp - 0x5140], ax
mov esi, dword [ebp - 0x514c]
mov byte [ebp - 4], 0x10
mov eax, dword [esi]
mov dword [ebp - 0x5150], eax
cmp eax, esi
je 0x1003795a
nop dword [eax]
add eax, 0x10
test ecx, ecx
mov dword [ebp - 0x5144], eax
lea ecx, [ebp - 0x5140]
push 1
jne 0x1003778c
push 0x100da46c
jmp 0x10037791
push 0x100da470
call fcn.1000dee0
xor eax, eax
mov byte [ebp - 4], 0x11
mov word [ebp - 0x5110], ax
lea ecx, [ebp - 0x5110]
mov eax, dword [ebp - 0x5160]
or eax, 8
mov dword [ebp - 0x5100], 0
mov dword [ebp - 0x5158], eax
mov eax, dword [ebp - 0x5144]
mov dword [ebp - 0x50fc], 7
mov eax, dword [eax + 0x10]
inc eax
push eax
call fcn.10039120
mov eax, dword [ebp - 0x5144]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100377ec
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x5110]
call fcn.1000dee0
push 1
push 0x100da474
lea ecx, [ebp - 0x5110]
call fcn.1000dee0
mov eax, dword [ebp - 0x5144]
cmp dword [eax + 0x2c], 8
lea ecx, [eax + 0x18]
jb 0x1003781f
mov ecx, dword [eax + 0x18]
push dword [eax + 0x28]
push ecx
lea ecx, [ebp - 0x5110]
call fcn.1000dee0
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x5160]
or eax, 0x18
movq qword [ebp - 0x5118], xmm0
movups xmmword [ebp - 0x5128], xmm1
mov dword [ebp - 0x5160], eax
mov dword [ebp - 0x5158], eax
cmp dword [ebp - 0x5114], 8
lea ecx, [ebp - 0x5128]
push dword [ebp - 0x5118]
movd eax, xmm1
mov byte [ebp - 4], 0x12
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x5140]
call fcn.1000dee0
mov edx, dword [ebp - 0x5114]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x100378db
mov ecx, dword [ebp - 0x5128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100378d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037bb3
push edx
push ecx
call fcn.10064ae7
add esp, 8
mov eax, dword [ebp - 0x5160]
mov edx, dword [ebp - 0x50fc]
and eax, 0xfffffff7
mov dword [ebp - 0x5160], eax
mov dword [ebp - 0x5158], eax
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x10037934
mov ecx, dword [ebp - 0x5110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003792a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037bb3
push edx
push ecx
call fcn.10064ae7
add esp, 8
lea ecx, [ebp - 0x5150]
call fcn.10008330
mov eax, dword [ebp - 0x5150]
cmp eax, esi
je 0x10037954
mov ecx, dword [ebp - 0x5130]
jmp 0x10037770
mov edx, dword [ebp - 0x512c]
cmp edx, 8
lea ecx, [ebp - 0x515c]
lea eax, [ebp - 0x5140]
cmovae eax, dword [ebp - 0x5140]
push ecx
push eax
lea eax, [ebp - 0x5164]
push eax
call fcn.10014ee0
add esp, 0xc
push eax
lea ecx, [ebp - 0x5154]
mov byte [ebp - 4], 0x13
call fcn.10019a20
mov edx, dword [ebp - 0x5164]
or eax, 0xffffffff
mov byte [ebp - 4], 0x10
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100379b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5154]
mov ecx, dword [edx - 0xc]
add ecx, 1
je 0x10037a0c
cmp ecx, 0x7fffffff
ja 0x10037a0c
mov esi, dword [ebp - 0x5178]
mov edi, SysReAllocString
sub edi, ecx
lea eax, [ecx + edi]
test eax, eax
je 0x100379f3
movzx eax, word [edx]
test ax, ax
je 0x100379f3
mov word [esi], ax
add edx, 2
add esi, 2
sub ecx, 1
jne 0x100379d6
mov edi, dword [ebp - 0x515c]
lea eax, [esi - 2]
test ecx, ecx
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x5154]
mov eax, dword [edx - 0xc]
push 0x2000
mov dword [ebp - 0x5174], eax
lea eax, [ebp - 0x50f8]
push 0
push eax
call fcn.10092e90
add esp, 0xc
mov dword [ebp - 0x5170], 0x1000
lea eax, [ebp - 0x5170]
push eax
lea eax, [ebp - 0x50f8]
push eax
push 0
lea eax, [ebp - 0x51ac]
push eax
call dword [sym.imp.WININET.dll_InternetCreateUrlW]
lea ecx, [ebp - 0x50f8]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10037a60
sub ecx, edx
lea eax, [ebp - 0x50f8]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x516c]
push eax
call fcn.1000aeb0
mov edx, dword [ebp - 0x512c]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x10037ac6
mov ecx, dword [ebp - 0x5140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10037abc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037bb3
push edx
push ecx
call fcn.10064ae7
add esp, 8
mov esi, dword [ebp - 0x514c]
lea ecx, [ebp - 0x514c]
mov byte [ebp - 4], 0x14
push dword [esi + 4]
call fcn.10026030
mov eax, dword [ebp - 0x514c]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x514c]
mov dword [eax], esi
mov eax, dword [ebp - 0x514c]
mov dword [eax + 8], esi
push dword [ebp - 0x514c]
mov dword [ebp - 0x5148], 0
call fcn.10064ae7
or esi, 0xffffffff
mov byte [ebp - 4], 3
add esp, 8
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10037b30
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5168]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10037b51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5154]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10037b70
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, dword [ebp - 0x516c]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064e61
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008920
push 0x80004005
call fcn.10008920
push 0x80004005
call fcn.10008920
call fcn.100963a9
int3