Function at 0x4ca7b8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43d718
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x446040]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x446040]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xb0]
mov esi, dword [0x43e334]
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xb8]
push ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call esi
lea edx, [ebx + 0x10]
push edx
call esi
lea eax, [ebx + 0x20]
push eax
call esi
lea ecx, [ebx + 0x30]
push ecx
call esi
lea edx, [ebx + 0x40]
push edx
call esi
lea eax, [ebx + 0x50]
push eax
call esi
lea ecx, [ebx + 0x60]
push ecx
call esi
lea edx, [ebx + 0x70]
push edx
call esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [eax], 0
call esi
mov edx, dword [esp + 0x28]
mov dword [edx], 0
call 0x4d5018
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add eax, 0x28
push eax
mov ecx, ebp
mov dword [esp + 0x28], eax
call 0x4dabf8
mov ecx, eax
lea edx, [ecx + 2]
xor ebp, ebp
lea ebx, [ebx]
mov si, word [ecx]
add ecx, 2
cmp si, bp
jne 0x4ca8a8
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov esi, edi
call 0x4c6028
push 0x4407b8
call fcn.004ca748
add esp, 4
push 0x440840
call fcn.004ca748
add esp, 4
push 0x440844
call fcn.004ca748
add esp, 4
cmp dword [edi + 0x18], 8
jb 0x4ca8f2
mov edi, dword [edi + 4]
jmp 0x4ca8f5
add edi, 4
mov eax, dword [esp + 0x14]
push edi
call fcn.004ca6b8
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x4ca90e
xor eax, eax
jmp 0x4caf67
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push edi
mov ecx, 0x44084c
mov edx, esi
call 0x4dabf8
cmp eax, ebp
je 0x4ca932
push eax
call 0x4ef8ba
add esp, 4
jmp 0x4ca935
or eax, 0xffffffff
cmp eax, ebp
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
jg 0x4ca945
mov dword [ecx], 1
push edi
mov ecx, 0x440864
mov edx, esi
call 0x4dabf8
mov ecx, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4ca96e
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0x80]
call 0x4c6028
mov dword [esp + 0xa0], ebp
mov ecx, dword [esp + 0x90]
cmp ecx, 8
mov edx, dword [esp + 0x7c]
jb 0x4caafd
cmp edx, ebp
mov dword [esp + 0x14], edx
je 0x4ca9da
cmp ecx, 8
mov eax, edx
jae 0x4ca9b9
lea eax, [esp + 0x7c]
cmp eax, dword [esp + 0x14]
ja 0x4ca9da
cmp ecx, 8
mov eax, edx
jae 0x4ca9ca
lea eax, [esp + 0x7c]
mov ebp, dword [esp + 0x8c]
lea eax, [eax + ebp*2]
cmp dword [esp + 0x14], eax
jbe 0x4ca9f1
call 0x4ef573
mov ecx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0x7c]
cmp ecx, 8
mov eax, edx
jae 0x4ca9fc
lea eax, [esp + 0x7c]
lea edi, [eax + ebp*2]
test edi, edi
je 0x4caa24
cmp ecx, 8
mov eax, edx
jae 0x4caa0e
lea eax, [esp + 0x7c]
cmp eax, edi
ja 0x4caa24
cmp ecx, 8
mov eax, edx
jae 0x4caa1d
lea eax, [esp + 0x7c]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x4caa3b
call 0x4ef573
mov ecx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0x7c]
cmp ecx, 8
jb 0x4cab0a
test edx, edx
mov esi, edx
je 0x4caa6b
cmp ecx, 8
mov eax, edx
jae 0x4caa55
lea eax, [esp + 0x7c]
cmp eax, esi
ja 0x4caa6b
cmp ecx, 8
mov eax, edx
jae 0x4caa64
lea eax, [esp + 0x7c]
lea ecx, [eax + ebp*2]
cmp esi, ecx
jbe 0x4caa70
call 0x4ef573
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x40]
push 0x42ce83
push edx
mov eax, esi
call 0x4d59f8
mov eax, dword [esp + 0xa4]
add esp, 0x18
push 0x44087c
mov edi, 8
lea ecx, [esp + 0x7c]
call 0x4d5aa8
mov edx, dword [esp + 0x1c]
xor esi, esi
test eax, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
je 0x4cab13
mov eax, dword [edx]
cdq
idiv ecx
test ecx, ecx
mov ebp, eax
jle 0x4cab4a
xor edi, edi
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push ecx
push ebp
push 0
push edi
push ebx
call dword [0x43e2d0]
mov edx, dword [esp + 0x18]
add esi, 1
add edi, ebp
add ebx, 0x10
cmp esi, dword [edx]
jl 0x4caad8
jmp 0x4cab4a
lea eax, [esp + 0x7c]
mov dword [esp + 0x14], eax
jmp 0x4ca9ae
lea esi, [esp + 0x7c]
jmp 0x4caa4a
mov eax, dword [edx + 4]
cdq
idiv ecx
test ecx, ecx
mov ebp, eax
jle 0x4cab4a
xor edi, edi
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ebp
push ecx
push edi
push 0
push ebx
call dword [0x43e2d0]
mov edx, dword [esp + 0x18]
add esi, 1
add edi, ebp
add ebx, 0x10
cmp esi, dword [edx]
jl 0x4cab28
mov eax, dword [esp + 0x28]
xor ebp, ebp
mov dword [eax], ebp
mov eax, 7
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], bp
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push ebx
mov ecx, 0x440890
mov edx, edi
mov byte [esp + 0xa4], 2
call 0x4dabf8
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x4cab98
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4cab98
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0x64]
call 0x4c6028
push ebx
mov ecx, 0x4408a8
mov edx, edi
call 0x4dabf8
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4cabc8
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0x48]
call 0x4c6028
mov edi, dword [esp + 0x74]
cmp edi, 8
mov edx, dword [esp + 0x60]
jb 0x4cae2f
test edx, edx
mov ebp, edx
mov dword [esp + 0x14], ebp
je 0x4cac22
cmp edi, 8
mov eax, edx
jae 0x4cac08
lea eax, [esp + 0x60]
cmp eax, ebp
ja 0x4cac22
cmp edi, 8
mov eax, edx
jae 0x4cac17
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x70]
lea eax, [eax + ecx*2]
cmp ebp, eax
jbe 0x4cac33
call 0x4ef573
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
cmp edi, 8
mov eax, edx
jae 0x4cac3e
lea eax, [esp + 0x60]
lea ebx, [eax + ecx*2]
test ebx, ebx
je 0x4cac66
cmp edi, 8
mov eax, edx
jae 0x4cac50
lea eax, [esp + 0x60]
cmp eax, ebx
ja 0x4cac66
cmp edi, 8
mov eax, edx
jae 0x4cac5f
lea eax, [esp + 0x60]
lea eax, [eax + ecx*2]
cmp ebx, eax
jbe 0x4cac77
call 0x4ef573
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
cmp edi, 8
jb 0x4cae3c
test edx, edx
mov esi, edx
je 0x4caca7
cmp edi, 8
mov eax, edx
jae 0x4cac91
lea eax, [esp + 0x60]
cmp eax, esi
ja 0x4caca7
cmp edi, 8
mov eax, edx
jae 0x4caca0
lea eax, [esp + 0x60]
lea ecx, [eax + ecx*2]
cmp esi, ecx
jbe 0x4cacb4
call 0x4ef573
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
mov eax, ebx
sub eax, esi
lea ecx, [esp + 0x5c]
sar eax, 1
cmp ecx, 0xfffffffe
je 0x4cacf5
cmp edi, 8
mov ecx, edx
jae 0x4cacce
lea ecx, [esp + 0x60]
lea eax, [ebp + eax*2]
mov ebp, dword [esp + 0x70]
lea ecx, [ecx + ebp*2]
cmp eax, ecx
ja 0x4cacec
cmp edi, 8
mov ecx, edx
jae 0x4cace8
lea ecx, [esp + 0x60]
cmp eax, ecx
jae 0x4cacf1
call 0x4ef573
mov ebp, dword [esp + 0x14]
cmp esi, ebx
je 0x4cad14
mov edi, ebp
sub edi, esi
movzx edx, word [esi]
push edx
call 0x4efb6b
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4cacfd
mov ecx, dword [esp + 0x58]
cmp ecx, 8
mov edx, dword [esp + 0x44]
jb 0x4cae45
test edx, edx
mov esi, edx
mov dword [esp + 0x14], esi
je 0x4cad54
cmp ecx, 8
mov eax, edx
jae 0x4cad3a
lea eax, [esp + 0x44]
cmp eax, esi
ja 0x4cad54
cmp ecx, 8
mov eax, edx
jae 0x4cad49
lea eax, [esp + 0x44]
mov edi, dword [esp + 0x54]
lea eax, [eax + edi*2]
cmp esi, eax
jbe 0x4cad65
call 0x4ef573
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
cmp ecx, 8
mov eax, edx
jae 0x4cad70
lea eax, [esp + 0x44]
lea ebx, [eax + edi*2]
test ebx, ebx
je 0x4cad98
cmp ecx, 8
mov eax, edx
jae 0x4cad82
lea eax, [esp + 0x44]
cmp eax, ebx
ja 0x4cad98
cmp ecx, 8
mov eax, edx
jae 0x4cad91
lea eax, [esp + 0x44]
lea eax, [eax + edi*2]
cmp ebx, eax
jbe 0x4cada9
call 0x4ef573
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
cmp ecx, 8
jb 0x4cae52
test edx, edx
mov esi, edx
je 0x4cadd9
cmp ecx, 8
mov eax, edx
jae 0x4cadc3
lea eax, [esp + 0x44]
cmp eax, esi
ja 0x4cadd9
cmp ecx, 8
mov eax, edx
jae 0x4cadd2
lea eax, [esp + 0x44]
lea eax, [eax + edi*2]
cmp esi, eax
jbe 0x4cadea
call 0x4ef573
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
mov eax, ebx
sub eax, esi
lea ebp, [esp + 0x40]
sar eax, 1
cmp ebp, 0xfffffffe
je 0x4cae5b
cmp ecx, 8
mov ecx, edx
jae 0x4cae04
lea ecx, [esp + 0x44]
mov ebp, dword [esp + 0x14]
lea eax, [ebp + eax*2]
lea ecx, [ecx + edi*2]
cmp eax, ecx
mov ebp, 8
ja 0x4cae28
cmp dword [esp + 0x58], ebp
mov ecx, edx
jae 0x4cae24
lea ecx, [esp + 0x44]
cmp eax, ecx
jae 0x4cae60
call 0x4ef573
jmp 0x4cae60
lea ebp, [esp + 0x60]
mov dword [esp + 0x14], ebp
jmp 0x4cabfd
lea esi, [esp + 0x60]
jmp 0x4cac86
lea esi, [esp + 0x44]
mov dword [esp + 0x14], esi
jmp 0x4cad2f
lea esi, [esp + 0x44]
jmp 0x4cadb8
mov ebp, 8
cmp esi, ebx
je 0x4cae81
mov edi, dword [esp + 0x14]
sub edi, esi
movzx edx, word [esi]
push edx
call 0x4efb6b
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x4cae6a
mov eax, dword [esp + 0x70]
push 0x4408cc
mov edi, 5
lea ecx, [esp + 0x60]
call 0x4d5aa8
test eax, eax
jne 0x4caeb2
mov eax, dword [esp + 0x54]
push 0x4408cc
lea ecx, [esp + 0x44]
call 0x4d5aa8
test eax, eax
je 0x4caed5
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov ecx, 0x4408d8
call 0x4db138
test eax, eax
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jne 0x4caed5
mov dword [ecx], 0xff00ff
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, 0x4408fc
lea ebx, [esp + 0x34]
call 0x4db4a8
cmp dword [esp + 0x58], ebp
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jb 0x4caf19
mov ecx, dword [esp + 0x44]
push ecx
call 0x4ef5fe
add esp, 4
xor esi, esi
cmp dword [esp + 0x74], ebp
mov edi, 7
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
mov word [esp + 0x44], si
jb 0x4caf40
mov edx, dword [esp + 0x60]
push edx
call 0x4ef5fe
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], esi
mov word [esp + 0x60], si
jb 0x4caf63
mov eax, dword [esp + 0x7c]
push eax
call 0x4ef5fe
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call 0x4ef43a
add esp, 0x90
ret 0x18