Function at 0x4685d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8992
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
call fcn.0045a840
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [edx], ax
jne 0x46863e
xor ecx, ecx
jmp 0x468652
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468643
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00439160
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x9c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468680
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0048e490
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
cmp ecx, eax
je 0x4686a1
push 0xffffffffffffffff
push 0
push eax
call fcn.00438df0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4686ba
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00433600
push str.Info.ini
lea ecx, [ebp - 0x44]
call fcn.0048e980
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x4686dc
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x90], esi
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov ecx, 1
mov eax, dword [esi - 8]
cmovae ebx, dword [ebp - 0x44]
sub eax, 0x105
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x468723
push 0x105
lea ecx, [ebp - 0x90]
call fcn.0041cb60
mov esi, dword [ebp - 0x90]
push ebx
push 0x104
push esi
push 0x4ed230
push 0x4f7f5c
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.004ab819
add esp, 8
test eax, eax
js 0x468abf
cmp eax, dword [esi - 8]
jg 0x468abf
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x468a6e
lea ecx, [ebp - 0x94]
call fcn.0045a840
mov byte [ebp - 4], 5
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x46879c
xor ecx, ecx
jmp 0x4687b0
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4687a1
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00439160
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4687db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048e490
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp ecx, eax
je 0x4687fc
push 0xffffffffffffffff
push 0
push eax
call fcn.00438df0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x468815
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00433600
push esi
lea ecx, [ebp - 0x2c]
call fcn.0048e980
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004af37c
add esp, 8
cmp eax, 0xffffffff
je 0x468a59
cmp dword [ebp - 0x30], 8
lea ebx, [ebp - 0x44]
mov eax, dword [esi - 8]
mov ecx, 1
cmovae ebx, dword [ebp - 0x44]
sub eax, 0x105
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x468872
push 0x105
lea ecx, [ebp - 0x90]
call fcn.0041cb60
mov esi, dword [ebp - 0x90]
push ebx
push 0x104
push esi
push 0x4ed230
push str.PacketExe
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.004ab819
add esp, 8
test eax, eax
js 0x468abf
cmp eax, dword [esi - 8]
jg 0x468abf
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x5c]
push esi
call fcn.00438660
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.0048e2c0
lea ecx, [ebp - 0x94]
call fcn.0045a840
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
push dword [eax]
call fcn.00438660
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468903
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.0048d9f0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xd
cmp ecx, eax
je 0x468927
push 0xffffffffffffffff
push 0
push eax
call fcn.00438df0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x468946
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00433600
lea ecx, [ebp - 0x74]
call fcn.0048e2c0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x98]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.0041c970
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x60], 8
jb 0x468980
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x468983
push 0x80004005
call fcn.0041cdf0
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x98]
call fcn.004ab57d
add esp, 8
test eax, eax
jne 0x4689fa
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push 0
push str.PacketDataType
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4689c5
mov eax, dword [ebp - 0xa0]
mov dword [eax + 8], 1
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push str.CheckExeFile_Defence_Data:__ws
push 0x515488
call fcn.0048cf90
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0041cd80
mov byte [ebp - 4], 0xc
mov eax, edi
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x468a1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x468a30
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x468a59
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00433600
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x468a6e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00433600
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x468a87
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x468a9c
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00433600
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0041cdf0
int3