Function at 0x4560b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4c9562
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x4f8458]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f8458]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push 0x206
lea eax, [esp + 0x30a]
push ebx
mov dword [esp + 0x520], ebx
push eax
mov word [esp + 0x310], bx
call fcn.0049d900
mov edi, dword [0x4cf418]
add esp, 0xc
push ebx
push 0x10
lea ecx, [esp + 0x30c]
push ecx
push ebx
call edi
push str..
lea edx, [esp + 0x308]
push 0x104
push edx
call fcn.00495d0b
mov ebp, 7
lea eax, [esp + 0x310]
add esp, 0xc
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x456170
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x308]
push eax
lea esi, [esp + 0x34]
call fcn.004028c0
mov ecx, esi
push ecx
lea esi, [esp + 0x1c]
mov byte [esp + 0x51c], 1
call fcn.004547b0
mov byte [esp + 0x518], bl
cmp dword [esp + 0x44], 8
jb 0x4561c0
mov edx, dword [esp + 0x30]
push edx
call fcn.00493b60
add esp, 4
push ebx
push 0x19
lea eax, [esp + 0x30c]
push eax
push ebx
call edi
push str..
lea ecx, [esp + 0x308]
push 0x104
push ecx
call fcn.00495d0b
lea eax, [esp + 0x310]
add esp, 0xc
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x456200
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x308]
push edx
lea esi, [esp + 0x34]
call fcn.004028c0
mov eax, esi
push eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x51c], 2
call fcn.004547b0
mov byte [esp + 0x518], bl
cmp dword [esp + 0x44], 8
jb 0x456250
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00493b60
add esp, 4
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp eax, edi
mov esi, eax
jbe 0x45626b
call fcn.0049458d
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ebp, esi
mov dword [esp + 0x54], ebp
cmp eax, edi
mov esi, edi
jbe 0x456284
call fcn.0049458d
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp ebp, esi
je 0x456629
cmp ebp, edi
jb 0x456295
call fcn.0049458d
push 0xffffffffffffffff
mov edi, 7
push ebx
mov eax, ebp
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.00402780
lea edx, [esp + 0x98]
push edx
mov ebx, 0x4d41ec
lea esi, [esp + 0x5c]
mov byte [esp + 0x51c], 3
call fcn.00407cc0
mov ebp, 8
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x4562f1
mov eax, dword [eax + 4]
jmp 0x4562f4
add eax, 4
lea ecx, [esp + 0xb4]
push ecx
push eax
call dword [0x4cf37c]
cmp dword [esp + 0x70], ebp
mov esi, eax
mov dword [esp + 0x4c], esi
jb 0x45631c
mov edx, dword [esp + 0x5c]
push edx
call fcn.00493b60
add esp, 4
xor ebx, ebx
cmp esi, 0xffffffff
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
je 0x4565ec
jmp 0x456340
test byte [esp + 0xb4], 0x10
jne 0x456545
xor edi, edi
mov ebx, 7
lea eax, [esp + 0xe0]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x456370
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xe4]
push eax
lea esi, [esp + 0x34]
call fcn.004028c0
mov eax, esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x518], 4
call fcn.004bb820
mov byte [esp + 0x518], 6
cmp dword [esp + 0x44], 8
jb 0x4563c0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00493b60
add esp, 4
mov edx, dword [esp + 0x94]
cmp edx, 8
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
jb 0x456562
cmp ecx, edi
mov esi, ecx
mov dword [esp + 0x48], esi
je 0x45641c
cmp edx, 8
mov eax, ecx
jae 0x4563fc
lea eax, [esp + 0x80]
cmp eax, esi
ja 0x45641c
cmp edx, 8
mov eax, ecx
jae 0x45640e
lea eax, [esp + 0x80]
mov ebx, dword [esp + 0x90]
lea eax, [eax + ebx*2]
cmp esi, eax
jbe 0x456436
call fcn.0049458d
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov ecx, dword [esp + 0x80]
cmp edx, 8
lea ebp, [esp + 0x7c]
mov eax, ecx
jae 0x456448
lea eax, [esp + 0x80]
lea edi, [eax + ebx*2]
test edi, edi
je 0x456476
cmp edx, 8
mov eax, ecx
jae 0x45645d
lea eax, [esp + 0x80]
cmp eax, edi
ja 0x456476
cmp edx, 8
mov eax, ecx
jae 0x45646f
lea eax, [esp + 0x80]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x456490
call fcn.0049458d
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov ecx, dword [esp + 0x80]
cmp edx, 8
jb 0x456572
test ecx, ecx
mov esi, ecx
je 0x4564c6
cmp edx, 8
mov eax, ecx
jae 0x4564ad
lea eax, [esp + 0x80]
cmp eax, esi
ja 0x4564c6
cmp edx, 8
mov eax, ecx
jae 0x4564bf
lea eax, [esp + 0x80]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x4564cb
call fcn.0049458d
mov edx, dword [esp + 0x48]
push edx
push ebp
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x84]
push edi
push edx
mov ebx, esi
call fcn.00403910
mov eax, dword [esp + 0xa8]
add esp, 0x18
push str..lnk
mov edi, 4
lea ecx, [esp + 0x80]
call fcn.004038a0
test eax, eax
jne 0x456523
mov eax, dword [esp + 0x28]
sub eax, 1
test eax, eax
mov dword [esp + 0x28], eax
jle 0x45657e
mov byte [esp + 0x518], 3
cmp dword [esp + 0x94], 8
jb 0x456545
mov eax, dword [esp + 0x80]
push eax
call fcn.00493b60
add esp, 4
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xb4]
push ecx
push edx
call dword [0x4cf380]
test eax, eax
jne 0x456340
jmp 0x456598
lea esi, [esp + 0x80]
mov dword [esp + 0x48], esi
jmp 0x4563ee
lea esi, [esp + 0x80]
jmp 0x45649f
cmp dword [esp + 0x94], 8
jb 0x456598
mov eax, dword [esp + 0x80]
push eax
call fcn.00493b60
add esp, 4
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x4cf384]
mov byte [esp + 0x518], 0
cmp dword [esp + 0xb0], 8
jb 0x4565c5
mov edx, dword [esp + 0x9c]
push edx
call fcn.00493b60
add esp, 4
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x54], edi
jb 0x4565d8
call fcn.0049458d
mov edi, dword [esp + 0x20]
add dword [esp + 0x54], 0x1c
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x54]
xor ebx, ebx
jmp 0x456271
cmp dword [esp + 0xb0], ebp
jb 0x456605
mov eax, dword [esp + 0x9c]
push eax
call fcn.00493b60
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
je 0x456672
mov edi, dword [esp + 0x20]
jmp 0x456658
cmp dword [esp + 0x28], ebx
jg 0x456654
cmp eax, ebx
je 0x45664d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00407f50
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.00493b60
add esp, 4
mov eax, 1
jmp 0x456674
cmp eax, ebx
je 0x456672
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00407f50
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.00493b60
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.00493b65
add esp, 0x508
ret