Function at 0x405920
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4295ee
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x40
mov eax, dword [0x43500c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
mov edi, dword [ebx + 0xc]
mov esi, dword [ebx + 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
nop dword [eax]
test edi, edi
je 0x40599e
cmp byte [ebx + 0x3c], 0
jne 0x40599e
xor cl, cl
jmp 0x4059a0
mov cl, 1
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4059b4
cmp byte [ebx + 0x7c], 0
jne 0x4059b4
xor al, al
jmp 0x4059b6
mov al, 1
test cl, cl
jne 0x405a34
test al, al
jne 0x405a34
mov eax, dword [ebx + 0x70]
mov ecx, edx
mov edx, dword [ebx + 0x6c]
sub ecx, esi
sub eax, edx
cmp ecx, eax
jne 0x405a2d
sub ecx, 4
jb 0x4059e4
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x4059e9
add esi, 4
add edx, 4
sub ecx, 4
jae 0x4059d3
cmp ecx, 0xfffffffc
je 0x405a16
mov al, byte [esi]
cmp al, byte [edx]
jne 0x405a2d
cmp ecx, 0xfffffffd
je 0x405a16
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x405a2d
cmp ecx, 0xfffffffe
je 0x405a16
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x405a2d
cmp ecx, 0xffffffff
je 0x405a16
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
jne 0x405a2d
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebx + 0x74]
jne 0x405a2d
mov eax, dword [ebx + 0x38]
cmp eax, dword [ebx + 0x78]
jne 0x405a2d
mov edx, dword [ebp - 0x3c]
mov al, 1
jmp 0x405a38
mov edx, dword [ebp - 0x3c]
xor al, al
jmp 0x405a38
xor al, cl
xor al, 1
test al, al
jne 0x405b5c
mov byte [ebp - 0x34], al
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
cmp eax, edx
je 0x405a64
sub edx, eax
lea ecx, [ebp - 0x34]
push edx
push eax
call fcn.00404610
or dword [ebp - 0x44], 0x1f
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x405a97
movups xmm0, xmmword [ebp - 0x34]
mov edx, 0xf
mov byte [ebp - 0x34], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
add dword [ecx + 4], 0x18
jmp 0x405aa4
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.00406100
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x405ad9
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405acf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405be2
push edx
push ecx
call fcn.0040ff97
add esp, 8
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x405b2b
push dword [ebx + 0x38]
lea eax, [ebx + 0x14]
and edi, 0xfffffffe
push dword [ebx + 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [edi + 4]
call eax
mov ecx, dword [ebx + 0x38]
add esp, 0x10
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], esi
cmp edx, ecx
jne 0x405b14
cmp esi, ecx
jne 0x405b14
mov edi, dword [ebx + 0xc]
jmp 0x405b36
mov esi, dword [ebx + 0x34]
mov eax, dword [ebp - 0x38]
mov edi, dword [ebx + 0xc]
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], eax
jmp 0x405990
mov ecx, dword [ebx + 0x38]
mov edx, ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
cmp dword [ebx + 0x30], ecx
mov ecx, 1
movzx eax, byte [ebx + 0x3c]
mov esi, dword [ebx + 0x34]
cmove eax, ecx
mov byte [ebx + 0x3c], al
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], eax
jmp 0x405990
mov dword [ebp - 4], 6
mov al, byte [ebx + 0xc]
test edi, edi
je 0x405b9b
test al, 1
jne 0x405b8f
and edi, 0xfffffffe
mov eax, dword [edi]
test eax, eax
je 0x405b8f
lea ecx, [ebx + 0x14]
push 2
push ecx
push ecx
call eax
mov eax, dword [ebx + 0x4c]
add esp, 0xc
mov dword [ebx + 0xc], 0
jmp 0x405b9e
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0xc], 0
jmp 0x405b9e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], 7
test eax, eax
je 0x405bc2
test al, 1
jne 0x405bc2
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x405bc2
lea ecx, [ebx + 0x54]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040fcb7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x84
call fcn.004160bc
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
call fcn.00404570
push 0
push 0
call fcn.00411c57
int3