Function at 0x4e6c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6275a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea ebp, [esi + 4]
mov dword [esp + 0x20], 0
mov eax, ebp
mov dword [esi], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
lea eax, [esp + 0x38]
push eax
call fcn.00486110
mov ecx, dword [ebp + 8]
mov eax, dword [ebp]
cmp ecx, eax
jle 0x4e6cac
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp edx, eax
jg 0x4e6ce0
mov ecx, dword [esp + 0x48]
mov dword [esi], 0
test ecx, ecx
mov dword [esp + 0x20], 0xffffffff
je 0x4e6e9c
mov edx, dword [ecx + 0x24]
dec edx
mov eax, edx
mov dword [ecx + 0x24], edx
test eax, eax
jg 0x4e6e9c
mov eax, dword [ecx]
push 1
jmp 0x4e6e9a
mov ecx, dword [ebp]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x4e6d68
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
cmp edx, eax
jne 0x4e6d68
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4e6d68
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x44]
cmp ecx, eax
jne 0x4e6d68
mov edi, dword [esp + 0x48]
test edi, edi
je 0x4e6d17
inc dword [edi + 0x24]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4e6d39
mov ecx, dword [eax + 0x24]
dec ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x24]
test eax, eax
jg 0x4e6d39
test ecx, ecx
je 0x4e6d39
mov edx, dword [ecx]
push 1
call dword [edx]
test edi, edi
mov dword [esi + 0x24], edi
mov dword [esp + 0x20], 0xffffffff
je 0x4e6e9c
mov ecx, dword [edi + 0x24]
dec ecx
mov eax, ecx
mov dword [edi + 0x24], ecx
test eax, eax
jg 0x4e6e9c
mov eax, dword [edi]
push 1
mov ecx, edi
jmp 0x4e6e9a
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
sub eax, edx
sub ebx, edi
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4e6d9e
mov ecx, dword [eax + 0x24]
dec ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x24]
test eax, eax
jg 0x4e6d9e
test ecx, ecx
je 0x4e6d9e
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x28
call fcn.00486010
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x20], 1
je 0x4e6dd5
mov eax, dword [esp + 0x28]
push 0
push 0x108
push ebx
push eax
mov ecx, edi
call fcn.004b2de0
mov dword [edi], 0x646d8c
mov eax, edi
jmp 0x4e6dd7
xor eax, eax
mov ebx, dword [esp + 0x48]
mov dword [esi + 0x24], eax
mov dword [eax + 0x24], 1
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x24]
cmp eax, edx
mov byte [esp + 0x20], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
jge 0x4e6e7b
jmp 0x4e6e05
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x14], edx
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 8]
sub ecx, edx
mov edx, dword [ebx + 0x14]
imul ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [ebx]
add edi, ecx
mov ecx, ebx
mov dword [esp + 0x14], edx
call dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [esi + 0xc]
imul ecx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [ebp]
cmp ecx, edx
jge 0x4e6e6b
mov ebx, dword [esp + 0x38]
mov edx, ecx
sub edx, ebx
mov ebx, ecx
sub ebx, dword [ebp]
inc ecx
mov dl, byte [edx + eax]
mov byte [ebx + edi], dl
mov edx, dword [esi + 0xc]
cmp ecx, edx
jl 0x4e6e4c
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x4e6e01
test ebx, ebx
mov dword [esp + 0x20], 0xffffffff
je 0x4e6e9c
mov ecx, dword [ebx + 0x24]
dec ecx
mov eax, ecx
mov dword [ebx + 0x24], ecx
test eax, eax
jg 0x4e6e9c
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x24