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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013ec82
mov eax, dword fs:[0]
push eax
sub esp, 0xcb0
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0xca8], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0xcc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
call sub.diskmgr.dll_CreateDdmManager
mov dword [esp + 0x78], eax
call sub.FuncLogic.dll_CreateEnumDisk
mov ebx, eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov esi, dword [esi + 0x34]
mov esi, dword [esi + 0x18]
test esi, esi
je 0x10055164
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x100551b5
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055150
xor eax, eax
mov esi, dword [eax + 0x18]
test esi, esi
je 0x10055184
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x100551c0
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055170
xor eax, eax
mov esi, dword [eax + 0x18]
test esi, esi
je 0x100551a4
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x100551cb
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055190
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
jne 0x100551d6
xor eax, eax
jmp 0x10055b14
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055166
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055186
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x100551a6
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov edi, dword [esp + 0x18]
add edi, 0x2c
mov esi, 0x1014fa20
call fcn.1007ed30
test eax, eax
je 0x10055211
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x10055213
xor eax, eax
push eax
lea edi, [esp + 0x98]
call fcn.1002fa50
add esp, 4
lea eax, [esp + 0xa4]
mov ecx, edi
call fcn.1002f730
test eax, eax
jne 0x1005526e
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x28]
test esi, esi
je 0x10055254
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x10055263
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055240
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
jne 0x100551f4
jmp 0x10055b14
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055256
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100551ae
call fcn.1002ff80
test eax, eax
mov dword [esp + 0x30], eax
je 0x100551ae
mov esi, dword [eax + 0x20]
add esi, 8
mov edi, str.Parts
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100552dc
mov esi, dword [eax + 0x28]
test esi, esi
je 0x100552c0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x10055568
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x100552a8
xor eax, eax
mov esi, dword [eax + 0x20]
add esi, 8
mov edi, str.Parts
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x30], eax
jne 0x100552a1
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov ecx, ebx
call edx
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
mov dword [esp + 0x7c], esi
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xcc8], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
cmp esi, eax
mov byte [esp + 0xcc8], 5
mov dword [esp + 0x18], eax
jbe 0x100553f8
mov eax, dword [ebx]
mov edi, dword [esp + 0x18]
mov edx, dword [eax + 0x24]
lea ecx, [esp + 0x2b4]
push ecx
push edi
mov ecx, ebx
call edx
lea eax, [esp + 0x2b4]
lea esi, [esp + 0x58]
call fcn.10029100
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push edi
mov ecx, ebx
call edx
xor edi, edi
test eax, eax
mov dword [esp + 0x80], eax
jbe 0x100553e3
mov eax, dword [ebx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x28]
lea ecx, [esp + 0xb4]
push ecx
push edi
push edx
mov ecx, ebx
call eax
lea eax, [esp + 0xb4]
lea esi, [esp + 0x20]
call fcn.100291a0
add edi, 1
cmp edi, dword [esp + 0x80]
jb 0x100553b0
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
jb 0x10055373
xor edi, edi
cmp dword [esp + 0x1c], edi
jbe 0x1005542e
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x2b4]
push eax
push edi
mov ecx, ebx
call edx
lea eax, [esp + 0x2b4]
lea esi, [esp + 0x84]
call fcn.10029100
add edi, 1
cmp edi, dword [esp + 0x1c]
jb 0x10055400
xor edi, edi
cmp dword [esp + 0x14], edi
jbe 0x1005546b
jmp 0x10055440
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x2b4]
push ecx
push edi
mov ecx, ebx
call edx
lea eax, [esp + 0x2b4]
lea esi, [esp + 0x34]
call fcn.10029100
add edi, 1
cmp edi, dword [esp + 0x14]
jb 0x10055440
xor edi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x14], edi
jmp 0x10055480
mov ecx, dword [esp + 0x24]
cmp ecx, edi
je 0x100557d4
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 9
cmp dword [esp + 0x14], eax
jae 0x100557d4
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x100554c8
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x10055576
mov esi, dword [esi + 0x28]
cmp esi, edi
jne 0x100554b0
xor eax, eax
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x100557b2
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x4c]
add ebx, 0x2c
cmp eax, ebx
je 0x10055505
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.IsDynamic
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10055584
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x100554e4
xor eax, eax
movsx eax, byte [eax]
sub eax, 0x30
jne 0x10055781
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x10055537
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.IsGPT
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1005558f
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x1005551a
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x100556bc
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.Signature
mov ecx, 0xa
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100556a2
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x10055542
jmp 0x100556bc
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x100552c2
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x100554ca
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x10055507
mov eax, dword [eax + 0x18]
add eax, 8
je 0x10055537
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x100555bb
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.IsGPT
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100555f6
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x1005559e
xor eax, eax
movsx eax, byte [eax]
sub eax, 0x30
je 0x10055537
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x10055781
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.Guid
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100555fe
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x100555d4
jmp 0x10055781
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x100555bd
mov eax, dword [eax + 0x18]
add eax, 8
je 0x10055781
xor ecx, ecx
push eax
lea edi, [esp + 0x98]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
call fcn.1002fa50
mov esi, dword [esp + 0x28]
add esp, 4
test esi, esi
je 0x10055651
mov edi, dword [esp + 0x28]
mov eax, edi
sub eax, esi
sar eax, 9
cmp dword [esp + 0x14], eax
jb 0x1005565f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
shl ebx, 9
lea eax, [esi + ebx + 0x16a]
lea ecx, [esp + 0x94]
call fcn.1002f730
test eax, eax
je 0x10055781
test esi, esi
je 0x10055690
sub edi, esi
sar edi, 9
cmp dword [esp + 0x14], edi
jb 0x1005569a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x24]
lea eax, [esi + ebx]
jmp 0x10055778
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x44]
push ecx
add edx, 8
push 0x1014dc5c
push edx
call dword [sym.imp.MSVCR80.dll_sscanf_s]
add esp, 0xc
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x100556e4
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.StartSector
mov ecx, 0xc
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100557be
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x100556c3
xor eax, eax
push eax
call dword [sym.imp.MSVCR80.dll__atoi64]
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
mov ebx, edx
je 0x1005570d
mov edx, dword [esp + 0x28]
mov ecx, edx
sub ecx, eax
sar ecx, 9
cmp dword [esp + 0x14], ecx
jb 0x1005571b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
shl esi, 9
mov ecx, dword [eax + esi + 0xde]
cmp ecx, dword [esp + 0x44]
jne 0x10055781
test eax, eax
je 0x10055740
mov ecx, edx
sub ecx, eax
sar ecx, 9
cmp dword [esp + 0x14], ecx
jb 0x1005574e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi]
cmp ecx, edi
jne 0x10055781
mov ecx, dword [eax + esi + 4]
cmp ecx, ebx
jne 0x10055781
test eax, eax
je 0x1005576c
sub edx, eax
sar edx, 9
cmp dword [esp + 0x14], edx
jb 0x10055776
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
add eax, esi
lea esi, [esp + 0x48]
call fcn.100291a0
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x100557a4
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x100557c9
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055790
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
jne 0x100554d6
add dword [esp + 0x14], 1
xor edi, edi
jmp 0x10055480
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x100556e6
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x100557a6
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
lea esp, [esp]
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10055a4a
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jae 0x10055a4a
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x1005582c
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x100558a1
mov esi, dword [esi + 0x28]
cmp esi, edi
jne 0x10055818
xor eax, eax
cmp eax, edi
mov edx, eax
mov dword [esp + 0x18], edx
je 0x10055a2b
mov eax, dword [edx + 0x4c]
add edx, 0x2c
cmp eax, edx
je 0x10055863
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.IsDynamic
mov ecx, 0xa
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x100558ac
mov eax, dword [eax + 0x20]
cmp eax, edx
jne 0x10055846
xor eax, eax
movsx ecx, byte [eax]
sub ecx, 0x30
cmp ecx, 1
jne 0x100559fc
mov eax, dword [edx + 0x20]
cmp eax, edx
je 0x100559fc
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.Guid
mov ecx, 5
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x100558b4
mov eax, dword [eax + 0x20]
cmp eax, edx
jne 0x1005587f
jmp 0x100559fc
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x1005582e
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x10055865
mov eax, dword [eax + 0x18]
add eax, 8
je 0x100559fc
mov eax, dword [edx + 0x20]
cmp eax, edx
mov ebx, 0x20
je 0x100558f8
lea esp, [esp]
mov esi, dword [eax + 0x14]
add esi, 8
mov edi, str.Guid
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100559aa
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
add ecx, 0x2c
cmp eax, ecx
jne 0x100558d0
xor esi, esi
cmp dword [esp + 0x38], 0
je 0x10055920
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x66666667
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x10055926
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax + 0x6d6]
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1005594d
sub ebx, 4
add esi, 4
add eax, 4
cmp ebx, 4
jae 0x10055935
test ebx, ebx
je 0x100559b5
movzx ecx, byte [eax]
movzx edx, byte [esi]
sub ecx, edx
jne 0x1005599c
sub ebx, 1
add esi, 1
add eax, 1
test ebx, ebx
je 0x100559b5
movzx ecx, byte [eax]
movzx edx, byte [esi]
sub ecx, edx
jne 0x1005599c
sub ebx, 1
add esi, 1
add eax, 1
test ebx, ebx
je 0x100559b5
movzx ecx, byte [eax]
movzx edx, byte [esi]
sub ecx, edx
jne 0x1005599c
sub ebx, 1
add esi, 1
add eax, 1
test ebx, ebx
je 0x100559b5
movzx ecx, byte [eax]
movzx eax, byte [esi]
sub ecx, eax
je 0x100559b5
test ecx, ecx
mov eax, 1
jg 0x100559b7
or eax, 0xffffffff
jmp 0x100559b7
mov esi, dword [eax + 0x18]
add esi, 8
jmp 0x100558fa
xor eax, eax
test eax, eax
jne 0x100559fc
mov esi, dword [esp + 0x38]
test esi, esi
je 0x100559e2
mov eax, dword [esp + 0x3c]
sub eax, esi
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x100559ec
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
lea eax, [esi + ecx]
lea esi, [esp + 0x68]
call fcn.10029100
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x10055a1b
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x10055a3f
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055a07
xor eax, eax
test eax, eax
mov edx, eax
mov dword [esp + 0x18], edx
jne 0x1005583c
add dword [esp + 0x14], 1
add dword [esp + 0x1c], 0xa00
xor edi, edi
jmp 0x100557e0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x10055a1d
mov esi, dword [esp + 0x78]
mov eax, dword [esi]
mov eax, dword [eax]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call eax
mov eax, dword [esp + 0x6c]
cmp eax, edi
je 0x10055a7e
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
je 0x10055a9b
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
je 0x10055ab8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
je 0x10055ad5
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
je 0x10055af2
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x88]
cmp eax, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
je 0x10055b12
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xcc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xca8]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret 0x10