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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101123b2
mov eax, dword fs:[0]
push eax
sub esp, 0xcb0
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0xca8], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
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 0x10055524
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x10055575
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055510
xor eax, eax
mov esi, dword [eax + 0x18]
test esi, esi
je 0x10055544
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x10055580
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055530
xor eax, eax
mov esi, dword [eax + 0x18]
test esi, esi
je 0x10055564
lea ecx, [ecx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x1005558b
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055550
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
jne 0x10055596
xor eax, eax
jmp 0x10055ed4
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055526
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055546
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055566
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, 0x10121620
call fcn.1007eeb0
test eax, eax
je 0x100555d1
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x100555d3
xor eax, eax
push eax
lea edi, [esp + 0x98]
call fcn.1002f1e0
add esp, 4
lea eax, [esp + 0xa4]
mov ecx, edi
call fcn.1002eee0
test eax, eax
jne 0x1005562e
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0x28]
test esi, esi
je 0x10055614
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x10055623
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055600
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
jne 0x100555b4
jmp 0x10055ed4
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055616
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1005556e
call fcn.1002f710
test eax, eax
mov dword [esp + 0x30], eax
je 0x1005556e
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 0x1005569c
mov esi, dword [eax + 0x28]
test esi, esi
je 0x10055680
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x10055928
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055668
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 0x10055661
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 0x100557b8
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.10028490
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 0x100557a3
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.10028530
add edi, 1
cmp edi, dword [esp + 0x80]
jb 0x10055770
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
jb 0x10055733
xor edi, edi
cmp dword [esp + 0x1c], edi
jbe 0x100557ee
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.10028490
add edi, 1
cmp edi, dword [esp + 0x1c]
jb 0x100557c0
xor edi, edi
cmp dword [esp + 0x14], edi
jbe 0x1005582b
jmp 0x10055800
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.10028490
add edi, 1
cmp edi, dword [esp + 0x14]
jb 0x10055800
xor edi, edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x14], edi
jmp 0x10055840
mov ecx, dword [esp + 0x24]
cmp ecx, edi
je 0x10055b94
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 9
cmp dword [esp + 0x14], eax
jae 0x10055b94
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x10055888
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x10055936
mov esi, dword [esi + 0x28]
cmp esi, edi
jne 0x10055870
xor eax, eax
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x10055b72
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x4c]
add ebx, 0x2c
cmp eax, ebx
je 0x100558c5
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 0x10055944
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x100558a4
xor eax, eax
movsx eax, byte [eax]
sub eax, 0x30
jne 0x10055b41
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x100558f7
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 0x1005594f
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x100558da
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x10055a7c
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 0x10055a62
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x10055902
jmp 0x10055a7c
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x10055682
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x1005588a
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x100558c7
mov eax, dword [eax + 0x18]
add eax, 8
je 0x100558f7
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x1005597b
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 0x100559b6
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x1005595e
xor eax, eax
movsx eax, byte [eax]
sub eax, 0x30
je 0x100558f7
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x10055b41
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 0x100559be
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x10055994
jmp 0x10055b41
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x1005597d
mov eax, dword [eax + 0x18]
add eax, 8
je 0x10055b41
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.1002f1e0
mov esi, dword [esp + 0x28]
add esp, 4
test esi, esi
je 0x10055a11
mov edi, dword [esp + 0x28]
mov eax, edi
sub eax, esi
sar eax, 9
cmp dword [esp + 0x14], eax
jb 0x10055a1f
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.1002eee0
test eax, eax
je 0x10055b41
test esi, esi
je 0x10055a50
sub edi, esi
sar edi, 9
cmp dword [esp + 0x14], edi
jb 0x10055a5a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x24]
lea eax, [esi + ebx]
jmp 0x10055b38
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x44]
push ecx
add edx, 8
push 0x1011f854
push edx
call dword [sym.imp.MSVCR80.dll_sscanf_s]
add esp, 0xc
mov eax, dword [ebx + 0x20]
cmp eax, ebx
je 0x10055aa4
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 0x10055b7e
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x10055a83
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 0x10055acd
mov edx, dword [esp + 0x28]
mov ecx, edx
sub ecx, eax
sar ecx, 9
cmp dword [esp + 0x14], ecx
jb 0x10055adb
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 0x10055b41
test eax, eax
je 0x10055b00
mov ecx, edx
sub ecx, eax
sar ecx, 9
cmp dword [esp + 0x14], ecx
jb 0x10055b0e
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 0x10055b41
mov ecx, dword [eax + esi + 4]
cmp ecx, ebx
jne 0x10055b41
test eax, eax
je 0x10055b2c
sub edx, eax
sar edx, 9
cmp dword [esp + 0x14], edx
jb 0x10055b36
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
add eax, esi
lea esi, [esp + 0x48]
call fcn.10028530
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x10055b64
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x10055b89
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055b50
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
jne 0x10055896
add dword [esp + 0x14], 1
xor edi, edi
jmp 0x10055840
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x10055aa6
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x10055b66
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
lea esp, [esp]
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10055e0a
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 0x10055e0a
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x18]
cmp esi, edi
je 0x10055bec
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x10055c61
mov esi, dword [esi + 0x28]
cmp esi, edi
jne 0x10055bd8
xor eax, eax
cmp eax, edi
mov edx, eax
mov dword [esp + 0x18], edx
je 0x10055deb
mov eax, dword [edx + 0x4c]
add edx, 0x2c
cmp eax, edx
je 0x10055c23
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 0x10055c6c
mov eax, dword [eax + 0x20]
cmp eax, edx
jne 0x10055c06
xor eax, eax
movsx ecx, byte [eax]
sub ecx, 0x30
cmp ecx, 1
jne 0x10055dbc
mov eax, dword [edx + 0x20]
cmp eax, edx
je 0x10055dbc
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 0x10055c74
mov eax, dword [eax + 0x20]
cmp eax, edx
jne 0x10055c3f
jmp 0x10055dbc
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x10055bee
mov eax, dword [eax + 0x18]
add eax, 8
jmp 0x10055c25
mov eax, dword [eax + 0x18]
add eax, 8
je 0x10055dbc
mov eax, dword [edx + 0x20]
cmp eax, edx
mov ebx, 0x20
je 0x10055cb8
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 0x10055d6a
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
add ecx, 0x2c
cmp eax, ecx
jne 0x10055c90
xor esi, esi
cmp dword [esp + 0x38], 0
je 0x10055ce0
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 0x10055ce6
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 0x10055d0d
sub ebx, 4
add esi, 4
add eax, 4
cmp ebx, 4
jae 0x10055cf5
test ebx, ebx
je 0x10055d75
movzx ecx, byte [eax]
movzx edx, byte [esi]
sub ecx, edx
jne 0x10055d5c
sub ebx, 1
add esi, 1
add eax, 1
test ebx, ebx
je 0x10055d75
movzx ecx, byte [eax]
movzx edx, byte [esi]
sub ecx, edx
jne 0x10055d5c
sub ebx, 1
add esi, 1
add eax, 1
test ebx, ebx
je 0x10055d75
movzx ecx, byte [eax]
movzx edx, byte [esi]
sub ecx, edx
jne 0x10055d5c
sub ebx, 1
add esi, 1
add eax, 1
test ebx, ebx
je 0x10055d75
movzx ecx, byte [eax]
movzx eax, byte [esi]
sub ecx, eax
je 0x10055d75
test ecx, ecx
mov eax, 1
jg 0x10055d77
or eax, 0xffffffff
jmp 0x10055d77
mov esi, dword [eax + 0x18]
add esi, 8
jmp 0x10055cba
xor eax, eax
test eax, eax
jne 0x10055dbc
mov esi, dword [esp + 0x38]
test esi, esi
je 0x10055da2
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 0x10055dac
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.10028490
mov edx, dword [esp + 0x18]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x10055ddb
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x10055dff
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x10055dc7
xor eax, eax
test eax, eax
mov edx, eax
mov dword [esp + 0x18], edx
jne 0x10055bfc
add dword [esp + 0x14], 1
add dword [esp + 0x1c], 0xa00
xor edi, edi
jmp 0x10055ba0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x10055ddd
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 0x10055e3e
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 0x10055e5b
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 0x10055e78
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 0x10055e95
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 0x10055eb2
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 0x10055ed2
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.1010dc50
mov esp, ebp
pop ebp
ret 0x10