Function at 0x64630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
push 0x48c5
call fcn.00049640
push 0x48cb
mov dword [esp + 0x18], eax
call fcn.00049640
push 0x48c8
mov dword [esp + 0x30], eax
call fcn.00049640
push 0x27
mov dword [esp + 0x2c], eax
call fcn.00049640
push 0x48c2
mov esi, eax
call fcn.00049640
push 3
mov dword [esp + 0x20], eax
call fcn.00049640
mov ecx, eax
push 2
mov dword [esp + 0x14], ecx
call fcn.00049640
mov edx, eax
push 0x4a
mov dword [esp + 0x24], edx
call fcn.00049640
push 0x484d
mov ebx, eax
call fcn.00049640
mov edi, eax
push 0x4982
mov dword [esp + 0x54], edi
call fcn.00049640
push 0x4985
mov dword [esp + 0x4c], eax
call fcn.00049640
push 0x4988
mov dword [esp + 0x48], eax
call fcn.00049640
push 0x498b
mov dword [esp + 0x34], eax
call fcn.00049640
push 0x498e
mov dword [esp + 0x38], eax
call fcn.00049640
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x64a8e
test edx, edx
je 0x64a8e
test ebx, ebx
je 0x64a8e
test edi, edi
je 0x64a8e
cmp dword [esp + 0x1c], 0
je 0x64a8e
cmp dword [esp + 0x14], 0
je 0x64a8e
cmp dword [esp + 0x2c], 0
je 0x64a8e
cmp dword [esp + 0x28], 0
je 0x64a8e
test esi, esi
je 0x64a8e
cmp dword [esp + 0x48], 0
je 0x64a8e
cmp dword [esp + 0x44], 0
je 0x64a8e
cmp dword [esp + 0x30], 0
je 0x64a8e
cmp dword [esp + 0x34], 0
je 0x64a8e
test eax, eax
je 0x64a8e
push 0x2c
lea eax, [esp + 0x70]
push 0
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
call dword [sym.imp.ntoskrnl.exe_KeGetCurrentThread]
push 7
mov edi, eax
call fcn.00088910
mov cl, byte [edi + esi]
push 0
push 0x2c
lea edx, [esp + 0x74]
push edx
push 0
mov byte [esp + 0x34], al
mov byte [esp + 0x1f], cl
mov byte [edi + esi], 0
call dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0xf]
push ecx
push 7
mov byte [edi + esi], al
call fcn.00088aa0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
cmp ecx, eax
jbe 0x647e7
mov ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x74]
imul ecx
push 6
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.00088910
push 0x10
mov byte [esp + 0x64], al
call fcn.00088910
push 0x11
mov byte [esp + 0x58], al
call fcn.00088910
push 0x20
mov byte [esp + 0x60], al
call fcn.00088910
mov esi, dword [esp + 0x20]
add esi, dword [esp + 0x10]
mov byte [esp + 0x68], al
mov eax, 0xfe8
sub eax, ebx
mov dword [esp + 0x4c], eax
and esi, 0xfffff000
lea eax, [ebx + 0x18]
and eax, 0xfffffff8
mov dword [esp + 0x14], esi
mov byte [esp + 0xf], 0
mov dword [esp + 0x64], eax
cmp esi, 0xffff0000
jae 0x64a5e
lea ecx, [esi + 0x1000]
mov dword [esp + 0x18], ecx
cmp byte [esp + 0xf], 0
jne 0x648d3
mov ecx, esi
call fcn.0008bc00
cmp al, 1
jne 0x64a3c
push esi
call dword [esp + 0x20]
cmp al, 1
jne 0x64a3c
push esi
call dword [esp + 0x30]
mov edi, eax
mov ebx, edx
test edi, edi
jne 0x6489b
test ebx, ebx
je 0x64a3c
cmp ebx, dword [esp + 0x3c]
jg 0x64a3c
jl 0x648b1
cmp edi, dword [esp + 0x38]
jae 0x64a3c
mov edx, dword [esp + 0x1c]
push ebx
push edi
push edx
call fcn.00064560
cmp al, 1
jne 0x64a3c
push ebx
push edi
call dword [esp + 0x30]
cmp esi, eax
jne 0x64a3c
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x18]
mov ecx, edi
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0x20], eax
call fcn.0008bc00
cmp al, 1
jne 0x64956
push edi
call dword [esp + 0x20]
cmp al, 1
jne 0x64956
push edi
call dword [esp + 0x30]
mov edi, eax
mov ebx, edx
test edi, edi
jne 0x64911
test ebx, ebx
je 0x64956
cmp ebx, dword [esp + 0x3c]
jg 0x64956
jl 0x6491f
cmp edi, dword [esp + 0x38]
jae 0x64956
mov ecx, dword [esp + 0x1c]
push ebx
push edi
push ecx
call fcn.00064560
cmp al, 1
jne 0x64956
push ebx
push edi
call dword [esp + 0x30]
cmp dword [esp + 0x18], eax
jne 0x64956
mov edx, dword [esp + 0x4c]
add edx, 0x1000
mov dword [esp + 0x10], 0x2000
mov byte [esp + 0xf], 1
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push eax
push esi
call dword [esp + 0x5c]
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x64a3c
push edi
call dword [esp + 0x48]
push 0x10
push 0
push 0
push 1
push 0
push edi
call dword [esp + 0x48]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x64a37
xor esi, esi
lea edi, [ebx + 0x18]
jmp 0x649a0
mov edx, dword [sym.imp.ntoskrnl.exe_NtBuildNumber]
mov ecx, 0x1db0
cmp word [edx], cx
jae 0x649bc
mov eax, dword [esi + ebx + 8]
mov ecx, dword [esp + 0x50]
cmp eax, dword [ecx]
jmp 0x649da
mov edx, dword [esp + 0x14]
lea eax, [esi + edx]
push eax
lea eax, [esi + ebx]
call fcn.0008bd30
push 0x81b
mov cl, al
call fcn.00049640
cmp al, cl
jne 0x64a15
mov edx, dword [esp + 0x18]
lea ebx, [edx + esi - 0xfe8]
push ebx
mov eax, edi
call fcn.00063350
cmp al, 1
jne 0x64a11
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 1
push 0
push 1
push eax
push ecx
push ebx
mov eax, edi
call fcn.00063da0
mov eax, dword [esp + 0x64]
add esi, eax
add edi, eax
mov ebx, dword [esp + 0x10]
add esi, 8
add edi, 8
cmp esi, dword [esp + 0x20]
jbe 0x649a0
mov edx, dword [esp + 0x24]
push edx
push ebx
call dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
push edi
call dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
add eax, 0x1000
add esi, 0x1000
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
cmp eax, 0xffff1000
jb 0x64863
mov eax, dword [esp + 0x68]
push eax
push 0x20
call fcn.00088aa0
mov ecx, dword [esp + 0x60]
push ecx
push 6
call fcn.00088aa0
mov edx, dword [esp + 0x54]
push edx
push 0x10
call fcn.00088aa0
mov eax, dword [esp + 0x5c]
push eax
push 0x11
call fcn.00088aa0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8