Function at 0x4c84d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52ec58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov al, byte [esp + 0x28]
push ebx
push esi
xor esi, esi
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call fcn.00402fc0
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov dword [esp + 8], esi
mov eax, dword [ebx + 8]
cmp eax, esi
mov dword [esp + 0xc], eax
jle 0x4c85f0
push ebp
push edi
cmp dword [ebx + 8], esi
jb 0x4c8535
mov eax, dword [ebx + 4]
test eax, eax
je 0x4c8535
mov ecx, ebx
call fcn.0045efc0
mov eax, dword [ebx + 4]
add eax, esi
jmp 0x4c853a
mov eax, 0x53487c
mov al, byte [eax]
cmp al, 0x22
je 0x4c872a
cmp al, 0x26
je 0x4c86b2
cmp al, 0x3c
je 0x4c863a
mov ecx, dword [ebx + 8]
cmp ecx, esi
jb 0x4c8589
mov eax, dword [ebx + 4]
test eax, eax
je 0x4c8589
mov al, byte [eax - 1]
test al, al
je 0x4c8577
cmp al, 0xff
je 0x4c8577
push 0
push ecx
mov ecx, ebx
call fcn.004030d0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4c8582
mov byte [eax - 1], 0xff
mov eax, dword [ebx + 4]
add eax, esi
jmp 0x4c858e
mov eax, 0x53487c
mov bl, byte [eax]
mov eax, dword [0x5347a8]
sub eax, dword [esp + 0x20]
cmp eax, 1
ja 0x4c85a3
call fcn.004b815e
mov ecx, dword [esp + 0x20]
push 0
lea esi, [ecx + 1]
lea ecx, [esp + 0x1c]
push esi
call fcn.004030d0
test al, al
je 0x4c85d5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
movsx edx, bl
add ecx, eax
mov dh, dl
push esi
mov byte [ecx], dl
lea ecx, [esp + 0x1c]
call fcn.004030b0
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x4c851b
pop edi
pop ebp
mov ecx, dword [0x5347a8]
lea edx, [esp + 0x10]
push ecx
push 0
push edx
mov ecx, ebx
call fcn.0040ed00
mov ecx, dword [esp + 0x14]
pop esi
test ecx, ecx
pop ebx
je 0x4c87ac
mov al, byte [ecx - 1]
test al, al
je 0x4c87a2
cmp al, 0xff
je 0x4c87a2
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov edi, str.lt_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x5347a8]
sub ecx, edx
cmp ecx, esi
ja 0x4c8660
call fcn.004b815e
test esi, esi
jbe 0x4c85d9
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebp, [edx + esi]
push ebp
call fcn.004030d0
test al, al
je 0x4c85d9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, str.lt_
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004030b0
jmp 0x4c85d9
mov edi, str.amp_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x5347a8]
sub ecx, edx
cmp ecx, esi
ja 0x4c86d8
call fcn.004b815e
test esi, esi
jbe 0x4c85d9
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebp, [edx + esi]
push ebp
call fcn.004030d0
test al, al
je 0x4c85d9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, str.amp_
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004030b0
jmp 0x4c85d9
mov edi, str.quot_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x5347a8]
sub ecx, edx
cmp ecx, esi
ja 0x4c8750
call fcn.004b815e
test esi, esi
jbe 0x4c85d9
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebp, [edx + esi]
push ebp
call fcn.004030d0
test al, al
je 0x4c85d9
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, esi
mov esi, str.quot_
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004030b0
jmp 0x4c85d9
dec ecx
push ecx
call fcn.005096eb
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret