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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cdb0f
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [ebp + 8]
add eax, 0x40
mov dword [esp + 0x78], ebx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
mov dword [esp + 0x40], eax
call fcn.004323d0
mov eax, dword [edi]
lea esi, [esp + 0x28]
call fcn.004a7500
mov byte [esp + 0x78], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.0041b370
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2baa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x40], eax
cmp eax, ebx
je 0x4b2bce
cmp eax, 0xffffffff
jne 0x4b2c81
mov eax, dword [edi]
lea esi, [esp + 0x24]
call fcn.004018f0
mov byte [esp + 0x78], 4
mov ecx, dword [eax]
push ecx
push str.Invalid_disk_handle_for_operation:__s
lea eax, [esp + 0x54]
mov dword [esp + 0x54], str.SsdOptimizer::AcquireFreeLbaLocations
mov dword [esp + 0x58], 0x443
mov dword [esp + 0x5c], 1
call fcn.00409c10
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b2c32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4b2c4a
cmp eax, 0xffffffff
je 0x4b2c4a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2c6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, dword [eax + 0x160]
mov eax, dword [eax + 0x164]
push ebx
mov dword [esp + 0x18], ecx
add ecx, 7
mov dword [esp + 0x1c], eax
push 8
adc eax, ebx
push eax
push ecx
call fcn.0045a1e0
lea esi, [eax + 0x18]
lea eax, [esi + 0x10]
push eax
call fcn.0044d57b
add esp, 4
mov byte [esp + 0x24], bl
mov ecx, dword [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], eax
call fcn.0042b2b0
mov byte [esp + 0x78], 5
mov edi, dword [esp + 0x4c]
push esi
lea eax, [edi + 0x10]
push ebx
push eax
mov dword [esp + 0x38], eax
call fcn.00457de0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
push esi
push ecx
mov ebx, edi
call fcn.0049ee90
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push 8
or edi, 0xffffffff
push edx
or ebx, edi
push eax
mov dword [esp + 0x48], ebx
mov esi, ebx
mov dword [esp + 0x30], 0
call fcn.0045a1e0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
test edx, edx
jl 0x4b2ea1
jg 0x4b2d51
test eax, eax
je 0x4b2ea1
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + edx]
mov byte [esp + 0x12], al
test al, al
jne 0x4b2d9e
test ebx, ebx
jg 0x4b2d91
jl 0x4b2d76
test esi, esi
jae 0x4b2d91
mov eax, dword [esp + 0x14]
cdq
mov esi, eax
mov ebx, edx
mov edi, 8
mov dword [esp + 0x38], 0
jmp 0x4b2e5d
add edi, 8
adc dword [esp + 0x38], 0
jmp 0x4b2e5d
cmp al, 0xff
jne 0x4b2dd9
test ebx, ebx
jl 0x4b2e5d
jg 0x4b2db4
test esi, esi
jb 0x4b2e5d
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 8]
push eax
push edi
push ebx
push esi
push ecx
lea ecx, [esp + 0x6c]
call fcn.004b14a0
or edi, 0xffffffff
mov esi, edi
mov ebx, edi
mov dword [esp + 0x38], edi
jmp 0x4b2e5d
xor ecx, ecx
mov byte [esp + 0x11], 1
mov dword [esp + 0x24], ecx
jmp 0x4b2dea
mov al, byte [esp + 0x12]
mov dl, byte [esp + 0x11]
and dl, al
je 0x4b2e22
test ebx, ebx
jl 0x4b2e4f
jg 0x4b2dfc
test esi, esi
jb 0x4b2e4f
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 8]
push eax
push edi
push ebx
push esi
push ecx
lea ecx, [esp + 0x6c]
call fcn.004b14a0
mov ecx, dword [esp + 0x24]
or edi, 0xffffffff
mov esi, edi
mov ebx, edi
mov dword [esp + 0x38], edi
jmp 0x4b2e4f
test ebx, ebx
jg 0x4b2e47
jl 0x4b2e2c
test esi, esi
jae 0x4b2e47
mov eax, dword [esp + 0x14]
lea eax, [eax + ecx]
cdq
mov esi, eax
mov ebx, edx
mov edi, 1
mov dword [esp + 0x38], 0
jmp 0x4b2e4f
add edi, 1
adc dword [esp + 0x38], 0
shl byte [esp + 0x11], 1
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, 8
jl 0x4b2de6
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 8
inc eax
mov dword [esp + 0x20], eax
cdq
cmp edx, dword [esp + 0x48]
jl 0x4b2d59
jg 0x4b2e82
cmp eax, dword [esp + 0x44]
jb 0x4b2d59
test ebx, ebx
jl 0x4b2ea1
jg 0x4b2e8c
test esi, esi
jb 0x4b2ea1
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 8]
push eax
push edi
push ebx
push esi
push ecx
lea ecx, [esp + 0x6c]
call fcn.004b14a0
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
mov edi, dword [esp + 0x30]
sar eax, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], eax
call fcn.00432210
mov byte [esp + 0x78], 3
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4b2ef4
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4b2ef4
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4b2ef4
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2f24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b2f35
push eax
call fcn.00453bd6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4