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

Disassembly:
push 0xffffffffffffffff
push 0x4d4301
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
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 0x446d99
xor al, al
jmp 0x446f6f
mov edi, dword [edx + 0x2c]
mov esi, dword [esp + 0x85c]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x858]
cmp esi, edi
jb 0x446db7
ja 0x446d92
cmp ecx, eax
jae 0x446d92
sub eax, ecx
sbb edi, esi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x864]
cmp ebx, dword [esp + 0x20]
ja 0x446dd2
jb 0x446dd4
cmp edi, eax
jbe 0x446dd4
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 0x446e20
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.00445864
add esp, 0x10
test esi, esi
jne 0x446e8f
test edi, 0x7ff
jne 0x446e8f
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub edi, eax
sar edi, 3
test edi, edi
je 0x446f62
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.00446c61
mov eax, dword [esp + 0x30]
add ebp, esi
add dword [eax], esi
inc ebx
mov eax, dword [esp + 0x24]
cmp ebx, edi
jb 0x446e64
jmp 0x446f62
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 0x446f62
add eax, 4
mov dword [esp + 0x20], eax
mov ecx, ebx
mov dword [esp + 0x38], ecx
cmp dword [eax], ebx
jbe 0x446f4e
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.00446c61
test eax, eax
je 0x446f64
test esi, esi
mov esi, edi
je 0x446f09
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.004be9f0
mov dword [esp + 0x20], ebx
jmp 0x446f22
mov eax, 0x800
cmp edi, eax
cmovae esi, eax
lea eax, [esp + 0x40]
push esi
push eax
push dword [esp + 0x20]
call fcn.004be9f0
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 0x446ebf
mov edx, dword [esp + 0x3c]
inc edx
add eax, 8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
cmp edx, ebp
jb 0x446eb1
mov bl, 1
lea ecx, [esp + 0x24]
call fcn.0040ab0c
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.004b9a6c
add esp, 0x83c
ret 0x18