Function at 0x40a3f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48ac75
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ada80]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043d83b
mov eax, dword [esi + 0x78]
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 + 0x78]
mov ecx, dword [esi + 0x20]
push eax
xor ebx, ebx
push ebx
push 0x80
push ecx
call edi
mov dword [esi + 0x88], ebx
call fcn.0043a8f1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40a467
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x48], ebx
call fcn.00425070
add esp, 4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 1
call fcn.00401c20
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a4bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xdc]
lea edi, [esi + 0xdc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x40a4eb
push 0x104
mov ecx, edi
call fcn.00401f90
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push ecx
push 0x104
push eax
push 0x495360
push str.channel
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp eax, ebx
jne 0x40a51a
xor eax, eax
jmp 0x40a52c
push ecx
push eax
call fcn.00457ec4
add esp, 8
cmp eax, ebx
jl 0x40a942
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40a942
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
call fcn.0043a8f1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40a55c
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov bl, 2
mov byte [esp + 0x44], bl
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x104
or eax, ecx
jge 0x40a598
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401f90
mov ebp, dword [esp + 0x14]
push 0x104
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 8]
push eax
push ebp
call fcn.00457ec4
add esp, 8
test eax, eax
jl 0x40a942
cmp eax, dword [ebp - 8]
jg 0x40a942
xor ecx, ecx
push 0x5c
mov dword [ebp - 0xc], eax
push ebp
mov word [ebp + eax*2], cx
call fcn.00458570
add esp, 8
test eax, eax
jne 0x40a5e2
or eax, 0xffffffff
jmp 0x40a5e6
sub eax, ebp
sar eax, 1
inc eax
push eax
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405650
lea edi, [esi + 0xd8]
push eax
mov ecx, edi
mov byte [esp + 0x48], 3
call fcn.00401c20
mov byte [esp + 0x44], 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 0x40a62d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0043a8f1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a647
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov bl, 4
mov byte [esp + 0x44], bl
mov ecx, dword [edi]
push str.youwo
push ecx
lea edx, [esp + 0x28]
push str._s_s.exe
push edx
call fcn.00406270
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4953b0
call fcn.00401870
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov edi, esp
push eax
mov dword [esp + 0x40], eax
call fcn.00401fe0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x50], bl
call fcn.0040ff80
lea ecx, [esi + 0xd4]
push eax
mov byte [esp + 0x48], 6
call fcn.00401c20
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00412160
lea ecx, [esp + 0x24]
push ecx
push 0x94
mov dword [esp + 0x2c], 0
call fcn.004098a0
push 0x58
call fcn.00438e58
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x44], 7
test eax, eax
je 0x40a734
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x20]
push edx
push ecx
push eax
call fcn.00419b30
jmp 0x40a736
xor eax, eax
mov byte [esp + 0x44], bl
push 5
mov ecx, eax
mov dword [esi + 0x80], eax
call fcn.00444225
mov eax, dword [esi + 0x20]
push 0xfffffffffffffffc
lea edi, [esi + 0x100]
push eax
mov dword [edi + 0x6c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [edi + 0x70], eax
test eax, eax
je 0x40a784
mov edx, dword [edi + 0x6c]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x4333f0
push 0xfffffffffffffffc
push edx
call ebx
push edi
mov dword [edi + 0x70], eax
mov eax, dword [edi + 0x6c]
push 0xffffffffffffffeb
push eax
call ebx
mov dword [esi + 0x178], 1
call fcn.0043a8f1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a7a8
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x49484c
lea ecx, [esp + 0x1c]
push 0x4953c8
push ecx
mov byte [esp + 0x50], 8
call fcn.00406270
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00444183
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
add eax, 0xfffffed3
cdq
push 0
sub eax, edx
push 0x12d
sar eax, 1
push 0x1ea
push eax
lea eax, [ebx - 0x1ea]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, esi
call fcn.00444487
push esi
call fcn.0040b690
call fcn.0040e6a0
mov ebx, 1
call fcn.0040f360
push 4
call fcn.00438e58
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
xor ebx, ebx
mov byte [esp + 0x44], 9
cmp edi, ebx
je 0x40a886
push 0x18
call fcn.00438e58
add esp, 4
cmp eax, ebx
je 0x40a871
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0x10], 0xffffffff
mov byte [eax + 8], bl
mov dword [eax + 0x14], ebx
mov dword [eax + 0xc], ebx
jmp 0x40a873
xor eax, eax
mov dword [edi], eax
cmp eax, ebx
je 0x40a888
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 4], 0x411d50
jmp 0x40a888
xor edi, edi
mov eax, edi
mov dword [esi + 0x23c], edi
call fcn.00426970
call fcn.0040ff10
mov byte [esp + 0x44], 4
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 0x40a8bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x44], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a901
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x44], 0xffffffff
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 0x40a929
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0x80070057
call fcn.004010b0
int3