Function at 0x402e30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43a81c
mov eax, dword fs:[0]
push eax
sub esp, 0x720
mov eax, dword [0x44a5dc]
xor eax, esp
mov dword [esp + 0x718], eax
push ebx
push esi
push edi
mov eax, dword [0x44a5dc]
xor eax, esp
push eax
lea eax, [esp + 0x730]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
mov edi, ecx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.004085ef
push 0
call fcn.004094bb
add esp, 4
push 0x440b5c
mov ecx, edi
call fcn.00409a30
call fcn.004077c6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402ec8
push 0x80004005
call fcn.00402320
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x738], 0
call fcn.004077c6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402efd
push 0x80004005
call fcn.00402320
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x738], 1
call fcn.004077c6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402f2f
push 0x80004005
call fcn.00402320
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x738], 2
call fcn.004077c6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402f61
push 0x80004005
call fcn.00402320
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x20]
mov byte [esp + 0x738], 3
call fcn.004038a0
mov esi, dword [esp + 0x28]
lea ebx, [esp + 0x14]
mov ecx, esi
call fcn.00403430
lea ebx, [esi + 0xa4]
mov byte [esp + 0x738], 4
push eax
mov ecx, ebx
mov dword [esp + 0x28], ebx
call fcn.00402b60
mov byte [esp + 0x738], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402fd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00403610
cmp eax, 1
je 0x40300d
push 0
push 0
push 0x440b7c
call fcn.00409e9e
mov byte [esp + 0x738], 2
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
jmp 0x4032d8
mov ecx, esi
call fcn.00403ae0
lea esi, [esp + 0xec]
call section..text
lea edx, [esp + 0x1c]
mov ecx, esi
mov byte [esp + 0x738], 5
call fcn.00401d20
lea ecx, [esp + 0x34]
push ecx
call fcn.00404560
push str.param.ini
lea edx, [esp + 0x18]
xor eax, eax
push ebx
mov byte [esp + 0x740], 6
mov ecx, 0x80
lea edi, [esp + 0x52c]
push edx
rep stosd dword es:[edi], eax
call fcn.00403cf0
mov eax, dword [eax]
add esp, 0xc
push eax
push 0xff
lea eax, [esp + 0x52c]
push eax
push str.http:__www.ttx123.cn
push 0x440bd4
push str.PARAM
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x524]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4030b7
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x528]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402990
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb8]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str._s__u_st_did_s
push eax
call fcn.00402aa0
mov edi, dword [esp + 0x28]
add esp, 0x18
mov ebx, edi
lea ecx, [esp + 0x34]
call fcn.00406330
cmp dword [esi + 0xa8], 0
mov ebx, eax
mov dword [esp + 0x14], ebx
jne 0x403150
push 1
lea ecx, [esp + 0x38]
push ecx
mov edi, 0x440b20
call fcn.00405090
cmp dword [esi + 0xbc], 0
jne 0x40314c
push 0
push 0
push 0x440c10
call fcn.00409e9e
mov edi, dword [esp + 0x10]
test ebx, ebx
jle 0x403215
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x403215
cmp eax, 1
jne 0x40317c
push edi
call fcn.00405240
push edi
lea edx, [esp + 0x38]
push edx
call fcn.00406440
cmp dword [esi + 0xa8], 2
jne 0x403195
push 1
lea eax, [esp + 0x38]
push eax
call fcn.00405090
mov edi, dword [esp + 0x10]
cmp dword [esi + 0xbc], 0
jne 0x4031ae
push 0
push 0
push 0x440c48
call fcn.00409e9e
jmp 0x403215
mov ebx, edi
lea ecx, [esp + 0x34]
call fcn.00406330
cmp eax, dword [esp + 0x14]
jge 0x403215
mov edi, dword [esp + 0x24]
push str.param.ini
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.00403cf0
mov eax, dword [eax]
add esp, 0xc
push eax
push 0
push 0x440cb0
push str.PARAM
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40320d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x40326b
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x73c], 5
call fcn.00404630
lea ecx, [esp + 0xec]
call fcn.004011a0
mov byte [esp + 0x738], 2
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 0x40325b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x738], 1
lea eax, [edi - 0x10]
jmp 0x4032f3
push edi
lea ecx, [esp + 0x60]
push ecx
call fcn.00404010
lea edx, [esp + 0x5c]
mov byte [esp + 0x738], 8
mov ecx, edx
mov dword [esi + 0x20], edx
call fcn.0040a6ae
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x73c], 6
call fcn.00403390
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x73c], 5
call fcn.00404630
lea ecx, [esp + 0xec]
call fcn.004011a0
mov byte [esp + 0x738], 2
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 0x4032e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x738], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40330c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x738], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403334
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x738], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40335f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x730]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x718]
xor ecx, esp
call fcn.00422f00
mov esp, ebp
pop ebp
ret