Function at 0x401060
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x413050
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41913c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x40127e
mov ecx, dword [ecx]
lea edx, [esp + 0x24]
push edx
call fcn.00401910
mov dword [esp + 0x38], esi
mov eax, dword [0x419fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x419fac
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x38], 1
mov eax, dword [0x419fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x419fac
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x38], 2
mov eax, dword [0x419fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x419fac
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x18]
mov byte [esp + 0x38], 3
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], esi
call fcn.00401af0
mov eax, dword [eax]
add esp, 4
push eax
push esi
push str.TYPE
push str.User
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401144
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401af0
add esp, 4
mov byte [esp + 0x38], 4
mov esi, dword [eax]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x800
or eax, ecx
jge 0x401182
mov ecx, 0x800
lea eax, [esp + 0x14]
call fcn.00401f80
mov edi, dword [esp + 0x14]
push esi
push 0x7ff
push edi
push 0x415c2d
push str.SrcP
push str.User
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4011c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004076e4
add esp, 8
test eax, eax
jl 0x40174b
cmp eax, dword [edi - 8]
jg 0x40174b
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
cmp dword [edi - 0xc], 1
jge 0x401294
add ebx, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401213
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0xfffffff0
mov byte [esp + 0x38], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401234
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0xfffffff0
or edx, 0xffffffff
lea ecx, [ebp + 0xc]
mov byte [esp + 0x38], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401256
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40127e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401af0
add esp, 4
mov byte [esp + 0x38], 5
mov esi, dword [eax]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x1f4
or eax, ecx
jge 0x4012d2
mov ecx, 0x1f4
lea eax, [esp + 0x20]
call fcn.00401f80
mov ebp, dword [esp + 0x20]
push esi
push 0x1f3
push ebp
push 0x415c2d
push str.HomePage
push 0x415c44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401313
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.004076e4
add esp, 8
test eax, eax
jl 0x40174b
cmp eax, dword [ebp - 8]
jg 0x40174b
mov dword [ebp - 0xc], eax
mov byte [eax + ebp], 0
mov eax, 1
cmp dword [ebp - 0xc], eax
jl 0x4011f2
cmp dword [edi - 4], eax
jle 0x40135d
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00401e00
mov edi, dword [esp + 0x14]
cmp dword [edi - 4], 1
mov esi, edi
jle 0x401377
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00401e00
mov edi, dword [esp + 0x14]
push 0
push esi
push edi
call dword [0x41abf8]
lea esi, [esp + 0x14]
call fcn.00401bd0
cmp dword [ebp - 4], 1
jle 0x4013a2
mov edx, dword [ebp - 0xc]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00401e00
mov ebp, dword [esp + 0x20]
cmp dword [ebp - 4], 1
mov esi, ebp
jle 0x4013bc
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00401e00
mov ebp, dword [esp + 0x20]
push 0
push esi
push ebp
call dword [0x41abf8]
lea esi, [esp + 0x20]
call fcn.00401bd0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x401655
mov eax, dword [0x419fac]
mov edx, dword [eax + 0xc]
mov ecx, 0x419fac
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
lea eax, [esp + 0x2c]
mov bl, 6
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.00401af0
add esp, 4
mov byte [esp + 0x38], 7
mov esi, dword [eax]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x400
or eax, ecx
jge 0x401435
mov ecx, 0x400
lea eax, [esp + 0x18]
call fcn.00401f80
mov edi, dword [esp + 0x18]
push esi
push 0x3ff
push edi
push 0x415c2d
push str.ghpg
push str.User
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401475
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x18]
call fcn.00401bd0
mov ebx, 1
cmp dword [edi - 4], ebx
jle 0x401498
mov ecx, dword [edi - 0xc]
push ecx
mov edx, esi
push edx
call fcn.00401e00
mov edi, dword [esp + 0x18]
cmp dword [edi - 4], ebx
mov esi, edi
jle 0x4014b1
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401e00
mov edi, dword [esp + 0x18]
push 0
push esi
push edi
call dword [0x41abf8]
lea esi, [esp + 0x18]
call fcn.00401bd0
cmp dword [edi - 0xc], 3
jle 0x401528
push 0x80001c04
push 4
call fcn.00401bb0
mov edx, dword [esp + 0x48]
push eax
push 0x415c54
push 0x415c58
push edx
mov edi, 0x415c2d
mov esi, str.123.sogou.com
call fcn.004017b0
push 0x80001c04
push 4
lea esi, [esp + 0x20]
call fcn.00401bb0
push eax
mov eax, dword [esp + 0x4c]
push str......_...._
push 0x415c58
push eax
mov edi, 0x415c78
mov esi, str.123.sogou.com
call fcn.004017b0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x30]
call fcn.00401a20
lea ebx, [esp + 0x1c]
mov byte [esp + 0x38], 8
call fcn.004019c0
mov byte [esp + 0x38], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40156e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
cmp dword [ebx - 0xc], 0
je 0x401627
mov esi, 1
cmp dword [ebp - 4], esi
jle 0x401598
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00401e00
mov ebp, dword [esp + 0x20]
cmp dword [ebx - 4], esi
jle 0x4015af
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00401e00
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push 0x80001c24
push 2
push ebp
push 0
push 0x415c80
push edx
mov edi, ebx
mov esi, str.www.sogou.com
call fcn.004017b0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ebx, [esp + 0x30]
call fcn.00401a20
lea ebx, [esp + 0x1c]
mov byte [esp + 0x38], 9
call fcn.004019c0
mov byte [esp + 0x38], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401615
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
cmp dword [ebx - 0xc], 0
jne 0x40157c
mov edi, dword [esp + 0x18]
add edi, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401742
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov edi, dword [esp + 0x14]
jmp 0x4011f2
cmp eax, 1
jne 0x4011f2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ebx, [esp + 0x30]
call fcn.00401a20
lea ebx, [esp + 0x1c]
mov byte [esp + 0x38], 0xa
call fcn.004019c0
lea eax, [esp + 0x2c]
mov byte [esp + 0x38], 3
call fcn.004019a0
mov ebx, dword [esp + 0x1c]
cmp dword [ebx - 0xc], 0
je 0x4011f2
mov esi, 1
cmp dword [ebp - 4], esi
jle 0x4016b7
mov edx, dword [ebp - 0xc]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00401e00
mov ebp, dword [esp + 0x20]
cmp dword [ebx - 4], esi
jle 0x4016ce
mov ecx, dword [ebx - 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00401e00
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
push 0x80001c24
push 2
push ebp
push 0
push 0x415c80
push eax
mov edi, ebx
mov esi, str.www.baidu.com
call fcn.004017b0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x30]
call fcn.00401a20
lea ebx, [esp + 0x1c]
mov byte [esp + 0x38], 0xb
call fcn.004019c0
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401734
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
cmp dword [ebx - 0xc], 0
jne 0x40169b
mov edi, dword [esp + 0x14]
jmp 0x4011f2
push 0x80070057
call fcn.004023b0
int3