Function at 0x4076c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441068
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x4558c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00412bcb
mov eax, dword [esi + 0x74]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
call fcn.0040cccf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407735
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x4483b8
lea ecx, [esp + 0x14]
push 0x448ab0
push ecx
mov dword [esp + 0x3c], 0
call fcn.004045e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
mov ecx, esi
call fcn.004193a4
call fcn.00409170
mov eax, esi
call fcn.00409270
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebp, eax
call edi
mov ecx, dword [esi + 0x9c]
mov edi, dword [esi + 0x98]
sub eax, ecx
cdq
push 0
sub eax, edx
push ecx
sar eax, 1
push edi
push eax
mov eax, ebp
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, esi
call fcn.004196a8
mov ebp, vtable.CRgn.0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebp
push 4
mov byte [esp + 0x34], 1
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
push 4
inc eax
push eax
inc ecx
push ecx
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.00413b8c
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [esi + 0x10c]
lea edi, [esi + 0x10c]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x407835
push 0x104
mov ecx, edi
call fcn.00401ea0
mov eax, dword [edi]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x407860
push ecx
push eax
call fcn.004296ab
add esp, 8
test eax, eax
jl 0x407a36
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x407a36
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [edi]
push 0x5c
push eax
call fcn.00429bf9
add esp, 8
test eax, eax
jne 0x40788c
or eax, 0xffffffff
jmp 0x407890
sub eax, dword [edi]
sar eax, 1
inc eax
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.00403a90
push eax
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.00401b80
mov byte [esp + 0x30], 1
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 0x4078d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00409fb0
call fcn.0040cccf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4078ef
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x34], 3
call fcn.0040b5c0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 4
call fcn.00401b80
mov byte [esp + 0x30], 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 0x407945
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x110]
add esi, 0x110
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x407974
push 0x104
mov ecx, esi
call fcn.00401ea0
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push 0x104
push eax
push str.Youxun
push str.channel
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4079b1
push ecx
push eax
call fcn.004296ab
add esp, 8
test eax, eax
jl 0x407a36
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x407a36
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4079e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
call fcn.00407230
mov dword [esp + 0x30], 0xffffffff
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 0x407a1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401090
int3