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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe44
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x6af5ec
call fcn.0061509c
xor edx, edx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov dword [ebp - 0x40], eax
xor edx, edx
mov dword [ebp - 0x50], edx
push 0x20
push 0
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.006146f0
add esp, 0xc
cmp dword [ebx + 0x16], 0
jne 0x54be38
push str.VPartition::SplitPartition___Invalid_File_System_Pointer._n
call fcn.004adfc8
pop ecx
mov eax, 3
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x54c475
mov ecx, dword [ebx + 0x12]
mov eax, dword [ecx + 6]
shr eax, 0xb
cmp eax, 0x64
jae 0x54be5a
mov eax, 4
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x54c475
push 0x123
push 0
lea ecx, [ebp - 0x19c]
push ecx
call fcn.006146f0
add esp, 0xc
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x14d]
push edx
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x14d]
mov edx, dword [eax + 0xa0]
push edx
call fcn.0054f288
add esp, 8
mov dword [ebp - 0x44], eax
push 0x2d
call fcn.004e5968
pop ecx
mov edi, eax
test eax, eax
je 0x54bee6
mov edx, dword [ebx + 0x16]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xd0]
pop ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
push edx
mov ecx, dword [ebx + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc8]
pop ecx
push eax
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x14d]
push ecx
push ebx
mov eax, dword [ebp + 0x14]
push eax
mov dl, byte [ebp + 0x10]
push edx
push esi
push edi
call fcn.0055049c
add esp, 0x20
jmp 0x54bee8
mov eax, edi
test eax, eax
jne 0x54befd
mov dword [ebp - 0x28], 3
cmp dword [ebp - 0x28], 0
jne 0x54c3c9
push eax
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x14d]
mov eax, dword [ecx + 0xa0]
push eax
call fcn.0054f214
add esp, 8
mov dword [ebp - 0x40], 1
push 1
lea edx, [ebp - 0x19c]
push edx
push ebx
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x14d]
mov edx, dword [eax + 4]
push edx
call fcn.00485d68
add esp, 0x10
mov ecx, dword [ebx + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc4]
pop ecx
mov edi, eax
mov edx, dword [edi + 0x18]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebx + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc4]
pop ecx
mov edi, eax
mov edx, dword [edi + 0x28]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebx + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc4]
mov edi, eax
pop ecx
mov ecx, dword [ebx + 0x16]
mov edx, dword [edi + 0x1c]
push ecx
mov edi, edx
mov eax, dword [ecx]
call dword [eax + 0xc4]
pop ecx
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x2c]
mov dword [ebp - 0x34], ecx
push 0x1a0
call fcn.004e5968
pop ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov edx, dword [ebx + 0x16]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc4]
pop ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x40]
push edx
mov ecx, dword [ebx + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc4]
pop ecx
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 0x1c]
push ecx
mov eax, dword [ebx + 0x16]
mov edx, dword [eax + 0x14c]
push edx
mov ecx, dword [ebx + 0x16]
push ecx
call fcn.00543b18
add esp, 0x14
mov eax, dword [ebx + 0x16]
mov edx, dword [eax + 0x156]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x54]
push ecx
mov eax, dword [ebx + 0x16]
push eax
mov edx, dword [eax]
call dword [edx + 0xe0]
add esp, 8
lea ecx, [ebp - 0x38]
push 2
push 0
push ecx
push ebx
call fcn.0054cc28
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x54c3c9
push 1
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x10]
add esp, 0x10
push 0
push ebx
call fcn.0054dc58
pop ecx
push eax
mov eax, dword [ebp - 0x38]
push eax
push ebx
call fcn.0054a268
add esp, 0x10
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x2c]
pop ecx
add edi, eax
push edi
mov eax, dword [ebx + 0x16]
push eax
call fcn.005439b8
add esp, 8
push 1
mov edx, dword [ebx + 8]
push edx
call fcn.0053d6b4
add esp, 8
push ebx
call fcn.0054e8d4
pop ecx
xor ecx, ecx
cmp esi, 4
mov dword [ebx + 0x32], ecx
jne 0x54c096
mov eax, dword [ebx + 8]
movzx edx, word [eax + 0x175]
sub dword [ebp - 0x30], edx
mov edi, dword [ebx + 0x42]
mov eax, dword [edi + 0x16]
push eax
mov edx, dword [eax]
call dword [edx + 0x78]
pop ecx
cmp al, 3
je 0x54c0c6
push str.VPartition::SplitPartition___Invalid_Free_space_pointer._n
call fcn.004adfc8
pop ecx
mov eax, 0x898
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x54c475
push 1
lea ecx, [ebp - 0x50]
push 0
push ecx
push edi
call fcn.0054cc28
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x54c3c9
movsx eax, byte [ebp + 0x10]
cmp eax, 0x2a
jne 0x54c0f6
mov dword [ebp - 0x4c], 0xffffffff
jmp 0x54c114
movsx edx, byte [ebp + 0x10]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0061a33c
pop ecx
mov byte [ebp + 0x10], al
movsx eax, byte [ebp + 0x10]
add eax, 0xffffffbf
mov dword [ebp - 0x4c], eax
push 0
push 1
mov edx, dword [ebx + 0x16]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x78]
pop ecx
push eax
mov eax, dword [ebp - 0x50]
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
add esp, 0x10
push 0
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp - 0x50]
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x50]
add esp, 0x10
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0x56], eax
push 1
push esi
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.005480bc
add esp, 0xc
push 1
push 0
mov eax, dword [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x10]
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x70], eax
xor edx, edx
mov dword [ebp - 0x6c], edx
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
mov eax, dword [ebp - 0x50]
push eax
push edi
mov edx, dword [ebx + 8]
push edx
call fcn.0053d1cc
add esp, 0x18
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x54c3c9
mov edi, dword [ebx + 0x42]
mov eax, dword [edi + 0x16]
push eax
mov edx, dword [eax]
call dword [edx + 0x78]
pop ecx
cmp al, 5
jne 0x54c1b3
mov edi, dword [edi + 0x42]
mov ecx, dword [ebx + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
pop ecx
mov edx, dword [edi + 0x16]
mov byte [edx + 0x131], al
push 1
push 0
lea ecx, [ebp - 0x50]
push ecx
push edi
call fcn.0054cc28
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x54c3c9
lea eax, [ebp - 0x1bc]
push eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x34]
add esp, 8
mov eax, dword [ebp - 0x50]
push eax
mov edx, dword [edi + 0x16]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xd4]
add esp, 8
mov eax, dword [ebp - 0x50]
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
pop ecx
add dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov eax, dword [edi + 0x16]
push eax
call fcn.005439b8
add esp, 8
mov dl, byte [ebp + 0x10]
push edx
mov ecx, dword [edi + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
add esp, 8
xor edx, edx
mov dword [edi + 0x32], edx
mov ecx, dword [ebx + 0x16]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc4]
pop ecx
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx + 0x3c]
mov eax, dword [ecx]
push eax
mov edx, dword [ebx + 0x16]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc8]
pop ecx
push eax
mov eax, dword [edi + 0x16]
push eax
mov edx, dword [eax]
call dword [edx + 0xbc]
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x54c3c9
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053e568
pop ecx
mov eax, dword [ebx + 8]
push eax
call fcn.0053ea0c
pop ecx
mov edx, dword [ebx + 0x16]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc4]
pop ecx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 0x3c]
mov ecx, dword [edx]
push ecx
mov eax, dword [ebx + 0x16]
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
pop ecx
push eax
mov cl, byte [ebp + 0x10]
push ecx
push esi
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [edi + 0x12]
mov ecx, dword [edx + 6]
push ecx
mov eax, dword [edi + 0x12]
mov edx, dword [eax + 2]
push edx
mov ecx, dword [ebx + 0x12]
mov eax, dword [ecx + 6]
push eax
lea ecx, [ebp - 0x19c]
mov dl, byte [ecx + 0x122]
shl edx, 0x10
mov dx, word [ecx + 0x120]
push edx
mov edx, 0x47
push dword [ecx + edx*4]
dec edx
jns 0x54c2f4
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x14d]
mov ecx, dword [edx + 4]
push ecx
call fcn.00486a34
add esp, 0x148
xor eax, eax
mov dword [ebp - 0x40], eax
xor edx, edx
mov dword [ebp - 0x48], edx
mov cl, 1
cmp dword [edi + 0x1a], 4
je 0x54c325
dec ecx
test cl, cl
jne 0x54c362
mov eax, dword [ebx + 8]
mov esi, dword [eax + 0x159]
test esi, esi
je 0x54c362
cmp dword [esi + 0x1a], 1
jne 0x54c35b
mov eax, dword [esi + 0x16]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop ecx
movsx ecx, al
cmp ecx, 0x2a
je 0x54c35b
cmp edi, esi
je 0x54c35b
mov dword [ebp - 0x48], 1
jmp 0x54c362
mov esi, dword [esi + 0x42]
test esi, esi
jne 0x54c336
cmp dword [ebp - 0x48], 0
je 0x54c375
push 0
push edi
call fcn.0054abc0
add esp, 8
jmp 0x54c3b9
push ebx
call fcn.0054dc58
pop ecx
test eax, eax
je 0x54c398
push edi
call fcn.0054dc58
pop ecx
test eax, eax
jne 0x54c398
push 0
push edi
call fcn.0054abc0
add esp, 8
jmp 0x54c3b9
push ebx
call fcn.0054dc58
pop ecx
test eax, eax
jne 0x54c3b9
push edi
call fcn.0054dc58
pop ecx
test eax, eax
je 0x54c3b9
push 0
push edi
call fcn.0054ae64
add esp, 8
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x14d]
push edx
call fcn.0054022c
pop ecx
cmp dword [ebp - 0x40], 0
je 0x54c3e5
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x14d]
mov edx, dword [eax + 0xa0]
push edx
call fcn.0054f180
pop ecx
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x14d]
mov ecx, dword [edx + 0xa0]
push ecx
call fcn.0054f2e0
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x54c432
cmp dword [ebp - 0x3c], 0
je 0x54c432
mov eax, dword [ebx + 0x16]
mov edx, dword [eax + 0x156]
push edx
call fcn.004e598c
pop ecx
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebx + 0x16]
push eax
mov edx, dword [eax]
call dword [edx + 0xe0]
add esp, 8
jmp 0x54c442
cmp dword [ebp - 0x3c], 0
je 0x54c442
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004e598c
pop ecx
cmp dword [ebp - 0x50], 0
je 0x54c455
push 3
mov eax, dword [ebp - 0x50]
push eax
mov edx, dword [eax]
call dword [edx]
add esp, 8
cmp dword [ebp - 0x38], 0
je 0x54c468
push 3
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ecx]
call dword [eax]
add esp, 8
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret