Function at 0x402d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4512a0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x46b008]
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 - 0x7c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00401e90
test al, al
jne 0x402db2
push 2
push 0x462888
lea ecx, [ebp - 0x5c]
call fcn.00401580
push 2
push 0x4628cc
lea ecx, [ebp - 0x44]
call fcn.00401580
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push 0x104
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004011e0
mov edi, dword [ebp - 0x18]
lea ebx, [ebp - 0x2c]
cmp edi, 8
jb 0x402de6
mov ebx, dword [ebp - 0x2c]
push ecx
mov edx, 0x409770
call fcn.00407f50
mov eax, dword fs:[0x30]
add esp, 4
mov edx, edi
mov ecx, ebx
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
push dword [esi + 0x28]
call fcn.00408070
add esp, 4
mov ecx, ebx
call fcn.00408190
movzx eax, word [esi + 0x24]
cmp eax, edi
jb 0x402e20
mov eax, edi
test eax, eax
je 0x402e9e
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
jb 0x402e30
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x402e9e
dec eax
cmp eax, 0xffffffff
jb 0x402e40
or eax, 0xffffffff
cmp word [ecx + eax*2], 0x5c
lea eax, [ecx + eax*2]
je 0x402e5d
lea ebx, [ebx]
cmp eax, ecx
je 0x402e9e
sub eax, 2
cmp word [eax], 0x5c
jne 0x402e50
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x402e9e
push 0
inc eax
lea ecx, [ebp - 0x2c]
push eax
call fcn.004011e0
push str.EasyAntiCheatLocalization_
lea ecx, [ebp - 0x2c]
call fcn.00403660
push dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004020f0
mov bl, al
jmp 0x402eaf
mov ecx, dword [ebp - 0x78]
push 0x26
push str.Error_getting_current_executable_path.
call fcn.004013c0
xor bl, bl
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402ee9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402edf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb1
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 0x10
jb 0x402f31
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402f27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb6
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x402f61
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402f57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fbb
push edx
push ecx
call fcn.0041b657
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x402f91
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402f87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fc0
push edx
push ecx
call fcn.0041b657
add esp, 8
mov al, bl
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.0041b616
mov esp, ebp
pop ebp
ret 4
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
call fcn.00436a89
int3