Function at 0x4e70b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x627703
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.00486670
mov ecx, dword [ebp + 8]
mov eax, dword [ebp]
cmp ecx, eax
jle 0x4e711c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
cmp edx, eax
jg 0x4e7150
mov ecx, dword [esp + 0x48]
mov dword [esi], 0
test ecx, ecx
mov dword [esp + 0x20], 0xffffffff
je 0x4e730c
mov edx, dword [ecx + 0x24]
dec edx
mov eax, edx
mov dword [ecx + 0x24], edx
test eax, eax
jg 0x4e730c
mov eax, dword [ecx]
push 1
jmp 0x4e730a
mov ecx, dword [ebp]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x4e71d8
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
cmp edx, eax
jne 0x4e71d8
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4e71d8
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x44]
cmp ecx, eax
jne 0x4e71d8
mov edi, dword [esp + 0x48]
test edi, edi
je 0x4e7187
inc dword [edi + 0x24]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4e71a9
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 0x4e71a9
test ecx, ecx
je 0x4e71a9
mov edx, dword [ecx]
push 1
call dword [edx]
test edi, edi
mov dword [esi + 0x24], edi
mov dword [esp + 0x20], 0xffffffff
je 0x4e730c
mov ecx, dword [edi + 0x24]
dec ecx
mov eax, ecx
mov dword [edi + 0x24], ecx
test eax, eax
jg 0x4e730c
mov eax, dword [edi]
push 1
mov ecx, edi
jmp 0x4e730a
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 0x4e720e
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 0x4e720e
test ecx, ecx
je 0x4e720e
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x28
call fcn.00486570
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x20], 1
je 0x4e7245
mov eax, dword [esp + 0x28]
push 0
push 0x108
push ebx
push eax
mov ecx, edi
call fcn.004b3500
mov dword [edi], 0x646e14
mov eax, edi
jmp 0x4e7247
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 0x4e72eb
jmp 0x4e7275
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 0x4e72db
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 0x4e72bc
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 0x4e7271
test ebx, ebx
mov dword [esp + 0x20], 0xffffffff
je 0x4e730c
mov ecx, dword [ebx + 0x24]
dec ecx
mov eax, ecx
mov dword [ebx + 0x24], ecx
test eax, eax
jg 0x4e730c
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