Function at 0x54e1e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x74ac50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [esp + 0x24]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [ecx + 0xe0], bl
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00404760
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov esi, dword [eax]
add esi, 2
mov dword [eax], esi
mov edx, dword [ecx + 4]
mov eax, esi
cmp eax, edx
jg 0x54e540
mov ecx, dword [ecx + 8]
mov ax, word [ecx + eax - 2]
cmp ax, 1
jne 0x54e2a0
mov edx, dword [0x93fa62]
mov eax, dword [edx + 0x1fc]
cmp eax, ebx
je 0x54e540
cmp dword [eax + 0x14], ebx
je 0x54e540
lea eax, [esp + 0x10]
push eax
push 0x2c67
call fcn.006a8c20
mov cl, byte [esp + 0x18]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00404760
mov edx, dword [0x76560c]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00404560
jmp 0x54e47d
cmp ax, 0xffff
jne 0x54e2ff
mov eax, dword [0x93fa62]
mov eax, dword [eax + 0x1fc]
cmp eax, ebx
je 0x54e540
cmp dword [eax + 0x14], ebx
je 0x54e540
lea ecx, [esp + 0x10]
push ecx
push 0x2c64
call fcn.006a8c20
mov dl, byte [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x76560c]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00404560
jmp 0x54e529
cmp ax, 0xfffe
jne 0x54e361
mov edx, dword [0x93fa62]
mov eax, dword [edx + 0x1fc]
cmp eax, ebx
je 0x54e540
cmp dword [eax + 0x14], ebx
je 0x54e540
lea eax, [esp + 0x10]
push eax
push 0x2c78
call fcn.006a8c20
mov cl, byte [esp + 0x18]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00404760
mov edx, dword [0x76560c]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00404560
jmp 0x54e47d
cmp ax, 0xfffd
jne 0x54e3c0
mov eax, dword [0x93fa62]
mov eax, dword [eax + 0x1fc]
cmp eax, ebx
je 0x54e540
cmp dword [eax + 0x14], ebx
je 0x54e540
lea ecx, [esp + 0x10]
push ecx
push 0x2c39
call fcn.006a8c20
mov dl, byte [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x76560c]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00404560
jmp 0x54e529
cmp ax, 0xfffc
jne 0x54e420
mov edx, dword [0x93fa62]
mov eax, dword [edx + 0x1fc]
cmp eax, ebx
je 0x54e540
cmp dword [eax + 0x14], ebx
je 0x54e540
lea eax, [esp + 0x10]
push eax
push 0x2c65
call fcn.006a8c20
mov dl, byte [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x76560c]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00404560
jmp 0x54e529
cmp ax, 0xfffb
jne 0x54e495
mov edx, dword [0x93fa62]
mov eax, dword [edx + 0x1fc]
cmp eax, ebx
je 0x54e540
cmp dword [eax + 0x14], ebx
je 0x54e540
lea eax, [esp + 0x10]
push eax
push 0x2c66
call fcn.006a8c20
mov cl, byte [esp + 0x18]
sub esp, 8
mov esi, esp
mov dword [esp + 0x44], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00404760
mov edx, dword [0x76560c]
lea eax, [esp + 0x20]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00404560
mov ecx, dword [0x93fa62]
mov byte [esp + 0x38], bl
mov edx, dword [ecx + 0x1fc]
mov ecx, dword [edx + 0x14]
jmp 0x54e53b
cmp ax, 0xff9c
jne 0x54e540
mov eax, dword [0x93fa62]
mov eax, dword [eax + 0x1fc]
cmp eax, ebx
je 0x54e540
cmp dword [eax + 0x14], ebx
je 0x54e540
mov edi, 0x7a6c2c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call fcn.00401450
test al, al
je 0x54e500
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7a6c2c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], bl
mov dl, byte [esp + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x76560c]
lea edx, [esp + 0x20]
push eax
push ebx
push edx
call fcn.00404560
mov eax, dword [0x93fa62]
mov byte [esp + 0x38], bl
mov ecx, dword [eax + 0x1fc]
mov ecx, dword [ecx + 0x14]
call fcn.0054fa90
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
cmp ecx, ebx
je 0x54e56c
mov al, byte [ecx - 1]
cmp al, bl
je 0x54e562
cmp al, 0xff
je 0x54e562
dec al
mov byte [ecx - 1], al
jmp 0x54e56c
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8