Function at 0x416fc0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e3e22
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov edi, dword [0x5143ec]
lea esi, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
call fcn.004215d0
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x417040
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x50]
call fcn.00402530
mov byte [esp + 0xc4], 2
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 0x417082
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x48]
call fcn.0048acf0
mov ecx, str.Info.ini
mov edx, esi
call fcn.0048b280
mov edx, dword [0x5143cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143cc
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0xc4], 3
cmp dword [esp + 0x60], 8
mov esi, dword [esp + 0x4c]
jae 0x4170c5
lea esi, [esp + 0x4c]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x105
or eax, ecx
jge 0x4170eb
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00401150
mov ebp, dword [esp + 0x14]
push esi
push 0x104
push ebp
push 0x4ef7d8
push str.Packetdata
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp ebp, ebx
jne 0x41710f
xor eax, eax
jmp 0x417129
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417114
sub eax, edx
sar eax, 1
js 0x4174e6
cmp eax, dword [ebp - 8]
jg 0x4174e6
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], bx
cmp dword [ebp - 0xc], ebx
je 0x41747f
mov edi, dword [0x5143ec]
lea esi, [esp + 0x18]
call fcn.004215d0
mov byte [esp + 0xc4], 4
mov edx, dword [eax]
mov eax, edx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417172
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x6c]
call fcn.00402530
mov byte [esp + 0xc4], 6
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 0x4171b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x64]
call fcn.0048acf0
mov ecx, ebp
mov edx, esi
call fcn.0048b280
mov eax, dword [esp + 0x68]
mov esi, 8
cmp dword [esp + 0x7c], esi
jae 0x4171d9
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.004bbf01
add esp, 8
cmp eax, 0xffffffff
je 0x41746b
cmp dword [esp + 0x60], esi
mov esi, dword [esp + 0x4c]
jae 0x4171fa
lea esi, [esp + 0x4c]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x105
or eax, ecx
jge 0x417220
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00401150
mov ebp, dword [esp + 0x14]
push esi
push 0x104
push ebp
push 0x4ef7d8
push str.PacketExe
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp ebp, ebx
jne 0x417244
xor eax, eax
jmp 0x417265
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417250
sub eax, edx
sar eax, 1
js 0x4174e6
cmp eax, dword [ebp - 8]
jg 0x4174e6
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], bx
mov edx, ebp
lea eax, [esp + 0x9c]
call fcn.00403710
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0xc8], 7
call fcn.0048ac10
mov edi, dword [0x5143ec]
lea esi, [esp + 0x18]
call fcn.004215d0
mov byte [esp + 0xc4], 8
mov edx, dword [eax]
lea eax, [esp + 0x80]
call fcn.00403710
mov bl, 0xa
mov byte [esp + 0xc4], bl
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 0x4172e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x30]
call fcn.0048a330
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 0xb
call fcn.004020f0
mov esi, 8
mov byte [esp + 0xc4], bl
cmp dword [esp + 0x44], esi
jb 0x41732f
mov edx, dword [esp + 0x30]
push edx
call fcn.004b83e9
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.0048ac10
cmp dword [esp + 0xb4], esi
mov ecx, dword [esp + 0xa0]
jae 0x417353
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x1c]
push edx
call fcn.00409c00
mov byte [esp + 0xc4], 0xc
cmp dword [esp + 0x98], esi
mov eax, dword [esp + 0x84]
jae 0x41737c
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004b9d0f
add esp, 8
test eax, eax
jne 0x4173f6
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x41739c
lea eax, [esp + 0x4c]
push eax
push 0
push str.PacketDataType
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4173be
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], 1
cmp dword [esp + 0x7c], esi
mov eax, dword [esp + 0x68]
jae 0x4173cc
lea eax, [esp + 0x68]
push eax
push str.CheckExeFile_Defence_Data:__ws
mov ecx, 0x5158b0
call fcn.00489840
mov edx, dword [esp + 0x70]
add esp, 8
cmp dword [esp + 0x7c], esi
jae 0x4173ed
lea edx, [esp + 0x68]
mov edi, dword [esp + 0x20]
call fcn.00404a50
mov byte [esp + 0xc4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41741d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x98], esi
jb 0x417436
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004b83e9
add esp, 4
xor eax, eax
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], eax
mov word [esp + 0x84], ax
jb 0x41746b
mov edx, dword [esp + 0xa0]
push edx
call fcn.004b83e9
add esp, 4
cmp dword [esp + 0x7c], 8
jb 0x41747f
mov eax, dword [esp + 0x68]
push eax
call fcn.004b83e9
add esp, 4
lea eax, [ebp - 0x10]
mov byte [esp + 0xc4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4174a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x60], 8
jb 0x4174b7
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004b83e9
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004b83ee
add esp, 0xb4
ret 4
push 0x80070057
call fcn.00401350
int3