Function at 0x640efe
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
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 edi, eax
mov eax, dword [edi + 8]
mov dword [eax + 0x44], 0xffffffff
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [edi + 4]
call fcn.0049c05a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0xc]
add dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov cl, 1
lea edx, [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x3c]
mov ebx, dword [edi + 8]
mov dword [ebx + 0x40], eax
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x40]
mov eax, ebx
call fcn.0063c6d2
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x46f0c0]
call fcn.0047948a
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x640301
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 7
mov eax, dword [ebp - 0x14]
call fcn.0047b102
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00479daa
mov eax, dword [eax + 0x48]
mov edx, 0xff00000f
call fcn.00472ea2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x38]
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.0040d986
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00479daa
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [edi + 4]
mov si, 0xffc7
call fcn.004062fa
test al, al
je 0x64100c
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov ebx, eax
jmp 0x64100e
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov eax, ebx
neg eax
xor edx, edx
call fcn.0040da16
lea eax, [ebp - 0x28]
push eax
push ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x14]
mov ecx, esi
mov eax, dword [ebp - 0x20]
add ecx, dword [eax + 0x18]
mov eax, esi
xor edx, edx
call fcn.0040d986
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00479daa
mov edx, eax
mov eax, dword [edi + 8]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov eax, dword [edi + 4]
mov si, 0xffc7
call fcn.004062fa
test al, al
je 0x6410a1
mov eax, dword [edi + 4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov ebx, eax
mov eax, dword [ebp - 0x20]
call fcn.0063ad3a
add ebx, eax
mov eax, ebx
lea ecx, [ebp - 0x28]
xor edx, edx
call fcn.0040da16
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
mov eax, dword [edi + 4]
call fcn.0049bf26
jmp 0x6410c1
mov eax, dword [ebp - 0x20]
call fcn.0063ad3a
lea ecx, [ebp - 0x28]
xor edx, edx
call fcn.0040da16
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x1c]
mov eax, dword [edi + 4]
call fcn.0049bf26
mov eax, dword [edi + 0xc]
sub dword [ebp - 0x18], eax
test byte [edi + 0x15], 0x40
je 0x6410d6
mov eax, dword [edi + 0x4c]
mov byte [eax + 0x28], 1
jmp 0x6410dd
mov eax, dword [edi + 0x4c]
mov byte [eax + 0x28], 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.0063a1ea
mov eax, dword [edi + 0x4c]
call fcn.0063a6fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x640308
mov eax, dword [ebp - 0x14]
call fcn.00405f9e
ret