Function at 0x405b00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e633
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x42f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [edi], vtable.CAttrBase.0
mov dword [edi + 4], edx
mov dword [edi + 0x18], ecx
mov eax, dword [ecx + 8]
mov ax, word [eax + 8]
mov word [edi + 8], ax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x20]
mov dword [edi + 0x14], eax
mov dword [ebp - 4], 0
mov dword [edi], vtable.CAttrNonResident.0
mov dword [edi + 0x20], vtable.CSList_struct_tagDataRun_Entry_.0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 1
push dword [edi + 0xc]
mov dword [edi + 0x1c], edx
call fcn.0040c3b7
mov dword [edi + 0x38], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x1c]
add esp, 4
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x20], xmm0
movzx esi, word [eax + 0x20]
add esi, eax
mov al, byte [esi]
test al, al
je 0x405d5e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
movzx edi, al
inc esi
mov ebx, edi
shr edi, 4
and ebx, 0xf
cmp ebx, 8
ja 0x405d5b
cmp edi, 8
ja 0x405d5b
push ebx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push esi
push eax
movlpd qword [ebp - 0x20], xmm0
call fcn.0040dd80
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jl 0x405d5b
jg 0x405c3a
cmp dword [ebp - 0x20], 0
jb 0x405d5b
add esi, ebx
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test edi, edi
je 0x405c70
cmp byte [edi + esi - 1], 0
lea ebx, [edi + esi]
jge 0x405c60
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
push edi
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040dd80
add esp, 0xc
mov esi, ebx
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add eax, edi
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
js 0x405d4f
jg 0x405c94
test eax, eax
jb 0x405d4f
push 0x20
call fcn.0040bc1d
add esp, 4
mov ebx, eax
or edi, dword [ebp - 0x14]
jne 0x405cac
or ecx, 0xffffffff
or eax, ecx
jmp 0x405cb2
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov dword [ebx + 0x10], edi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x20]
add edi, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x14], edx
adc edx, ecx
mov dword [ebp - 0x30], edi
add edi, 0xffffffff
mov dword [ebx + 0x18], edi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x24]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov dword [ebp - 0x34], edx
adc edx, 0xffffffff
mov dword [ebx + 0x1c], edx
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x1c]
sbb ecx, dword [eax + 0x14]
cmp edx, ecx
ja 0x405d3e
jb 0x405d0b
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
ja 0x405d3e
push 8
call fcn.0040bc1d
add esp, 4
mov dword [eax + 4], ebx
mov dword [eax], 0
mov edx, dword [edi + 0x2c]
test edx, edx
jne 0x405d2a
mov dword [edi + 0x28], eax
jmp 0x405d2c
mov dword [edx], eax
inc dword [edi + 0x24]
mov dword [edi + 0x2c], eax
mov al, byte [esi]
test al, al
jne 0x405bf0
jmp 0x405d5e
lea ecx, [edi + 0x20]
call fcn.0040ad90
mov dword [edi + 0x34], 0
jmp 0x405d65
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x34], 0
jmp 0x405d67
mov edi, dword [ebp - 0x24]
mov dword [edi + 0x34], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bc0c
mov esp, ebp
pop ebp
ret 8