Function at 0x44f970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ce3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], al
call fcn.00406ad6
mov edi, 0x503a34
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00406a51
test al, al
je 0x44f9f8
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x503a34
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.0042bb00
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4d68ec]
push ecx
lea edx, [esp + 0x1c]
lea esi, [eax + 0xfc]
push ebx
push edx
mov ecx, esi
mov dword [esp + 0x44], 1
call fcn.0040b3b2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
je 0x44fa3b
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x44fa60
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x44fa57
cmp al, 0xff
je 0x44fa57
dec al
mov byte [ecx], al
jmp 0x44fa60
push ecx
call fcn.004be17b
add esp, 4
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [edi + 0x128]
cmp ecx, ebx
je 0x44fad3
mov eax, dword [ecx]
call dword [eax + 0xbc]
test eax, eax
je 0x44fac5
cmp dword [edi + 0x190], ebx
jne 0x44fac5
mov edi, dword [esp + 0x40]
mov cl, byte [esp + 0x40]
push ebx
mov byte [edi], cl
mov ecx, edi
call fcn.00406ad6
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov edx, dword [0x4d68ec]
mov ecx, edi
push edx
push ebx
push esi
mov dword [esp + 0x44], 2
call fcn.0040b3b2
mov eax, edi
jmp 0x44fb9e
mov ecx, dword [edi + 0x128]
mov eax, dword [ecx]
call dword [eax + 0xc8]
mov ebp, dword [esp + 0x40]
mov cl, byte [esp + 0x40]
push ebx
mov byte [ebp], cl
mov ecx, ebp
call fcn.00406ad6
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov eax, dword [esi + 8]
mov ecx, dword [0x4d68ec]
mov ebx, eax
mov dword [esp + 0x38], 3
cmp ecx, ebx
jae 0x44fb05
mov ebx, ecx
cmp ebp, esi
jne 0x44fb1f
push ecx
push ebx
mov ecx, ebp
call fcn.0040b480
push 0
push 0
mov ecx, ebp
call fcn.0040b480
jmp 0x44fb9c
test ebx, ebx
jbe 0x44fb67
cmp ebx, eax
jne 0x44fb67
mov eax, dword [esi + 4]
test eax, eax
jne 0x44fb33
mov eax, 0x4d68e8
cmp byte [eax - 1], 0xfe
jae 0x44fb67
push 1
mov ecx, ebp
call fcn.00406ad6
mov eax, dword [esi + 4]
test eax, eax
jne 0x44fb4e
mov eax, 0x4d68e8
mov dword [ebp + 4], eax
mov edx, dword [esi + 8]
mov dword [ebp + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x44fb9c
push 1
push ebx
mov ecx, ebp
call fcn.00406a51
test al, al
je 0x44fb9c
mov esi, dword [esi + 4]
test esi, esi
jne 0x44fb81
mov esi, 0x4d68e8
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0042bb00
mov eax, ebp
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4