Function at 0x416270
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ecx
mov eax, 0x21e4
call fcn.004340e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
push 0x1388
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov dword [ebp - 0x21f8], eax
push 0
mov esi, dword [sym.imp.WS2_32.dll_htons]
call esi
mov byte [ebp - 0x12c], 0
push 0x31
push 0
lea eax, [ebp - 0x12b]
push eax
call fcn.00447cb0
add esp, 0xc
movups xmm0, xmmword [ebp - 0x12c]
movups xmmword [ebp - 0x21f2], xmm0
movups xmm0, xmmword [ebp - 0x11c]
movups xmmword [ebp - 0x21e2], xmm0
movups xmm0, xmmword [ebp - 0x10c]
movups xmmword [ebp - 0x21d2], xmm0
movzx eax, word [ebp - 0xfc]
mov word [ebp - 0x21c2], ax
mov byte [ebp - 0xf8], 0
push 0x31
push 0
lea eax, [ebp - 0xf7]
push eax
call fcn.00447cb0
add esp, 0xc
movups xmm0, xmmword [ebp - 0xf8]
movups xmmword [ebp - 0x21c0], xmm0
movups xmm0, xmmword [ebp - 0xe8]
movups xmmword [ebp - 0x21b0], xmm0
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [ebp - 0x21a0], xmm0
movzx eax, word [ebp - 0xc8]
mov word [ebp - 0x2190], ax
mov byte [ebp - 0xc4], 0
push 0x31
push 0
lea eax, [ebp - 0xc3]
push eax
call fcn.00447cb0
add esp, 0xc
movups xmm0, xmmword [ebp - 0xc4]
movups xmmword [ebp - 0x218e], xmm0
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [ebp - 0x217e], xmm0
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [ebp - 0x216e], xmm0
movzx eax, word [ebp - 0x94]
mov word [ebp - 0x215e], ax
push 0
call edi
mov dword [ebp - 0x215c], eax
mov byte [ebp - 0x90], 0
push 0x31
push 0
lea eax, [ebp - 0x8f]
push eax
call fcn.00447cb0
add esp, 0xc
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ebp - 0x2158], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ebp - 0x2148], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x2138], xmm0
movzx eax, word [ebp - 0x60]
mov word [ebp - 0x2128], ax
push 0xce
call esi
mov word [ebp - 0x21f4], ax
lea edi, [ebp - 0x2126]
push 0
call esi
mov word [ebp - 0x2126], ax
mov byte [ebp - 0x2124], 1
push 0
call esi
mov word [ebp - 0x2123], ax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x2121], eax
lea ecx, [ebp - 0x211d]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
push str.SingleSkillStoneCfg.yml
lea ecx, [ebp - 0x144]
call fcn.00406da0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.004348f0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x144]
call fcn.004080d0
lea ecx, [ebp - 0x5c]
call fcn.00410f40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.00405240
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0
xor eax, eax
cmp eax, ecx
jae 0x4166b5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x17c]
call fcn.00409e40
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x5c]
call fcn.00411110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call fcn.00404dc0
push 0
call esi
mov ecx, dword [ebp - 0x20]
mov word [ecx], ax
lea esi, [ecx + 2]
push str.StoneID
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409fd0
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.0040a160
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
call fcn.00404dc0
push str.ActiveCondVal1
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409fd0
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.0040a160
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1cc]
call fcn.00404dc0
push str.UseCountUpperlimit
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409fd0
mov byte [ebp - 4], 8
mov ecx, eax
call fcn.0040a160
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 8], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f4]
call fcn.00404dc0
push str.ActiveSuccessProb
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409fd0
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.0040a160
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00404dc0
push str.CoolTime
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409fd0
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.0040a160
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc]
call fcn.00404dc0
push str.GenResultVal1
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00409fd0
mov byte [ebp - 4], 0xb
mov ecx, eax
call fcn.0040a160
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x14], eax
add esi, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
call fcn.00404dc0
sub esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
push esi
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
mov ecx, dword [ebp - 0x20]
mov word [ecx], ax
add ecx, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x124]
call fcn.00410f40
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x5c]
call fcn.00411170
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.00404dc0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x24]
jmp 0x4164c4
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
lea ecx, [ebp - 0x2121]
mov dword [ecx], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00404dc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.00404dc0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2123]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x20], ecx
push ecx
call esi
mov word [ebp - 0x2123], ax
lea eax, [ebp - 0x2123]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
sub ecx, edi
add ecx, 4
mov dword [ebp - 0x1c], ecx
push ecx
call esi
mov word [ebp - 0x2126], ax
add edi, dword [ebp - 0x1c]
push 0
call esi
mov word [edi], ax
mov byte [edi + 2], 0x1c
lea ecx, [edi + 3]
movzx eax, cx
mov dword [ebp - 0x1c], eax
movzx eax, cx
mov dword [ebp - 0x24], eax
push 0
call esi
lea edx, [edi + 3]
mov word [edx], ax
mov ecx, 0x48fab8
movzx eax, dx
movzx esi, dx
cmp dword [0x48facc], 0x10
jb 0x416776
mov ecx, dword [0x48fab8]
mov eax, dword [ebp - 0x24]
movzx eax, ax
mov esi, dword [ebp - 0x1c]
movzx esi, si
movzx esi, si
mov dword [ebp - 0x28], esi
movzx eax, ax
mov dword [ebp - 0x24], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416785
sub ecx, esi
mov dword [ebp - 0x1c], ecx
mov byte [edx + 2], cl
add edx, 3
movzx eax, dx
mov dword [ebp - 0x2c], eax
mov esi, 0x48fab8
movzx eax, dx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
movzx eax, cx
mov dword [ebp - 0x24], eax
cmp dword [0x48facc], 0x10
mov ecx, dword [ebp - 0x1c]
jb 0x4167d8
mov esi, dword [0x48fab8]
mov eax, dword [ebp - 0x2c]
movzx eax, ax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
movzx eax, cx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push esi
push edx
call fcn.00447720
add esp, 0xc
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
add eax, esi
push eax
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
mov word [edi + 3], ax
add esi, 6
push esi
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
add edi, esi
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 2], eax
mov byte [edi + 6], 0
push 7
mov esi, dword [sym.imp.WS2_32.dll_htons]
call esi
mov word [edi], ax
push 0
call esi
mov word [edi + 7], ax
push 9
call esi
mov word [edi + 9], ax
movq xmm0, qword [str.MailSysAD]
movq qword [edi + 0xb], xmm0
mov al, byte [0x480720]
mov byte [edi + 0x13], al
push 0xd
call esi
mov word [edi + 7], ax
push 0
call esi
mov word [edi + 0x14], ax
mov word [edi + 0x16], 0
push 4
call esi
mov word [edi + 0x14], ax
mov byte [edi + 0x18], 0
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 0x19], eax
mov byte [edi + 0x1d], 0
push 0
call esi
mov word [edi + 0x1e], ax
mov word [edi + 0x20], 0
mov byte [edi + 0x22], 0
push 5
call esi
mov word [edi + 0x1e], ax
mov byte [edi + 0x23], 1
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 0x24], eax
mov word [edi + 0x28], 0
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 0x2a], eax
push 0
call esi
mov word [edi + 0x2e], ax
mov word [edi + 0x30], 0
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 0x32], eax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 0x36], eax
push 0
call esi
mov word [edi + 0x3a], ax
push 0
call esi
mov word [edi + 0x3c], ax
push 0
call esi
mov word [edi + 0x3e], ax
push 0
call esi
mov word [edi + 0x40], ax
push 8
call esi
mov word [edi + 0x3a], ax
mov byte [edi + 0x42], 0
push 0
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov dword [edi + 0x43], eax
push 0
call esi
mov dword [edi + 0x47], eax
push 0
call esi
mov dword [edi + 0x4b], eax
push 0
call esi
mov dword [edi + 0x4f], eax
push 0
call esi
mov dword [edi + 0x53], eax
mov word [edi + 0x57], 0x101
push 0
call esi
mov dword [edi + 0x59], eax
push 0
call esi
mov dword [edi + 0x5d], eax
add edi, 0x61
push 0x3e8
call esi
mov dword [edi], eax
lea eax, [ebp - 0x21f8]
sub edi, eax
add edi, 4
mov ecx, dword [ebp - 0x30]
movzx eax, word [ecx + 0x10]
push ecx
push 2
push eax
push 1
push eax
push edi
lea eax, [ebp - 0x21f8]
push eax
mov edx, 0x320
call fcn.004202d0
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret