Function at 0x1004f976
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x2fc
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x2fc], eax
push 0x60
mov eax, 0x100ed008
call fcn.100773f7
mov dword [ebp - 0x1c], ecx
push 0x1011e018
lea ecx, [ebp + 0x94]
call fcn.10001d80
xor ebx, ebx
xor eax, eax
mov byte [ebp + 0x2f0], bl
lea edi, [ebp + 0x2f1]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x206
stosb byte es:[edi], al
lea eax, [ebp + 0xea]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp + 0xe8], bx
call fcn.10077be0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp + 0x94]
push eax
call fcn.1004db34
call fcn.100058ef
mov ecx, eax
call fcn.10017bf1
push eax
lea ecx, [ebp + 0xb0]
call fcn.10001df0
push str.WanNengWBInfo.ini
lea ecx, [ebp + 0xb0]
mov byte [ebp - 4], 1
call fcn.10003cf0
cmp dword [ebp + 0xc8], 8
mov eax, dword [ebp + 0xb4]
jae 0x1004fa2f
lea eax, [ebp + 0xb4]
push eax
push 0x104
lea eax, [ebp + 0xe8]
push eax
push 0x100face0
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.http:__miniswitch.
lea ecx, [ebp + 0xcc]
call fcn.10001d80
push str.dfshurufa.com
lea ecx, [ebp + 0xcc]
mov byte [ebp - 4], 2
call fcn.1001b0b4
push str._miniopenreq_dfttv2_req_
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
push str.uid
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
or esi, 0xffffffff
push esi
push ebx
lea eax, [ebp + 0x94]
push eax
lea ecx, [ebp + 0xcc]
call fcn.1001aee2
push str.qid
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
lea eax, [ebp + 0xe8]
push eax
lea ecx, [ebp - 0x50]
call fcn.10001df0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 3
call fcn.1001b179
pop ecx
pop ecx
push esi
push ebx
push eax
lea ecx, [ebp + 0xcc]
mov byte [ebp - 4], 4
call fcn.1001aee2
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x6c]
call fcn.10001f70
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.10001fc0
push str.softtype
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
push str.WanNengWB
lea ecx, [ebp - 0x50]
call fcn.10001df0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 5
call fcn.1001b179
pop ecx
pop ecx
mov byte [ebp - 4], 6
push esi
push ebx
push eax
lea ecx, [ebp + 0xcc]
call fcn.1001aee2
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.10001f70
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.10001fc0
push str.ver
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
push 0x100f4d2c
lea ecx, [ebp - 0x50]
call fcn.10001df0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 7
call fcn.1001b179
pop ecx
pop ecx
push esi
push ebx
push eax
lea ecx, [ebp + 0xcc]
mov byte [ebp - 4], 8
call fcn.1001aee2
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.10001f70
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.10001fc0
push 0x100ff81c
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
push 0x100f4d24
lea ecx, [ebp - 0x50]
call fcn.10001df0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 9
call fcn.1001b179
pop ecx
pop ecx
push esi
push ebx
push eax
lea ecx, [ebp + 0xcc]
mov byte [ebp - 4], 0xa
call fcn.1001aee2
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.10001f70
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.10001fc0
push str.type
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x324]
push 0x100f4d14
lea eax, [ebp + 0x2f0]
push eax
call fcn.1007a5e2
add esp, 0xc
lea eax, [ebp + 0x2f0]
push eax
lea ecx, [ebp + 0xcc]
call fcn.1001b0b4
push 0x48
call fcn.10054d4d
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x1004fc77
mov ecx, eax
call fcn.100230b4
mov dword [ebp - 0x20], eax
jmp 0x1004fc7a
mov dword [ebp - 0x20], ebx
cmp dword [ebp + 0xe4], 0x10
mov eax, dword [ebp + 0xd0]
mov byte [ebp - 4], 2
jae 0x1004fc93
lea eax, [ebp + 0xd0]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.10023176
mov ecx, dword [ebp - 0x20]
call fcn.1002233a
lea esi, [eax + 0xc]
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x1004fcb8
mov eax, dword [esi + 8]
sub eax, ecx
mov dword [ebp - 0x10], eax
jne 0x1004fcbd
mov dword [ebp - 0x10], edi
mov eax, edi
push eax
call fcn.10054d7d
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push ebx
push eax
call fcn.10077be0
add esp, 0x10
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x1004fd01
mov eax, dword [esi + 8]
sub eax, ecx
cmp dword [ebp - 0x10], eax
jae 0x1004fd01
push dword [ebp - 0x10]
mov ecx, esi
call fcn.10013200
mov edx, dword [ebp - 0x10]
mov al, byte [eax]
mov ecx, dword [ebp - 0x18]
inc dword [ebp - 0x10]
mov byte [edx + ecx], al
jmp 0x1004fcd6
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x1004fd0d
mov eax, dword [ecx]
push edi
call dword [eax]
push dword [ebp - 0x18]
call fcn.10019dcf
pop ecx
lea ecx, [ebp - 0x24]
mov esi, eax
mov dword [ebp - 0x10], edi
call fcn.1001e584
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp]
call fcn.1001f8ec
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.100215f2
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.10001d80
push edi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0xe
call fcn.10020812
push ebx
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0xd
call fcn.10001f70
cmp byte [ebp - 0x11], bl
je 0x1004feda
push 0x1011e018
lea ecx, [ebp + 0x78]
call fcn.10001d80
mov esi, 0x100f6e30
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.100221fc
mov ecx, eax
call fcn.1002096e
test al, al
jne 0x1004fe05
push esi
lea ecx, [ebp - 0x34]
call fcn.100221fc
mov ecx, eax
call fcn.10020fa3
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x2f4]
cmp eax, ebx
jle 0x1004fdd5
cmp eax, edi
jne 0x1004fdcb
mov dword [ebp - 0x10], edi
jmp 0x1004fdd5
push 2
pop ecx
cmp eax, ecx
jne 0x1004fdd5
mov dword [ebp - 0x10], ecx
push ebx
push str.jsws
lea ecx, [esi + 0x3e8]
call fcn.10004770
cmp eax, 0xffffffff
jle 0x1004fdf7
cmp dword [ebp - 0x10], ebx
jbe 0x1004fdf7
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], 2
jne 0x1004fe08
mov dword [esi + 0x460], edi
jmp 0x1004fe08
mov esi, dword [ebp - 0x1c]
push str.time
lea ecx, [ebp - 0x34]
call fcn.100221fc
mov ecx, eax
call fcn.1002096e
test al, al
jne 0x1004fe3a
push str.time
lea ecx, [ebp - 0x34]
call fcn.100221fc
mov ecx, eax
call fcn.10020fa3
mov dword [esi + 0x45c], eax
push 0x100fe3c0
lea ecx, [ebp - 0x34]
call fcn.100221fc
mov ecx, eax
call fcn.1002096e
test al, al
jne 0x1004fea1
lea eax, [ebp - 0x50]
push eax
push 0x100fe3c0
lea ecx, [ebp - 0x34]
call fcn.100221fc
mov ecx, eax
call fcn.10020f0f
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x10
call fcn.1001b49e
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x37c]
mov byte [ebp - 4], 0x11
call fcn.10002540
push ebx
push edi
lea ecx, [ebp - 0x6c]
call fcn.10001fc0
push ebx
push edi
lea ecx, [ebp - 0x50]
call fcn.10001f70
cmp dword [ebp - 0x10], ebx
jne 0x1004feae
mov dword [esi + 0x364], ebx
jmp 0x1004feb4
mov dword [esi + 0x364], edi
cmp dword [ebp - 0x18], ebx
je 0x1004fec2
push dword [ebp - 0x18]
call fcn.10054d78
pop ecx
cmp dword [esi + 0x390], ebx
jne 0x1004fed0
mov dword [esi + 0x364], ebx
push ebx
push edi
lea ecx, [ebp + 0x78]
call fcn.10001f70
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.10021706
lea ecx, [ebp]
call fcn.1001331e
push ebx
push edi
lea ecx, [ebp + 0xcc]
call fcn.10001f70
push ebx
push edi
lea ecx, [ebp + 0xb0]
call fcn.10001fc0
push ebx
push edi
lea ecx, [ebp + 0x94]
call fcn.10001f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2fc]
xor ecx, ebp
call fcn.100773e8
add ebp, 0x300
leave
ret