Function at 0x446a5d
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d3c66
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517490]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x868]
xor ebx, ebx
mov edx, dword [esp + 0x854]
mov ebp, dword [esp + 0x860]
mov dword [esp + 0x18], ebp
mov dword [eax], ebx
mov dword [esp + 0x30], eax
cmp byte [edx + 0xc], bl
je 0x446ac9
xor al, al
jmp 0x446c9f
mov edi, dword [edx + 0x2c]
mov esi, dword [esp + 0x85c]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x858]
cmp esi, edi
jb 0x446ae7
ja 0x446ac2
cmp ecx, eax
jae 0x446ac2
sub eax, ecx
sbb edi, esi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x864]
cmp ebx, dword [esp + 0x20]
ja 0x446b02
jb 0x446b04
cmp edi, eax
jbe 0x446b04
mov edi, eax
mov eax, ecx
and eax, 0x7ff
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, 0x800
sub eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
neg ebp
sbb ebp, ebp
and ebp, eax
sub ecx, dword [esp + 0x14]
mov eax, edi
mov dword [esp + 0x1c], ebp
sbb esi, ebx
sub eax, ebp
mov ebp, dword [esp + 0x18]
add eax, 0x7ff
shrd ecx, esi, 0xb
shr eax, 0xb
shr esi, 0xb
mov esi, dword [esp + 0x14]
test esi, esi
je 0x446b50
inc eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push eax
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x854], ebx
push eax
push edx
call fcn.00445594
add esp, 0x10
test esi, esi
jne 0x446bbf
test edi, 0x7ff
jne 0x446bbf
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub edi, eax
sar edi, 3
test edi, edi
je 0x446c92
mov esi, dword [eax + ebx*8 + 4]
mov ecx, dword [esp + 0x34]
push ebp
shl esi, 0xb
push esi
push dword [eax + ebx*8]
call fcn.00446991
mov eax, dword [esp + 0x30]
add ebp, esi
add dword [eax], esi
inc ebx
mov eax, dword [esp + 0x24]
cmp ebx, edi
jb 0x446b94
jmp 0x446c92
mov ebp, dword [esp + 0x28]
mov edx, ebx
mov eax, dword [esp + 0x24]
sub ebp, eax
sar ebp, 3
mov dword [esp + 0x3c], edx
test ebp, ebp
je 0x446c92
add eax, 4
mov dword [esp + 0x20], eax
mov ecx, ebx
mov dword [esp + 0x38], ecx
cmp dword [eax], ebx
jbe 0x446c7e
mov eax, dword [eax - 4]
add eax, ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, 0x800
push ecx
mov ecx, dword [esp + 0x3c]
push eax
call fcn.00446991
test eax, eax
je 0x446c94
test esi, esi
mov esi, edi
je 0x446c39
cmp dword [esp + 0x1c], edi
mov eax, dword [esp + 0x14]
cmovbe esi, dword [esp + 0x1c]
push esi
lea eax, [esp + eax + 0x44]
push eax
push dword [esp + 0x20]
call fcn.004be440
mov dword [esp + 0x20], ebx
jmp 0x446c52
mov eax, 0x800
cmp edi, eax
cmovae esi, eax
lea eax, [esp + 0x40]
push esi
push eax
push dword [esp + 0x20]
call fcn.004be440
mov eax, dword [esp + 0x3c]
sub edi, esi
add dword [esp + 0x24], esi
add esp, 0xc
mov ecx, dword [esp + 0x38]
add dword [eax], esi
inc ecx
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
cmp ecx, dword [eax]
jb 0x446bef
mov edx, dword [esp + 0x3c]
inc edx
add eax, 8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
cmp edx, ebp
jb 0x446be1
mov bl, 1
lea ecx, [esp + 0x24]
call fcn.0040a7be
mov al, bl
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.004b94b6
add esp, 0x83c
ret 0x18