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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xac8
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xab0], edi
mov edi, dword [ecx + 0xc]
mov esi, eax
mov dword [ebp - 0xaa8], eax
mov dword [ebp - 0xaa4], edi
mov edi, dword [ecx + 0x14]
mov dword [ebp - 0xa9c], ebx
mov dword [ebp - 0xaa0], edx
mov dword [esp], eax
call fcn.00723a18
mov dword [esp + 4], esi
lea esi, [ebp - 0x620]
add eax, 1
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00723970
cmp ebx, 0x10003202
je 0x64b568
cmp dword [ebp - 0xa9c], 0x10003201
mov dword [ebp - 0xaac], 0
je 0x64b658
lea eax, [ebp - 0x418]
cmp byte [ebp - 0xaa0], 0
mov dword [ebp - 0xab8], 0
mov dword [ebp - 0xab4], eax
jne 0x64b540
mov dword [esp + 4], 0x3e30
mov eax, dword [ebp - 0xa9c]
mov dword [esp], eax
call fcn.004ee210
mov ebx, eax
test edi, edi
je 0x64b000
mov dword [edi], eax
mov dword [esp + 4], ebx
mov eax, dword [0x905dac]
mov dword [esp], eax
call fcn.004ee250
mov eax, dword [ebp - 0xaac]
mov byte [0x905d20], 1
mov dword [ebx + 0x23c], eax
mov eax, dword [ebp - 0xaa8]
mov dword [esp], eax
call fcn.00723840
mov dword [ebx + 0x230], eax
mov dword [esp], esi
call fcn.00723858
mov edi, dword [ebp - 0xaa4]
mov dword [ebx + 0x244], eax
mov eax, dword [ebp - 0xab0]
add eax, edi
cmp dword [ebp - 0xa9c], 0x10003202
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x10], eax
movzx eax, byte [ebp - 0xaa0]
mov dword [ebp - 0xab0], eax
je 0x64b640
cmp dword [ebp - 0xa9c], 0x10003201
lea esi, [ebp - 0x408]
je 0x64b6b8
cmp byte [ebx + 0xd0], 0
mov byte [ebx + 0x50], 1
mov dword [esp], ebx
jne 0x64b2c0
call fcn.0064d3a0
pxor xmm0, xmm0
xor eax, eax
mov ecx, 0x7c
mov edi, esi
movups xmmword [ebp - 0x418], xmm0
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x200
mov eax, dword [ebp - 0xab4]
mov dword [esp], eax
call dword [0x90b70c]
sub esp, 8
test eax, eax
je 0x64b0ed
movzx eax, byte [ebp - 0x418]
lea edx, [eax - 0x41]
cmp dl, 0x19
jbe 0x64b2f0
mov eax, ebx
call fcn.006438e0
mov eax, dword [ebx + 0x60]
cmp byte [ebp - 0xaa0], 0
mov dword [ebx + 0x64], eax
jne 0x64b350
cmp dword [ebp - 0xa9c], 0x10003202
je 0x64b38a
mov dword [esp], ebx
call fcn.0063bac0
mov eax, dword [ebp - 0xab0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0063a420
cmp byte [0x901f60], 0
mov edx, dword [ebx + 0x26c]
je 0x64b14f
test dl, 3
je 0x64b14f
mov dword [ebx + 0x270], 0xfe
cmp dword [ebx + 0x74], 8
je 0x64b2d0
mov ecx, dword [0x901f64]
mov eax, dword [ebx + 0x78]
test ecx, ecx
je 0x64b180
test eax, eax
jne 0x64b180
cmp ecx, dword [ebx + 0x200]
jg 0x64b600
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
je 0x64b1c4
cmp byte [0x77360d], 0
je 0x64b19a
or dword [ebx + 0x270], 4
mov ecx, dword [0x773608]
test cl, 1
je 0x64b1ac
or dword [ebx + 0x270], 1
test cl, 2
je 0x64b1b8
or dword [ebx + 0x270], 2
and ecx, 4
je 0x64b1c4
or dword [ebx + 0x270], 4
and edx, 0x10
je 0x64b1d3
mov dword [ebx + 0x270], 0xff
mov edx, dword [0x773600]
test edx, edx
je 0x64b1f1
mov ecx, dword [0x900378]
test ecx, ecx
je 0x64b1f1
cmp byte [ecx + 1], 0x3a
je 0x64ba10
test eax, eax
jne 0x64b488
cmp byte [ebx + 0x6c], 0
je 0x64b438
mov dword [esp + 0xc], 0
mov eax, dword [0x905da8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xaa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00644b40
mov dword [esp + 0x10], ebx
mov edx, dword [ebx + 0x20]
mov dword [esp + 8], 0x7100000
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], 1
call fcn.00645680
mov eax, dword [ebp - 0xaac]
test eax, eax
je 0x64b27d
mov dword [esp], eax
call dword [0x90b620]
mov eax, dword [ebp - 0xaa8]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], str.Drive:_closed__s_n
mov dword [esp], 4
call fcn.004fc8f0
cmp byte [ebp - 0xaa0], 0
mov dword [ebx + 0x23c], 0
jne 0x64b4d8
mov dword [esp + 4], 0
mov dword [esp], 0xffffff91
call fcn.00406120
mov eax, 1
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
call fcn.0064d680
jmp 0x64b0a6
test byte [0x901e99], 0x80
jne 0x64b159
mov dword [ebx + 0x270], 0xff
jmp 0x64b159
cmp byte [ebx + 0xd0], 0
je 0x64ba70
cmp al, byte [ebx + 0xd1]
jne 0x64b0ed
cmp byte [ebp - 0xaa0], 0
je 0x64baa2
mov dword [esp], str._boot_
call fcn.007101e8
mov dword [esp], 0x5355
mov dword [esp + 4], eax
call fcn.004fc8f0
or dword [ebx + 0x26c], 1
mov eax, ebx
call fcn.006438e0
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x64], eax
lea esi, [esi]
lea esi, [esi]
mov esi, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [esp], str._lld_sectors
call fcn.007101e8
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp], 0x5355
call fcn.004fc8f0
cmp dword [ebp - 0xa9c], 0x10003202
jne 0x64b5d8
mov esi, dword [ebx + 0x78]
mov eax, 4
test esi, esi
je 0x64b5e8
mov dword [ebx + 0x74], eax
mov dword [esp], ebx
call fcn.0063bac0
cmp byte [ebp - 0xaa0], 0
je 0x64b11f
mov eax, dword [ebx + 0x1c4]
test eax, eax
je 0x64b3d4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7ff5d4
mov dword [esp], 0x5355
call fcn.004fc8f0
mov eax, dword [ebx + 0x1c8]
test eax, eax
je 0x64b11f
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7ff5d4
mov dword [esp], 0x5355
call fcn.004fc8f0
jmp 0x64b11f
xor cl, byte [ebx + 0xd1]
and ecx, 0xdf
jne 0x64b1f1
movzx ecx, byte [ebx + 0x6c]
mov byte [0x905db1], cl
cmp edx, 2
je 0x64ba5b
test cl, cl
jne 0x64ba5b
test eax, eax
jne 0x64b488
lea esi, [esi]
mov dword [esp + 0xc], 0
mov eax, dword [0x905da4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xaa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00644b40
mov dword [esp + 0x10], ebx
mov edx, dword [ebx + 0x20]
mov dword [esp + 8], 0x7200000
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], 2
call fcn.00645680
jmp 0x64b249
mov dword [esp + 0xc], 0
mov eax, dword [0x905d88]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xaa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00644b40
mov dword [esp + 0x10], ebx
mov edx, dword [ebx + 0x20]
mov dword [esp + 8], 0x7300000
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], 4
call fcn.00645680
jmp 0x64b249
mov dword [esp + 4], 0x7ff652
mov dword [esp], 0x5355
call fcn.004fc8f0
jmp 0x64b294
lea eax, [ebp - 0x418]
mov dword [ebp - 0xab4], eax
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0xab8]
mov dword [esp], ebx
call fcn.00643390
mov dword [esp + 4], 0x7ff5d4
mov dword [esp + 8], eax
mov dword [esp], 0x5355
call fcn.004fc8f0
cmp ebx, 1
jbe 0x64b62f
lea esi, [esi]
nop
mov eax, dword [ebp - 0xaa8]
mov dword [esp + 4], 0x7ff5d4
mov dword [esp], 0x5355
mov dword [esp + 8], eax
call fcn.004fc8f0
jmp 0x64afe2
mov dword [esp + 0x18], 0
mov ebx, dword [0x90b630]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov dword [esp], esi
call ebx
mov dword [ebp - 0xaac], eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x64b620
mov eax, dword [ebp - 0xaa8]
mov dword [esp + 4], str.Drive:_opened__s_n
mov dword [esp], 4
mov dword [esp + 8], eax
call fcn.004fc8f0
jmp 0x64afbf
mov dword [esp], ebx
call fcn.0063bac0
jmp 0x64b3b2
movzx edx, byte [ebx + 0x6c]
mov eax, 2
sub eax, edx
jmp 0x64b39a
test byte [0x773604], 1
je 0x64b180
or dword [ebx + 0x270], 4
jmp 0x64b180
call dword [0x90b6dc]
cmp eax, 5
je 0x64bb28
xor eax, eax
jmp 0x64b2ad
mov dword [esp], ebx
lea esi, [ebp - 0x408]
call fcn.00649a70
jmp 0x64b08d
mov eax, dword [ebp - 0xaa4]
lea ebx, [ebp - 0xa48]
mov dword [esp + 4], 0x7ff5ca
mov dword [esp], ebx
add eax, 0x41
mov dword [esp + 8], eax
call dword [0x90d244]
mov dword [esp], ebx
call dword [0x90b6b4]
sub esp, 4
cmp byte [ebp - 0xaa0], 0
mov dword [ebp - 0xab8], eax
jne 0x64b4f8
cmp eax, 1
jbe 0x64b62f
lea eax, [ebp - 0x418]
mov dword [ebp - 0xab4], eax
jmp 0x64afe2
movzx eax, byte [ebp - 0xaa4]
add eax, 0x41
mov byte [ebx + 0xd1], al
movsx eax, al
mov dword [esp + 8], eax
lea eax, [ebp - 0xa68]
mov dword [esp + 4], str._c:_
mov dword [esp], eax
call fcn.00723cb0
lea eax, [ebp - 0xa68]
mov dword [esp], eax
call fcn.00723840
mov dword [ebx + 0xe0], eax
lea eax, [ebp - 0xa48]
mov dword [esp], eax
call fcn.00723858
mov byte [ebx + 0xd0], 1
mov dword [ebx + 0xe4], eax
mov eax, dword [ebp - 0xab8]
mov dword [ebx + 0xe8], eax
cmp eax, 6
ja case.0x64b725.0
jmp dword [eax*4 + 0x7ff654]
mov dword [ebx + 0x74], 1
mov byte [ebx + 0x6c], 1
movsx eax, byte [ebx + 0xd1]
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa78], 0
mov dword [ebp - 0xa74], 0
mov dword [ebp - 0xa70], 0
mov dword [ebp - 0xa6c], 0
mov dword [esp], eax
call fcn.006388e0
test al, al
jne 0x64b794
cmp dword [ebx + 0x74], 8
jne 0x64bb78
lea eax, [ebp - 0xa70]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa78]
mov dword [esp + 8], eax
lea eax, [ebp - 0xa80]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp], eax
call dword [0x90b6ac]
sub esp, 0x10
test eax, eax
je 0x64bba0
mov edx, dword [ebp - 0xa6c]
mov eax, dword [ebp - 0xa70]
mov ecx, 0x200
mov esi, dword [ebp - 0xa78]
mov edi, dword [ebp - 0xa74]
mov dword [ebx + 0xdc], edx
xor edx, edx
cmp dword [ebx + 0xe8], 5
mov dword [ebx + 0xd8], eax
mov eax, 0x200
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], edi
je 0x64bb10
mov dword [ebx + 0x60], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.007121f8
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
mov dword [ebp - 0xa94], 0
lea eax, [ebp - 0xa88]
mov dword [ebp - 0xa90], 0
mov dword [ebp - 0xa8c], 0
mov dword [ebp - 0xa88], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xa8c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa90]
mov dword [esp + 8], eax
lea eax, [ebp - 0xa94]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp], eax
call dword [0x90b6b0]
sub esp, 0x14
test eax, eax
je 0x64b898
mov eax, dword [ebp - 0xa94]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0xab0]
lea esi, [ebp - 0x820]
lea edi, [ebp - 0xa20]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00638af0
xor eax, eax
mov word [ebp - 0xa20], ax
xor eax, eax
mov word [ebp - 0x820], ax
lea eax, [ebx + 0xec]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xa48]
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x100
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [0x90b728]
sub esp, 0x20
test eax, eax
je 0x64b970
cmp word [ebp - 0xa20], 0
jne 0x64bbe8
cmp word [ebp - 0x820], 0
je 0x64b970
mov dword [esp + 8], 0x400
mov dword [esp + 4], esi
mov edi, dword [ebp - 0xab4]
mov dword [esp], edi
call fcn.005065e0
mov dword [esp], eax
call fcn.00723840
mov dword [ebx + 0x124], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.__s_
mov dword [esp], 3
call fcn.004fc8f0
lea esi, [esi]
nop
cmp dword [ebx + 0x74], 8
lea esi, [ebp - 0x408]
jne 0x64b08d
pxor xmm0, xmm0
xor eax, eax
mov ecx, 0x3d
mov edi, esi
movups xmmword [ebp - 0x418], xmm0
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa84], 0x104
movsx eax, byte [ebx + 0xd1]
mov dword [esp + 4], 0x7fc2be
mov dword [esp + 8], eax
lea eax, [ebp - 0xa68]
mov dword [esp], eax
call fcn.00723cb0
lea eax, [ebp - 0xa84]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xab4]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa68]
mov dword [esp], eax
call fcn.00710268
sub esp, 0xc
test eax, eax
jne 0x64b08d
mov eax, dword [ebp - 0xab4]
mov dword [esp], eax
call fcn.00723840
mov dword [ebx + 0x128], eax
jmp 0x64b08d
cmp byte [ebx + 0xd0], 0
movzx ecx, byte [ecx]
jne 0x64b400
mov esi, dword [ebx + 0x1b0]
and ecx, 0xdf
xor edi, edi
sub ecx, 0x41
shrd esi, edi, cl
shr edi, cl
test cl, 0x20
je 0x64ba3d
mov esi, edi
and esi, 1
or esi, 0
je 0x64b1f1
cmp edx, 2
je 0x64ba5b
cmp byte [0x905db1], 0
je 0x64b1f1
or dword [ebx + 0x270], 0xff
jmp 0x64b1f1
movsx esi, al
mov eax, dword [ebx + 0x1b0]
xor edx, edx
lea ecx, [esi - 0x41]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
cmovne eax, edx
and eax, 1
or eax, 0
je 0x64b0ed
cmp byte [ebp - 0xaa0], 0
jne 0x64bc86
or dword [ebx + 0x26c], 1
mov eax, ebx
call fcn.006438e0
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x64], eax
jmp 0x64b107
mov dword [ebx + 0x74], 0x10
jmp case.0x64b725.0
mov eax, 4
mov edx, 1
mov byte [ebx + 0x6c], 1
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], edx
jmp case.0x64b725.0
mov dword [ebx + 0x74], 8
jmp case.0x64b725.0
mov dword [ebx + 0x74], 2
jmp case.0x64b725.0
mov eax, 0x800
xor edx, edx
mov ecx, 0x800
jmp 0x64b80f
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], esi
call ebx
mov dword [ebp - 0xaac], eax
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x64b5b1
jmp 0x64b62f
mov dword [esp + 4], str.drive_not_accessible_n
lea esi, [ebp - 0x408]
mov dword [esp], 3
call fcn.004fc8f0
jmp 0x64b08d
mov esi, dword [0x90b6dc]
call esi
cmp eax, 0x15
je 0x64bc70
cmp eax, 0x3ed
je 0x64bc30
call esi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x230]
mov dword [esp + 4], str.GetDiskFreeSpaceEx__s__error__d_n
mov dword [esp + 8], eax
mov dword [esp], 3
call fcn.004fc8f0
jmp 0x64b82c
mov dword [esp + 8], 0x400
mov dword [esp + 4], edi
mov edi, dword [ebp - 0xab4]
mov dword [esp], edi
call fcn.005065e0
mov dword [esp], eax
call fcn.00723840
mov dword [ebx + 0x120], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str._s
mov dword [esp], 3
call fcn.004fc8f0
jmp 0x64b921
cmp byte [ebp - 0xaa0], 0
je 0x64b82c
mov dword [esp], str.unknown_format
call fcn.007101e8
mov dword [esp + 4], 0x7ff5d4
mov dword [esp + 8], eax
mov dword [esp], 0x5355
call fcn.004fc8f0
jmp 0x64b82c
cmp byte [ebp - 0xaa0], 0
je 0x64b82c
mov dword [esp], str.drive_not_ready
jmp 0x64bc44
mov dword [esp], str.__c:boot_
call fcn.007101e8
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 0x5355
call fcn.004fc8f0
jmp 0x64b332