Function at 0x5ef274
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0xffffffff
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00499268
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov cl, 1
lea edx, [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.005e9464
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x46f864]
call fcn.00478bec
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5ef4d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 7
mov eax, dword [ebp - 0x18]
call fcn.0047a864
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.0047950c
mov eax, dword [eax + 0x48]
mov edx, 0xff00000f
call fcn.00472694
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040ca00
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0047950c
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov si, 0xffc7
call fcn.00405424
test al, al
je 0x5ef3a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov dword [ebp - 0x28], eax
jmp 0x5ef3a8
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
call fcn.0047950c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x24]
add ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0040ca00
mov eax, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov si, 0xffc7
call fcn.00405424
test al, al
je 0x5ef44f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov ebx, eax
mov eax, dword [ebp - 0x24]
call fcn.005e712c
add ebx, eax
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00499134
jmp 0x5ef476
mov eax, dword [ebp - 0x24]
call fcn.005e712c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00499134
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x15], 0x40
je 0x5ef494
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov byte [eax + 0x28], 1
jmp 0x5ef49e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov byte [eax + 0x28], 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.005e62e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.005e68c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ef4dd
mov eax, dword [ebp - 0x18]
call fcn.004050c8
ret