Function at 0x4a8c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x620368]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov edx, dword [edi + 8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ecx, dword [edi + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [ebp - 0x48], eax
push ebx
lea eax, [edi + 0xc]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00403eb0
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
mov ebx, dword [esi + 4]
test ebx, ebx
jne 0x4a8d12
xor ecx, ecx
jmp 0x4a8d28
mov ecx, dword [esi + 0xc]
sub ecx, ebx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4a8f9e
test ebx, ebx
jne 0x4a8d3b
xor eax, eax
jmp 0x4a8d51
mov edx, dword [esi + 8]
sub edx, ebx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x4ec4ec4
sub edx, eax
cmp edx, edi
jae 0x4a8d63
mov ecx, esi
call fcn.00486650
test ebx, ebx
jne 0x4a8d6b
xor eax, eax
jmp 0x4a8d81
mov edx, dword [esi + 8]
sub edx, ebx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
cmp ecx, eax
jae 0x4a8eae
mov eax, ecx
shr eax, 1
mov edx, 0x4ec4ec4
sub edx, eax
cmp edx, ecx
jae 0x4a8d9e
xor ecx, ecx
jmp 0x4a8da0
add ecx, eax
test ebx, ebx
jne 0x4a8da8
xor eax, eax
jmp 0x4a8dbe
mov edx, dword [esi + 8]
sub edx, ebx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, edi
cmp ecx, eax
jae 0x4a8dcf
mov ecx, esi
call fcn.004eab10
mov ecx, eax
add ecx, edi
imul ecx, ecx, 0x34
push ecx
mov dword [ebp - 0x54], ecx
call fcn.0057a6d0
mov edx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x4c], ebx
mov ecx, dword [ebp - 0x4c]
push ecx
push esi
push ebx
push edx
push eax
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 1
call fcn.004a7b80
mov ecx, dword [ebp - 0x4c]
add esp, 0x18
push ecx
push esi
lea edx, [ebp - 0x48]
push edx
push edi
push eax
mov dword [ebp - 0x50], eax
call fcn.004a7de0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov eax, edi
imul eax, eax, 0x34
add esp, 0x14
push edx
add ecx, eax
mov eax, dword [esi + 8]
push esi
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x50], ecx
call fcn.004a7b80
mov eax, dword [esi + 4]
add esp, 0x14
test eax, eax
je 0x4a8e53
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add edi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4a8e74
mov ecx, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.00486930
mov edx, dword [esi + 4]
push edx
call fcn.0057ad56
add esp, 4
mov eax, dword [ebp - 0x54]
imul edi, edi, 0x34
add eax, ebx
add edi, ebx
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
jmp 0x4a8f9e
mov ecx, dword [esi + 8]
mov ebx, dword [ebp + 8]
mov edx, ecx
sub edx, ebx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
mov dword [ebp - 0x4c], ecx
jae 0x4a8f62
mov eax, edi
imul eax, eax, 0x34
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
push esi
add eax, ebx
push eax
push ecx
push ebx
call fcn.004a7b80
mov ecx, dword [esi + 8]
add esp, 0x14
lea eax, [ebp - 0x48]
push eax
mov edx, ecx
sub edx, ebx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
push edi
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004a8820
mov edi, dword [esi + 8]
mov eax, dword [ebp - 0x4c]
add edi, eax
mov dword [esi + 8], edi
lea ecx, [ebp - 0x48]
mov esi, edi
push ecx
sub esi, eax
push esi
push ebx
mov dword [ebp - 4], 0
call fcn.004a7b20
add esp, 0xc
jmp 0x4a8f9e
mov edx, dword [ebp - 0x4c]
imul edi, edi, 0x34
push edx
push esi
push ecx
mov eax, ecx
sub eax, edi
push ecx
push eax
mov dword [ebp - 0x54], eax
call fcn.004a7b80
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x4c]
push eax
push ecx
push edx
push ebx
call fcn.004a6ec0
lea eax, [ebp - 0x48]
push eax
add edi, ebx
push edi
push ebx
call fcn.004a7b20
add esp, 0x30
cmp dword [ebp - 0x24], 0x10
jb 0x4a8fb0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0057ad56
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057b3d4
mov esp, ebp
pop ebp
ret 0xc