Function at 0x412480
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1564]
mov eax, 0x1564
call fcn.0045bd00
push 0xffffffffffffffff
push 0x488246
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4ac13c]
xor eax, ebp
mov dword [ebp + 0x1560], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x10], 0
mov dword [ebp - 0x10], ebx
jne 0x412c4e
lea ecx, [ebp]
call fcn.00411350
push 0xff
lea eax, [ebp + 0x236]
push str.mini.pdlxf.qq.com
push eax
call fcn.0045ce00
push 0xff
lea ecx, [ebp + 0x338]
push str.mini.fs_tcp_conn.qq.com
mov edi, 0x1f40
push ecx
mov word [ebp + 0x336], di
call fcn.0045ce00
push 0xff
lea edx, [ebp + 0x43b]
push str.mini.stun.qq.com
mov esi, 0x1bb
push edx
mov word [ebp + 0x438], si
call fcn.0045ce00
push 0xff
lea eax, [ebp + 0x53d]
push str.mini.xuanfengnet.qq.com
push eax
mov word [ebp + 0x53b], di
call fcn.0045ce00
push 0xff
lea ecx, [ebp + 0x63f]
push str.mini.xuanfengnet.qq.com
push ecx
mov word [ebp + 0x63d], di
call fcn.0045ce00
push 0xff
lea edx, [ebp + 0x845]
push str.mini.fs_conn.qq.com
push edx
mov word [ebp + 0x73f], 0x50
call fcn.0045ce00
add esp, 0x48
push 0xff
lea eax, [ebp + 0x947]
push str.mini.fs_h2u.qq.com
push eax
mov word [ebp + 0x945], si
call fcn.0045ce00
push 0xff
lea ecx, [ebp + 0x741]
push str.mini.fs_hello.qq.com
push ecx
mov word [ebp + 0xa47], si
call fcn.0045ce00
push 0xff
lea edx, [ebp + 0xa49]
push str.mini.fs_report.qq.com
push edx
mov word [ebp + 0x841], di
mov word [ebp + 0x843], si
call fcn.0045ce00
mov word [ebp + 0xb49], si
xor esi, esi
lea eax, [ebp + 0xd44]
push esi
push eax
mov dword [ebp + 6], 0xf
mov dword [ebp + 0x230], esi
mov word [ebp + 0x234], 0x74f3
mov dword [ebp + 0x22a], esi
mov word [ebp + 0x22e], 0x74f2
mov dword [ebp + 0xb5c], 0x16
mov dword [ebp + 0xb60], 0x14
call fcn.00449fb0
push str.pubconfig.ini
push eax
lea ecx, [ebp + 0xc9c]
push ecx
mov dword [ebp - 4], esi
call fcn.00412230
add esp, 0x38
cmp dword [ebp + 0xd5c], 8
mov byte [ebp - 4], 2
jb 0x41266b
mov edx, dword [ebp + 0xd48]
push edx
call fcn.00451fd9
add esp, 4
mov eax, dword [ebp + 0xca0]
xor esi, esi
cmp dword [ebp + 0xcb4], 8
mov dword [ebp + 0xd5c], 7
mov dword [ebp + 0xd58], esi
mov word [ebp + 0xd48], si
jae 0x412699
lea eax, [ebp + 0xca0]
push eax
push esi
push str.SpecialStragyType
push str.Setting
call dword [0x491338]
cmp eax, 1
jne 0x4126b6
mov byte [ebp + 0x43a], al
mov eax, dword [ebx + 0xc]
add ebx, 0xc
push eax
lea ecx, [ebp + 0xd28]
push ecx
call fcn.00449fb0
add esp, 8
mov ecx, dword [ebp + 0xd40]
cmp ecx, 8
mov edx, dword [ebp + 0xd2c]
mov byte [ebp - 4], 3
mov eax, edx
jae 0x4126e9
lea eax, [ebp + 0xd2c]
mov ebx, dword [ebp + 0xd3c]
lea edi, [eax + ebx*2]
cmp edi, esi
je 0x41271b
cmp ecx, 8
mov eax, edx
jae 0x412703
lea eax, [ebp + 0xd2c]
cmp eax, edi
ja 0x41271b
cmp ecx, 8
mov eax, edx
jae 0x412714
lea eax, [ebp + 0xd2c]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x41272c
call fcn.0045c852
mov ecx, dword [ebp + 0xd40]
mov edx, dword [ebp + 0xd2c]
cmp ecx, 8
lea ebx, [ebp + 0xd28]
jb 0x412a82
test edx, edx
mov esi, edx
je 0x41276c
cmp ecx, 8
mov eax, edx
jae 0x41274e
lea eax, [ebp + 0xd2c]
cmp eax, esi
ja 0x41276c
cmp ecx, 8
mov eax, edx
jae 0x41275f
lea eax, [ebp + 0xd2c]
mov ecx, dword [ebp + 0xd3c]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x412771
call fcn.0045c852
mov ecx, dword [ebp - 0x14]
push ecx
push edi
push ebx
lea eax, [ebp + 0xd28]
push esi
push eax
lea ecx, [ebp + 0xcf0]
mov dword [ebp + 0xd08], 0xf
mov dword [ebp + 0xd04], 0
mov byte [ebp + 0xcf4], 0
call fcn.00411f80
push str.media.cch
lea edx, [ebp + 0xcf0]
push edx
lea eax, [ebp + 0xd44]
mov bl, 4
push eax
mov byte [ebp - 4], bl
call fcn.004122f0
mov eax, dword [ebp + 0xd48]
mov esi, 0x10
add esp, 0xc
cmp dword [ebp + 0xd5c], esi
jae 0x4127de
lea eax, [ebp + 0xd48]
mov ecx, dword [ebp + 0xd58]
push ecx
push eax
lea edx, [ebp + 0x22]
push edx
call fcn.0045ce00
add esp, 0xc
cmp dword [ebp + 0xd5c], esi
jb 0x412809
mov eax, dword [ebp + 0xd48]
push eax
call fcn.00451fd9
add esp, 4
push str._task.lst
lea ecx, [ebp + 0xcf0]
push ecx
lea edx, [ebp + 0xd44]
push edx
call fcn.004122f0
mov eax, dword [ebp + 0xd48]
add esp, 0xc
cmp dword [ebp + 0xd5c], esi
jae 0x412838
lea eax, [ebp + 0xd48]
mov ecx, dword [ebp + 0xd58]
push ecx
push eax
lea edx, [ebp + 0x126]
push edx
call fcn.0045ce00
add esp, 0xc
cmp dword [ebp + 0xd5c], esi
jb 0x412866
mov eax, dword [ebp + 0xd48]
push eax
call fcn.00451fd9
add esp, 4
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp + 0x16], 0x4000
mov dword [ebp + 0x12], ecx
call fcn.00435a40
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 5
call fcn.0042ef90
mov edi, eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], bl
je 0x4128c2
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4128c2
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4128c2
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
push 0xd
push 0x49372c
lea ecx, [ebp + 0xd0c]
mov word [ebp + 4], di
mov dword [ebp + 0xb4b], esi
mov dword [ebp + 0xd24], 7
mov dword [ebp + 0xd20], esi
mov word [ebp + 0xd10], si
call fcn.00402470
lea eax, [ebp + 0xcd4]
push esi
push eax
mov byte [ebp - 4], 6
call fcn.0044a370
lea ecx, [ebp + 0xcd4]
push ecx
mov byte [ebp - 4], 7
call fcn.0044a250
lea edx, [ebp + 0xd0c]
push edx
lea eax, [ebp + 0xcd4]
push eax
lea ecx, [ebp + 0xcb8]
push ecx
call fcn.004123b0
add esp, 0x18
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0xd0c]
mov byte [ebp - 4], 8
call fcn.0040218f
mov esi, 8
cmp dword [ebp + 0xcd0], esi
mov byte [ebp - 4], 7
jb 0x412968
mov edx, dword [ebp + 0xcbc]
push edx
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xd24], esi
mov eax, dword [ebp + 0xd10]
jae 0x41297c
lea eax, [ebp + 0xd10]
mov edi, dword [ebp - 0x10]
xor esi, esi
push esi
lea ebx, [edi + 8]
push ebx
push 0x4936b0
push 0x4936d0
push esi
push eax
lea eax, [edi + 0xc]
push eax
call fcn.00451f00
add esp, 0x1c
cmp eax, esi
jl 0x412b47
cmp dword [ebx], esi
je 0x412b47
push 0x800
lea eax, [ebp + 0xd60]
push esi
push eax
call fcn.0045c2f0
lea ecx, [ebp + 0xd60]
push esi
push ecx
call fcn.00451cd0
add esp, 0x14
lea edx, [ebp + 0xd60]
push edx
lea ecx, [ebp + 0xcb8]
call fcn.0040427f
cmp dword [ebp + 0xccc], esi
mov byte [ebp - 4], 9
je 0x412b2b
lea eax, [ebp + 0xcb8]
push eax
call fcn.0044a250
push 0x493718
lea ecx, [ebp + 0xcb8]
push ecx
lea edx, [ebp + 0xd44]
push edx
call fcn.00412230
add esp, 0x10
cmp dword [ebp + 0xd5c], 8
mov eax, dword [ebp + 0xd48]
mov byte [ebp - 4], 0xa
jae 0x412a32
lea eax, [ebp + 0xd48]
push eax
call fcn.00411470
add esp, 4
test al, al
je 0x412b20
push 0x118
lea eax, [ebp + 0xb68]
push esi
push eax
call fcn.0045c2f0
add esp, 0xc
mov dword [ebp + 0xc6c], 3
call dword [0x4ad514]
cmp dword [ebp + 0xd5c], 8
mov dword [ebp - 0x14], eax
jb 0x412a8d
mov edi, dword [ebp + 0xd48]
cmp edi, esi
jne 0x412a93
xor eax, eax
jmp 0x412ac2
lea esi, [ebp + 0xd2c]
jmp 0x412741
lea edi, [ebp + 0xd48]
push edi
call dword [0x4913b4]
add eax, 1
cmp eax, 0x3fffffff
jle 0x412aa8
xor eax, eax
jmp 0x412ac2
lea esi, [eax + eax]
mov eax, esi
call fcn.0045c4a0
mov ecx, dword [ebp - 0x14]
mov eax, esp
push ecx
push esi
push edi
push eax
call fcn.00411310
xor esi, esi
push eax
lea ecx, [ebp + 0xc80]
call fcn.004040b7
cmp dword [ebp + 0xc98], 0x10
mov eax, dword [ebp + 0xc84]
mov byte [ebp - 4], 0xb
jae 0x412ae7
lea eax, [ebp + 0xc84]
mov edx, dword [ebp + 0xc94]
push edx
push eax
lea eax, [ebp + 0xb68]
push eax
call fcn.0045ca60
mov eax, dword [ebx]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp + 0xb68]
push edx
push eax
mov eax, dword [ecx + 0xfc]
call eax
lea ecx, [ebp + 0xc80]
call fcn.00401fba
mov edi, dword [ebp - 0x10]
lea ecx, [ebp + 0xd44]
call fcn.00402055
cmp dword [ebp + 0xcd0], 8
mov byte [ebp - 4], 7
jb 0x412b47
mov ecx, dword [ebp + 0xcbc]
push ecx
call fcn.00451fd9
add esp, 4
mov eax, dword [ebx]
cmp eax, esi
je 0x412c55
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebp]
push ecx
push eax
call edx
test eax, eax
jne 0x412c55
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0xc8]
call eax
mov byte [edi + 0x10], 1
mov edi, 8
cmp dword [ebp + 0xcec], edi
jb 0x412b9c
mov ecx, dword [ebp + 0xcd8]
push ecx
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xd24], edi
mov ebx, 7
mov dword [ebp + 0xcec], ebx
mov dword [ebp + 0xce8], esi
mov word [ebp + 0xcd8], si
jb 0x412bcb
mov edx, dword [ebp + 0xd10]
push edx
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xd08], 0x10
mov dword [ebp + 0xd24], ebx
mov dword [ebp + 0xd20], esi
mov word [ebp + 0xd10], si
jb 0x412bf6
mov eax, dword [ebp + 0xcf4]
push eax
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xd40], edi
mov dword [ebp + 0xd08], 0xf
mov dword [ebp + 0xd04], esi
mov byte [ebp + 0xcf4], 0
jb 0x412c24
mov ecx, dword [ebp + 0xd2c]
push ecx
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xcb4], edi
mov dword [ebp + 0xd40], ebx
mov dword [ebp + 0xd3c], esi
mov word [ebp + 0xd2c], si
jb 0x412c4e
mov edx, dword [ebp + 0xca0]
push edx
call fcn.00451fd9
add esp, 4
mov al, 1
jmp 0x412d28
cmp dword [ebp + 0xcec], 8
mov byte [edi + 0x10], 0
jb 0x412c71
mov eax, dword [ebp + 0xcd8]
push eax
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xd24], 8
mov edi, 7
mov dword [ebp + 0xcec], edi
mov dword [ebp + 0xce8], esi
mov word [ebp + 0xcd8], si
jb 0x412ca1
mov ecx, dword [ebp + 0xd10]
push ecx
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xd08], 0x10
mov dword [ebp + 0xd24], edi
mov dword [ebp + 0xd20], esi
mov word [ebp + 0xd10], si
jb 0x412ccc
mov edx, dword [ebp + 0xcf4]
push edx
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xd40], 8
mov dword [ebp + 0xd08], 0xf
mov dword [ebp + 0xd04], esi
mov byte [ebp + 0xcf4], 0
jb 0x412cfb
mov eax, dword [ebp + 0xd2c]
push eax
call fcn.00451fd9
add esp, 4
cmp dword [ebp + 0xcb4], 8
mov dword [ebp + 0xd40], edi
mov dword [ebp + 0xd3c], esi
mov word [ebp + 0xd2c], si
jb 0x412d26
mov ecx, dword [ebp + 0xca0]
push ecx
call fcn.00451fd9
add esp, 4
xor al, al
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1560]
xor ecx, ebp
call fcn.0045b7a6
add ebp, 0x1564
mov esp, ebp
pop ebp
ret