Function at 0x5a4788
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov eax, dword [esi + 8]
mov dword [eax + 0x3c], 0xffffffff
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x10]
mov eax, dword [esi + 4]
call fcn.004689f8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
add dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov cl, 1
lea edx, [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x30]
mov ebx, dword [esi + 8]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x38]
mov eax, ebx
call fcn.005a1770
lea edx, [ebp - 0x2c]
call fcn.005a105c
mov eax, dword [esi + 4]
push esi
lea esi, [eax + 0x2fe]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esi + 8]
call fcn.005a33dc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x38]
mov eax, ebx
neg eax
push eax
mov edi, dword [ebp - 0x3c]
mov eax, edi
neg eax
mov edx, dword [esi + 4]
add eax, dword [edx + 0x3c4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004088ec
mov dl, 1
mov eax, dword [0x42cebc]
call fcn.00433628
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5a4955
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 7
mov eax, dword [ebp - 0x14]
call fcn.00434d48
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
add edx, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
add edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
call fcn.00433bf8
mov eax, dword [eax + 0x14]
mov edx, 0xff00000f
call fcn.0042e6b0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004202b8
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00433bf8
pop edx
call fcn.0042ed90
mov eax, dword [ebp - 0x2c]
neg eax
mov edx, dword [esi + 4]
add eax, dword [edx + 0x3c4]
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00433bf8
call fcn.0042f328
mov edx, eax
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x38]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 4]
call fcn.004689cc
mov eax, dword [esi + 0xc]
sub dword [ebp - 0x18], eax
test byte [esi + 0x14], 0x40
je 0x5a491c
mov eax, dword [esi + 0x50]
mov byte [eax + 0x28], 1
jmp 0x5a4923
mov eax, dword [esi + 0x50]
mov byte [eax + 0x28], 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [esi + 0x50]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.0059fbfc
mov eax, dword [esi + 0x50]
call fcn.005a0074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a495c
mov eax, dword [ebp - 0x14]
call fcn.004044b8
ret