Function at 0x40bb90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455329
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x5324
call fcn.0043dd40
mov eax, dword [0x46c6a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.127.0.0.1
lea ecx, [ebp - 0x5320]
mov dword [ebp - 4], 0
call fcn.00403280
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5320]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.00435fd5
add esp, 8
test eax, eax
jne 0x40bc16
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x5320]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40bfd4
push 0x103
lea ecx, [ebp - 0x117]
push 0
push ecx
mov byte [ebp - 0x118], 0
call fcn.0043b170
add esp, 0xc
push 0x104
lea edx, [ebp - 0x118]
push edx
call dword [0x457320]
lea eax, [ebp - 0x118]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40bc50
mov ecx, dword [str.driversetchosts]
mov edx, dword [0x45eb0c]
mov dword [eax], ecx
mov ecx, dword [0x45eb10]
mov dword [eax + 4], edx
mov edx, dword [0x45eb14]
mov dword [eax + 8], ecx
mov cx, word [0x45eb18]
mov dword [eax + 0xc], edx
mov dl, byte [0x45eb1a]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebp - 0x118]
push eax
call dword [0x4573a0]
mov dword [ebp - 0x5330], eax
cmp eax, 0xffffffff
je 0x40bfba
call fcn.00417057
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40bcc5
push 0x80004005
call fcn.00401710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5328], eax
mov byte [ebp - 4], 2
mov ecx, dword [str.fix_by_Laoqn_r_n]
mov edx, dword [0x45eb20]
mov eax, dword [0x45eb24]
mov dword [ebp - 0x5318], ecx
mov ecx, dword [0x45eb28]
mov dword [ebp - 0x5314], edx
mov dword [ebp - 0x5310], eax
mov dword [ebp - 0x530c], ecx
call fcn.00417057
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40bd24
push 0x80004005
call fcn.00401710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x5324], ebx
lea ecx, [ebp - 0x118]
push 0x45e5c4
push ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x5319], 0
call fcn.004386fb
mov edi, eax
add esp, 8
mov dword [ebp - 0x532c], edi
test edi, edi
je 0x40bf74
push edi
lea edx, [ebp - 0x318]
push 0x200
push edx
call fcn.0043895b
add esp, 0xc
test eax, eax
je 0x40be81
lea eax, [ebp - 0x318]
lea edx, [eax + 1]
jmp 0x40bd90
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bd90
sub eax, edx
push eax
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x5324]
call fcn.00403870
mov ebx, dword [ebp - 0x5324]
mov esi, dword [ebx - 0xc]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x40bdd8
push esi
lea ecx, [ebp - 0x5324]
call fcn.00403930
mov ebx, dword [ebp - 0x5324]
lea ecx, [esi + 1]
push ecx
push ebx
call fcn.00437253
push eax
call fcn.00404130
add esp, 0xc
test esi, esi
jl 0x40bec3
cmp esi, dword [ebx - 8]
jg 0x40bec3
mov dword [ebx - 0xc], esi
mov byte [esi + ebx], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x40be2e
cmp dword [ebx - 0xc], 0
jl 0x40be2e
push eax
push ebx
call fcn.00438137
add esp, 8
test eax, eax
je 0x40be2e
sub eax, ebx
cmp eax, 0xffffffff
jle 0x40be2e
mov byte [ebp - 0x5319], 1
jmp 0x40be64
lea eax, [ebp - 0x318]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40be36
lea edi, [ebp - 0x5318]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40be46
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x532c]
push edi
lea edx, [ebp - 0x318]
push 0x200
push edx
call fcn.0043895b
add esp, 0xc
test eax, eax
jne 0x40bd82
push edi
call fcn.0043a6cb
add esp, 4
cmp byte [ebp - 0x5319], 0
je 0x40bf74
push 0
push 1
push 0x45eb44
call fcn.0041854f
cmp eax, 1
je 0x40becd
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x40bf88
push 0x80070057
call fcn.00401710
lea ecx, [ebp - 0x118]
push ecx
mov byte [ebp - 4], 4
call fcn.00411eb0
test eax, eax
jne 0x40beed
push eax
push eax
push 0x45eb8c
call fcn.0041854f
test byte [ebp - 0x5330], 1
je 0x40bf05
push 0x20
lea edx, [ebp - 0x118]
push edx
call dword [0x45730c]
mov dword [ebp - 4], 3
jmp 0x40bf21
lea eax, [ebp - 0x118]
push 0x45e9a4
push eax
call fcn.004386fb
mov esi, eax
add esp, 8
test esi, esi
je 0x40bf74
lea eax, [ebp - 0x5318]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40bf44
push esi
sub eax, edx
push 1
push eax
lea ecx, [ebp - 0x5318]
push ecx
call fcn.00439311
push esi
call fcn.0043a6cb
add esp, 0x14
push 0
push 0
push 0x45eba4
call fcn.0041854f
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40bf94
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5328]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5320]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bfe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c006
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00435339
mov esp, ebp
pop ebp
ret 4