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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x614
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x610], eax
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 4], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], edi
call edx
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
mov ecx, edi
call edx
test eax, eax
jne 0x435f35
xor esi, esi
test byte [0x504e34], 1
jne 0x4358a6
or dword [0x504e34], 1
push 0x4732f0
mov dword [0x50352c], 0x4e78cc
mov dword [0x503538], esi
mov dword [0x50353c], esi
mov dword [0x503540], esi
call fcn.0046d920
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [0x50352c]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edx]
push ecx
mov ecx, 0x50352c
mov dword [esp + 0x44], esi
call eax
test eax, eax
jne 0x4358f3
call fcn.004205a0
mov esi, dword [eax]
push 0x4e
mov dword [esp + 0x18], eax
add esi, 8
call fcn.00435510
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
add esp, 4
push eax
push str._s:_Failed_to_open_dynamic_disk.
push ecx
call edx
add esp, 0xc
xor esi, esi
cmp dword [esp + 0x3c], esi
je 0x435a3f
mov eax, dword [0x50352c]
mov edx, dword [eax + 4]
mov ecx, 0x50352c
call edx
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
jbe 0x4359c2
mov eax, dword [0x50352c]
mov edx, dword [eax + 8]
push esi
mov ecx, 0x50352c
call edx
mov ecx, dword [ebx + 4]
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x54]
call edx
test eax, eax
je 0x435953
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
mov ecx, dword [edi]
cmp ecx, eax
jne 0x435953
mov eax, dword [edi + 4]
cmp eax, edx
je 0x4359ad
push 0x5dc
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x435988
push 0x5cf
push eax
lea ecx, [esi + 0xc]
push ecx
mov dword [esi], vtable.CPart.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x43598a
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 8]
push edi
push ebx
mov ecx, esi
mov dword [esp + 0x20], esi
call eax
lea esi, [ebx + 8]
lea ebx, [esp + 0x18]
call fcn.0043a0a0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
add esi, 1
cmp esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
jb 0x43591c
mov edi, dword [esp + 0x40]
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
test eax, eax
jne 0x4359d9
cmp dword [esp + 0x10], eax
jne 0x435f2c
test byte [0x503544], 1
jne 0x435a0a
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov esi, dword [0x503520]
push 0x66
add esi, 8
call fcn.00435510
mov ecx, dword [esi]
add esp, 4
push eax
push str._s:_There_is_a_invalid_or_unreadable_dynamic_disk.
push 0x503520
call ecx
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push ebx
call fcn.00439830
jmp 0x435f2c
mov eax, dword [edi]
mov edx, dword [eax + 0x54]
mov ecx, edi
call edx
test eax, eax
jne 0x435f2c
call fcn.00420570
mov ecx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], esi
call edx
test eax, eax
jne 0x435aaa
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0x6f
add esi, 8
call fcn.00435510
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_OpenQueryTable_in_InitPartManager.
push edi
call eax
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.0046d6fd
mov esp, ebp
pop ebp
ret 4
call fcn.00420540
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x1c]
call eax
mov dword [esp + 0x24], edx
mov edx, dword [esi]
mov edx, dword [edx + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x435d19
lea eax, [ebx + 8]
mov dword [esp + 0x28], eax
push 0x5dc
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x435b1b
push 0x5cf
push eax
lea ecx, [esi + 0xc]
push ecx
mov dword [esi], vtable.CPart.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [esp + 0x10], esi
xor eax, eax
jmp 0x435b1f
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
push 0x5cf
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x4c], edx
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov esi, dword [edi]
xor edx, edx
add esp, 0xc
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x48], eax
push edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x10], 0x2a
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
add esi, 0x2c
call eax
mov edx, dword [esi]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call edx
movzx eax, word [esp + 0xc]
push eax
lea ecx, [esp + 0x27d]
push str._c:_
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
mov ecx, dword [esp + 0x40]
mov al, byte [esp + 0x3c]
mov esi, dword [edi]
add esp, 0xc
cmp byte [esp + 0x2c], 0x80
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x48]
sbb edx, edx
add edx, 1
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x60f], ecx
mov ecx, dword [ebx + 4]
push edx
mov dword [esp + 0x60f], 1
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
add esi, 0x4c
call eax
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x68], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
mov ecx, edi
call edx
mov edx, dword [esp + 0x4c]
mov esi, dword [edi]
xor ecx, ecx
cmp word [esp + 0xc], ax
mov eax, dword [esp + 0x48]
sete cl
push edx
push eax
add esi, 0x50
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
push eax
mov ecx, edi
mov edx, dword [esi]
call edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov esi, dword [edi]
movzx eax, al
mov dword [esp + 0x581], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 4]
push edx
mov dword [esp + 0x60], 0
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
add esi, 0x20
call eax
mov edx, dword [esi]
push eax
push 0x104
lea ecx, [esp + 0x81]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x48]
mov esi, dword [edi]
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x20]
add esi, 0x30
call edx
mov edx, dword [esi]
push eax
push 0x80
lea eax, [esp + 0x491]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
add ecx, edx
adc eax, esi
cmp eax, dword [esp + 0x24]
jl 0x435cc6
jg 0x435cb2
cmp ecx, dword [esp + 0x20]
jbe 0x435cc6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub eax, edx
sbb ecx, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov esi, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push ecx
push edx
push ebx
mov ecx, esi
call eax
mov esi, dword [esp + 0x28]
lea ebx, [esp + 0x40]
call fcn.0043a0a0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x2c]
push eax
call edx
test eax, eax
mov ebx, dword [esp + 0x1c]
jne 0x435ae0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call eax
test eax, eax
je 0x435f1b
lea esp, [esp]
push 0x5dc
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x435d7b
push 0x5cf
push eax
lea ecx, [esi + 0xc]
push ecx
mov dword [esi], vtable.CPart.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [esp + 0xc], esi
xor eax, eax
jmp 0x435d7f
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
push 0x5cf
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x34], edx
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
mov esi, dword [edi]
xor edx, edx
add esp, 0xc
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x48], eax
push edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x14], 0x2a
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
add esi, 0x2c
call eax
mov edx, dword [esi]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call edx
movzx eax, word [esp + 0x10]
push eax
lea ecx, [esp + 0x27d]
push str._c:_
push ecx
call dword [sym.imp.MSVCR80.dll__swprintf]
mov dl, byte [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebx + 4]
xor esi, esi
mov dword [esp + 0x61b], eax
mov dword [esp + 0x617], esi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x78], dl
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
add esp, 0xc
call eax
cmp dword [esp + 0x60f], eax
jbe 0x435e39
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov dword [esp + 0x60f], eax
mov edx, dword [edi]
mov eax, dword [edx + 0x44]
mov ecx, edi
mov dword [esp + 0x68], esi
call eax
mov edx, dword [esp + 0x4c]
mov esi, dword [edi]
xor ecx, ecx
cmp word [esp + 0x10], ax
mov eax, dword [esp + 0x48]
sete cl
push edx
push eax
add esi, 0x50
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
movzx eax, al
mov dword [esp + 0x581], eax
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x58], eax
add eax, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
adc ecx, esi
cmp ecx, eax
jl 0x435ec0
jg 0x435eb0
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x20]
jbe 0x435ec0
mov ecx, dword [esp + 0x20]
sub ecx, edx
sbb eax, esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push ecx
push edx
push ebx
mov ecx, esi
call eax
test eax, eax
je 0x435f51
lea esi, [ebx + 8]
lea ebx, [esp + 0x28]
call fcn.0043a0a0
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call edx
test eax, eax
mov ebx, dword [esp + 0x1c]
jne 0x435d40
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
mov ecx, ebx
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.0046d6fd
mov esp, ebp
pop ebp
ret 4
call fcn.004205a0
mov edi, eax
mov esi, dword [edi]
push 0xc3
add esi, 8
call fcn.00435510
add esp, 4
push eax
mov eax, dword [esi]
push str._s:_Failed_to_InitPart_in_InitPartManager.
push edi
call eax
mov ecx, dword [esp + 0x628]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0046d6fd
mov esp, ebp
pop ebp
ret 4