Function at 0x403980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c7ed
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x466340]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [edx]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
cmp byte [ecx + 0xd], 0
jne 0x403aa6
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x10]
mov dword [ebp - 0x20], edi
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x4039ea
mov edx, dword [eax]
cmp dword [ecx + 0x14], 0xf
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
jbe 0x4039f8
mov ecx, dword [ecx]
mov edi, dword [ebp - 0x10]
mov esi, eax
cmp dword [edi + 0x10], eax
mov eax, edi
mov edi, dword [ebp - 0x14]
cmovb esi, dword [eax + 0x10]
sub esi, 4
jb 0x403a21
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x403a26
add ecx, 4
add edx, 4
sub esi, 4
jae 0x403a10
cmp esi, 0xfffffffc
je 0x403a5a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x403a53
cmp esi, 0xfffffffd
je 0x403a5a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x403a53
cmp esi, 0xfffffffe
je 0x403a5a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x403a53
cmp esi, 0xffffffff
je 0x403a5a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x403a5a
sbb eax, eax
or eax, 1
jmp 0x403a5c
xor eax, eax
test eax, eax
je 0x403a66
jns 0x403a77
or al, 0xff
jmp 0x403a79
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
cmp eax, dword [edx + 0x10]
jae 0x403a75
or al, 0xff
jmp 0x403a79
jbe 0x403a87
mov al, 1
test al, al
jns 0x403a87
mov edi, dword [edi + 8]
xor esi, esi
mov eax, dword [ebp - 0x18]
jmp 0x403a93
mov eax, edi
mov esi, 1
mov edi, dword [edi]
mov dword [ebp - 0x18], eax
cmp byte [edi + 0xd], 0
mov dword [ebp - 0x14], edi
je 0x4039d7
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp byte [eax + 0xd], 0
jne 0x403adb
lea ecx, [eax + 0x10]
push ecx
push edi
mov ecx, edx
call fcn.004037e0
test al, al
jne 0x403adb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x4924924
je 0x403b84
mov dword [ebp - 0x2c], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.00434606
xorps xmm0, xmm0
add esp, 4
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [edi]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x30]
mov byte [eax + 0x28], 0
mov dword [eax + 0x30], 0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], 0
mov ecx, dword [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x20]
call fcn.004054b0
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.004056a0
int3