Function at 0x416f80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e3fa2
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 [0x5143cc]
lea esi, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
call fcn.004215f0
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 0x417000
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x50]
call fcn.004024d0
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 0x417042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x48]
call fcn.0048aee0
mov ecx, str.Info.ini
mov edx, esi
call fcn.0048b3c0
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
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 0x417085
lea esi, [esp + 0x4c]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x105
or eax, ecx
jge 0x4170ab
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00401130
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 0x4170cf
xor eax, eax
jmp 0x4170e9
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4170d4
sub eax, edx
sar eax, 1
js 0x4174a6
cmp eax, dword [ebp - 8]
jg 0x4174a6
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], bx
cmp dword [ebp - 0xc], ebx
je 0x41743f
mov edi, dword [0x5143cc]
lea esi, [esp + 0x18]
call fcn.004215f0
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 0x417132
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x6c]
call fcn.004024d0
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 0x417174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x64]
call fcn.0048aee0
mov ecx, ebp
mov edx, esi
call fcn.0048b3c0
mov eax, dword [esp + 0x68]
mov esi, 8
cmp dword [esp + 0x7c], esi
jae 0x417199
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.004bbfee
add esp, 8
cmp eax, 0xffffffff
je 0x41742b
cmp dword [esp + 0x60], esi
mov esi, dword [esp + 0x4c]
jae 0x4171ba
lea esi, [esp + 0x4c]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x105
or eax, ecx
jge 0x4171e0
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00401130
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 0x417204
xor eax, eax
jmp 0x417225
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417210
sub eax, edx
sar eax, 1
js 0x4174a6
cmp eax, dword [ebp - 8]
jg 0x4174a6
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], bx
mov edx, ebp
lea eax, [esp + 0x9c]
call fcn.004036c0
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0xc8], 7
call fcn.0048ae00
mov edi, dword [0x5143cc]
lea esi, [esp + 0x18]
call fcn.004215f0
mov byte [esp + 0xc4], 8
mov edx, dword [eax]
lea eax, [esp + 0x80]
call fcn.004036c0
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 0x4172a7
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.0048a520
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x88]
mov byte [esp + 0xcc], 0xb
call fcn.00402090
mov esi, 8
mov byte [esp + 0xc4], bl
cmp dword [esp + 0x44], esi
jb 0x4172ef
mov edx, dword [esp + 0x30]
push edx
call fcn.004b84d9
add esp, 4
lea eax, [esp + 0x80]
push eax
call fcn.0048ae00
cmp dword [esp + 0xb4], esi
mov ecx, dword [esp + 0xa0]
jae 0x417313
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x1c]
push edx
call fcn.004099e0
mov byte [esp + 0xc4], 0xc
cmp dword [esp + 0x98], esi
mov eax, dword [esp + 0x84]
jae 0x41733c
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004b9e54
add esp, 8
test eax, eax
jne 0x4173b6
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x41735c
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 0x41737e
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], 1
cmp dword [esp + 0x7c], esi
mov eax, dword [esp + 0x68]
jae 0x41738c
lea eax, [esp + 0x68]
push eax
push str.CheckExeFile_Defence_Data:__ws
mov ecx, 0x515890
call fcn.004899e0
mov edx, dword [esp + 0x70]
add esp, 8
cmp dword [esp + 0x7c], esi
jae 0x4173ad
lea edx, [esp + 0x68]
mov edi, dword [esp + 0x20]
call fcn.004049e0
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 0x4173dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x98], esi
jb 0x4173f6
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004b84d9
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 0x41742b
mov edx, dword [esp + 0xa0]
push edx
call fcn.004b84d9
add esp, 4
cmp dword [esp + 0x7c], 8
jb 0x41743f
mov eax, dword [esp + 0x68]
push eax
call fcn.004b84d9
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 0x417463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x60], 8
jb 0x417477
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004b84d9
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.004b84de
add esp, 0xb4
ret 4
push 0x80070057
call fcn.00401340
int3