Function at 0x588350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
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 ebx, eax
mov eax, dword [ebx + 8]
mov dword [eax + 0x44], 0xffffffff
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 4]
call fcn.0048e410
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xc]
add dword [ebp - 0xc], eax
mov eax, dword [ebx + 8]
mov cl, 1
lea edx, [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x3c]
mov esi, dword [ebx + 8]
mov dword [esi + 0x40], eax
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x40]
mov eax, esi
call fcn.005838c0
mov edi, eax
mov dl, 1
mov eax, dword [0x46d9cc]
call fcn.00477308
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x588556
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 7
mov eax, dword [ebp - 0x14]
call fcn.00478f84
mov edx, dword [edi + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00477c28
mov eax, dword [eax + 0x48]
mov edx, 0xff00000f
call fcn.00470eec
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b494
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00477c28
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebx + 4]
mov si, 0xffc7
call fcn.0040543c
test al, al
je 0x58845b
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov dword [ebp - 0x20], eax
jmp 0x588460
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
call fcn.00477c28
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [edi + 0x14]
add ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
xor edx, edx
call fcn.0040b494
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x48]
mov edx, esi
mov esi, dword [eax]
call dword [esi + 0x48]
mov eax, dword [ebx + 4]
mov si, 0xffc7
call fcn.0040543c
test al, al
je 0x5884eb
mov eax, dword [ebx + 4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x12c]
mov esi, eax
mov eax, edi
call fcn.00581e68
add esi, eax
mov eax, esi
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 4]
call fcn.0048e2dc
jmp 0x588508
mov eax, edi
call fcn.00581e68
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 4]
call fcn.0048e2dc
mov eax, dword [ebx + 0xc]
sub dword [ebp - 0x18], eax
test byte [ebx + 0x15], 0x40
je 0x58851d
mov eax, dword [ebx + 0x4c]
mov byte [eax + 0x28], 1
jmp 0x588524
mov eax, dword [ebx + 0x4c]
mov byte [eax + 0x28], 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebx + 0x4c]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.0058160c
mov eax, dword [ebx + 0x4c]
call fcn.00581b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58855d
mov eax, dword [ebp - 0x14]
call fcn.00405180
ret