Function at 0x5893c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dded8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6396a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x14]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov esi, ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x44], ecx
mov cl, byte [edi + 0x10]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x14]
push ebx
mov byte [ebp - 0x38], cl
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.0043b440
mov edx, dword [edi + 0x30]
mov dword [ebp - 0x18], edx
mov ecx, dword [esi + 4]
cmp ecx, ebx
mov dword [ebp - 4], ebx
jne 0x589445
xor edi, edi
jmp 0x58945b
mov edx, dword [esi + 0xc]
sub edx, ecx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x5896bf
test ecx, ecx
jne 0x58946e
xor eax, eax
jmp 0x589484
mov edx, dword [esi + 8]
sub edx, ecx
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, ebx
jae 0x589494
call fcn.00559790
test ecx, ecx
jne 0x58949c
xor eax, eax
jmp 0x5894b2
mov edx, dword [esi + 8]
sub edx, ecx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebx
cmp edi, eax
jae 0x5895e0
mov eax, edi
shr eax, 1
mov edx, 0x4ec4ec4
sub edx, eax
cmp edx, edi
jae 0x5894cf
xor edi, edi
jmp 0x5894d1
add edi, eax
test ecx, ecx
jne 0x5894d9
xor eax, eax
jmp 0x5894ef
mov edx, dword [esi + 8]
sub edx, ecx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ebx
cmp edi, eax
jae 0x589500
mov ecx, esi
call fcn.005592f0
mov edi, eax
add edi, ebx
push 0
push edi
call fcn.00529ef0
mov ecx, dword [esi + 4]
mov byte [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x4c]
push edx
push esi
push eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00559b90
add esp, 0x20
lea ecx, [ebp - 0x48]
push ecx
push ebx
push eax
mov ecx, esi
mov dword [ebp - 0x54], eax
call fcn.00589350
mov ecx, dword [esi + 8]
mov byte [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x4c]
push edx
push esi
push eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
call fcn.00559b90
mov ecx, dword [esi + 4]
add esp, 0x18
test ecx, ecx
jne 0x58956c
xor eax, eax
jmp 0x589582
mov edx, dword [esi + 8]
sub edx, ecx
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, eax
test ecx, ecx
je 0x5895a3
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi + 8]
push edx
push esi
push eax
push ecx
call fcn.00559910
mov ecx, dword [esi + 4]
push ecx
call fcn.005b28f2
add esp, 0x14
mov eax, dword [ebp - 0x58]
imul edi, edi, 0x34
imul ebx, ebx, 0x34
add edi, eax
add ebx, eax
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
mov dword [esi + 4], eax
jmp 0x5896bf
mov ecx, dword [esi + 8]
mov edi, dword [ebp + 0xc]
mov edx, ecx
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
mov dword [ebp - 0x4c], ecx
jae 0x58968a
mov eax, ebx
imul eax, eax, 0x34
mov dword [ebp - 0x4c], eax
add eax, edi
push eax
push ecx
push edi
mov ecx, esi
call fcn.00559d90
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x48]
push edx
mov edx, ecx
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
push ebx
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00589350
mov eax, dword [ebp - 0x4c]
add dword [esi + 8], eax
mov esi, dword [esi + 8]
lea ecx, [ebp - 0x48]
push ecx
sub esi, eax
push esi
push edi
mov dword [ebp - 4], 0
call fcn.00589170
add esp, 0xc
jmp 0x5896bf
imul ebx, ebx, 0x34
push ecx
mov eax, ecx
sub eax, ebx
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.00559d90
mov ecx, dword [ebp - 0x50]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x4c]
push eax
push ecx
push edi
call fcn.00589390
lea edx, [ebp - 0x48]
push edx
add ebx, edi
push ebx
push edi
call fcn.00589170
add esp, 0x18
cmp dword [ebp - 0x1c], 0x10
jb 0x5896d1
mov eax, dword [ebp - 0x30]
push eax
call fcn.005b28f2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret 0x10