Function at 0x437ad0
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x754
mov eax, dword [0x4c437c]
xor eax, esp
mov dword [esp + 0x750], eax
push ebx
push ebp
mov ebp, dword [esp + 0x760]
push esi
push edi
xor ebx, ebx
push 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
call fcn.0046a159
add esp, 4
cmp eax, ebx
je 0x437b0b
mov dword [eax], ebp
jmp 0x437b0d
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
xor edi, edi
or dword [esp + 0x14], 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], 0x4a5f3c
mov dword [esp + 0x24], 0x4a5f34
mov dword [esp + 0x70], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x20], ebx
call fcn.00431180
lea eax, [esp + 0x28]
push 0x20
lea ecx, [esp + 0x74]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
call fcn.00431ed0
mov byte [esp + 0xa0], al
cmp dword [esp + 0x98], ebx
jne 0x437b8b
mov eax, dword [esp + 0x78]
or eax, 4
push ebx
push eax
lea ecx, [esp + 0x78]
call fcn.00431030
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ebx
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x28]
mov dword [esp + eax + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.0042b820
mov ecx, dword [esp + 0x10]
push edi
push str.Partition
push ecx
lea edx, [esp + 0x30]
push str.DeviceHarddisk
push edx
mov dword [esp + 0x3c], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.00434a20
add esp, 8
mov ecx, eax
call fcn.004350c0
push eax
call fcn.00434a20
add esp, 8
mov ecx, eax
call fcn.004350c0
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x2c]
call fcn.00430640
cmp dword [esp + 0x100], 0x10
mov esi, dword [esp + 0xec]
jae 0x437c32
lea esi, [esp + 0xec]
cmp byte [esp + 0x778], bl
je 0x437c46
cmp edi, ebx
je 0x437c46
mov eax, 1
jmp 0x437c48
xor eax, eax
push eax
lea ecx, [esp + 0x3c0]
push ecx
push esi
call fcn.00424f80
add esp, 0xc
test eax, eax
jne 0x437d37
cmp edi, ebx
je 0x438310
cmp dword [esp + 0x100], 0x10
jb 0x437c84
mov edx, dword [esp + 0xec]
push edx
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0x68], 1
mov dword [esp + 0x28], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x437cca
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
push eax
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [eax], ebx
mov ecx, dword [esp + 0x48]
mov dword [ecx], ebx
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x4c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x5c]
mov dword [edx], ebx
and dword [esp + 0x68], 0xfffffffe
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], ebx
call fcn.0042a770
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x70]
mov dword [esp + edx + 0x1c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push eax
jmp 0x4382f1
lea ecx, [esp + 0x104]
call fcn.004339d0
mov ecx, dword [esp + 0x10]
mov eax, esi
mov dword [esp + 0x16c], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x437d53
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x14c]
call fcn.004110d0
lea edx, [esp + 0xb0]
push edx
push esi
call fcn.004261d0
add esp, 8
test eax, eax
je 0x437dac
cmp byte [esp + 0xc9], bl
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
setne al
mov byte [esp + 0x104], al
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], edx
cmp byte [esp + 0x778], bl
je 0x437dc6
mov byte [esp + 0x10a], 1
cmp dword [esp + 0x5d0], ebx
jne 0x437dcd
mov byte [esp + 0x10a], bl
cmp byte [esp + 0x76c], bl
jne 0x438144
or dword [esp + 0x14], 0x10
lea ecx, [esp + 0x630]
mov dword [esp + 0x5dc], 0x4a5f4c
mov dword [esp + 0x5e4], 0x4a5f44
mov dword [esp + 0x630], 0x4a50b0
mov dword [esp + 0x5e0], ebx
call fcn.00431180
lea eax, [esp + 0x5e8]
push 0x20
lea ecx, [esp + 0x634]
mov dword [esp + 0x65c], eax
mov dword [esp + 0x660], ebx
call fcn.00431f70
mov word [esp + 0x660], ax
cmp dword [esp + 0x658], ebx
jne 0x437e5f
mov eax, dword [esp + 0x638]
or eax, 4
push ebx
push eax
lea ecx, [esp + 0x638]
call fcn.00431030
mov ecx, dword [esp + 0x5e4]
mov dword [esp + 0x634], ebx
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x5e4], 0x4a50a0
mov eax, dword [esp + 0x5dc]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x5dc], 0x4a50c0
mov edx, dword [esp + 0x5dc]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x5e8]
mov dword [esp + eax + 0x5dc], 0x4a5830
call fcn.0042b8a0
cmp dword [esp + 0x100], 0x10
mov eax, dword [esp + 0xec]
mov dword [esp + 0x5e8], 0x4a5330
mov dword [esp + 0x624], ebx
mov dword [esp + 0x628], ebx
jae 0x437ee2
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x5e8]
push ecx
call fcn.00434c40
add esp, 8
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x5ec]
call fcn.00430780
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x437f1f
lea eax, [esp + 0xb4]
push eax
call fcn.00426390
add esp, 4
cmp dword [esp + 0xc8], 8
mov dword [esp + 0xa4], eax
jb 0x437f49
mov eax, dword [esp + 0xb4]
push eax
call fcn.00469bc3
add esp, 4
cmp dword [esp + 0xa4], ebx
jl 0x438032
mov cl, byte [esp + 0xa4]
add cl, 0x41
movzx edx, cl
push edx
push 1
lea ecx, [esp + 0x114]
call fcn.0042f9c0
push 1
push 0x4b8924
lea ecx, [esp + 0x114]
call fcn.0042fbc0
mov eax, dword [esp + 0xa4]
push ebx
push ebx
mov ecx, 0x3a
mov word [esp + 0x5de], cx
lea ecx, [esp + 0xb4]
push ecx
push ebx
add eax, 0x41
push ebx
mov word [esp + 0x5e8], ax
mov edx, 0x5c
xor eax, eax
mov word [esp + 0x5ec], dx
push 0x40
lea edx, [esp + 0x6f8]
mov word [esp + 0x5f2], ax
push edx
lea eax, [esp + 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x438014
lea eax, [esp + 0x6e0]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437ff0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x6e4]
push ecx
lea ecx, [esp + 0x130]
call fcn.00417c60
call fcn.00426f70
movsx edx, al
mov eax, dword [esp + 0xa4]
add eax, 0x41
cmp edx, eax
jne 0x438032
mov byte [esp + 0x105], 1
cmp edi, ebx
jne 0x43805d
lea ecx, [esp + 0xd0]
push ecx
push esi
call fcn.004262c0
add esp, 8
test eax, eax
je 0x43805d
cmp dword [esp + 0xd8], 0xb
sete dl
mov byte [esp + 0x160], dl
mov eax, dword [esp + 0x5dc]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x5dc], 0x4a5830
test byte [esp + 0x628], 1
mov dword [esp + 0x5e8], 0x4a5330
je 0x438099
mov edx, dword [esp + 0x5f8]
mov eax, dword [edx]
push eax
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x5f8]
mov dword [eax], ebx
mov ecx, dword [esp + 0x608]
mov dword [ecx], ebx
mov edx, dword [esp + 0x618]
mov dword [edx], ebx
mov eax, dword [esp + 0x5fc]
mov dword [eax], ebx
mov ecx, dword [esp + 0x60c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x61c]
mov dword [edx], ebx
and dword [esp + 0x628], 0xfffffffe
lea ecx, [esp + 0x5e8]
mov dword [esp + 0x624], ebx
call fcn.0042a980
mov eax, dword [esp + 0x5dc]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x5dc], 0x4a50c0
mov edx, dword [esp + 0x5e4]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x5e4], 0x4a50a0
mov ecx, dword [esp + 0x5dc]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x630]
mov dword [esp + edx + 0x5dc], 0x4a50b0
push eax
mov dword [esp + 0x634], 0x4a4670
call fcn.0049c6ce
add esp, 4
cmp edi, ebx
jne 0x43817c
lea ecx, [esp + 0x104]
push ecx
mov ecx, ebp
call fcn.00437a20
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
mov dword [esp + 0xa8], ecx
jmp 0x43821d
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xa8], eax
jb 0x4381a1
call fcn.0046ab95
mov esi, dword [esp + 0xa8]
imul esi, esi, 0x88
add esi, dword [ebp + 0xc]
cmp edi, 1
jne 0x4381d2
mov ecx, dword [esi + 0x60]
cmp ecx, dword [esp + 0x164]
jne 0x4381d2
mov edx, dword [esi + 0x64]
cmp edx, dword [esp + 0x168]
je 0x4383dd
mov byte [esp + 0x108], 1
mov dword [esp + 0x16c], edi
mov al, byte [esi + 0x5c]
mov byte [esp + 0x160], al
cmp byte [esp + 0x105], bl
je 0x4381f8
mov byte [esi + 1], 1
cmp byte [esp + 0x770], bl
je 0x43820d
lea ecx, [esp + 0x104]
push ecx
mov ecx, ebp
jmp 0x438218
lea edx, [esp + 0x104]
push edx
lea ecx, [esi + 0x6c]
call fcn.00437a20
lea ecx, [esp + 0x104]
call fcn.00421270
cmp dword [esp + 0x100], 0x10
jb 0x438243
mov eax, dword [esp + 0xec]
push eax
call fcn.00469bc3
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0x68], 1
mov dword [esp + 0x28], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x438289
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
push eax
call fcn.00469bc3
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [ecx], ebx
mov edx, dword [esp + 0x48]
mov dword [edx], ebx
mov eax, dword [esp + 0x58]
mov dword [eax], ebx
mov ecx, dword [esp + 0x3c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x4c]
mov dword [edx], ebx
mov eax, dword [esp + 0x5c]
mov dword [eax], ebx
and dword [esp + 0x68], 0xfffffffe
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], ebx
call fcn.0042a770
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x70]
mov dword [esp + eax + 0x1c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push ecx
mov dword [esp + 0x74], vtable.std::ios_base.0
call fcn.0049c6ce
inc edi
add esp, 4
cmp edi, 0x20
jl 0x437b22
jmp 0x4384ce
cmp dword [esp + 0x100], 0x10
jb 0x43832a
mov edx, dword [esp + 0xec]
push edx
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0x68], 1
mov dword [esp + 0x28], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x438370
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
push eax
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [eax], ebx
mov ecx, dword [esp + 0x48]
mov dword [ecx], ebx
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x4c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x5c]
mov dword [edx], ebx
and dword [esp + 0x68], 0xfffffffe
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], ebx
call fcn.0042a770
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x70]
mov dword [esp + edx + 0x1c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push eax
jmp 0x4384be
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esi + 8]
mov byte [esi + 5], 1
call fcn.00410ea0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x130]
push edx
lea ecx, [esi + 0x24]
call fcn.00417cf0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x14c]
push eax
lea ecx, [esi + 0x40]
call fcn.00410ea0
mov cl, byte [esp + 0x10a]
mov byte [esi + 6], cl
lea ecx, [esp + 0x104]
call fcn.00421270
cmp dword [esp + 0x100], 0x10
jb 0x43844a
mov edx, dword [esp + 0xec]
push edx
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.00428320
lea ecx, [esp + 0x28]
call fcn.0042a770
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x70]
mov dword [esp + ecx + 0x1c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push edx
mov dword [esp + 0x74], vtable.std::ios_base.0
call fcn.0049c6ce
add esp, 4
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x40
mov dword [esp + 0x10], eax
jl 0x437b20
cmp dword [0x4e9ec4], 6
jl 0x438a9e
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
xor edi, edi
jmp 0x438500
or dword [esp + 0x14], 0x100
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], 0x4a5f3c
mov dword [esp + 0x24], 0x4a5f34
mov dword [esp + 0x70], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x20], ebx
call fcn.00431180
lea eax, [esp + 0x28]
push 0x20
lea ecx, [esp + 0x74]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
call fcn.00431ed0
mov byte [esp + 0xa0], al
cmp dword [esp + 0x98], ebx
jne 0x43856c
mov eax, dword [esp + 0x78]
or eax, 4
push ebx
push eax
lea ecx, [esp + 0x78]
call fcn.00431030
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], ebx
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x28]
mov dword [esp + eax + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.0042b820
push edi
lea ecx, [esp + 0x28]
push str.DeviceHarddiskVolume
push ecx
mov dword [esp + 0x34], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.00434a20
add esp, 8
mov ecx, eax
call fcn.004350c0
lea edx, [esp + 0xe8]
push edx
lea ecx, [esp + 0x2c]
call fcn.00430640
cmp dword [esp + 0x100], 0x10
mov esi, dword [esp + 0xec]
jae 0x4385f9
lea esi, [esp + 0xec]
movzx eax, byte [esp + 0x778]
push eax
lea eax, [esp + 0x3c0]
push eax
push esi
call fcn.00424f80
add esp, 0xc
test eax, eax
jne 0x4386e8
cmp dword [esp + 0x100], 0x10
jb 0x438635
mov ecx, dword [esp + 0xec]
push ecx
call fcn.00469bc3
add esp, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0x68], 1
mov dword [esp + 0x28], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x43867b
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
push eax
call fcn.00469bc3
add esp, 4
mov edx, dword [esp + 0x38]
mov dword [edx], ebx
mov eax, dword [esp + 0x48]
mov dword [eax], ebx
mov ecx, dword [esp + 0x58]
mov dword [ecx], ebx
mov edx, dword [esp + 0x3c]
mov dword [edx], ebx
mov eax, dword [esp + 0x4c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x5c]
mov dword [ecx], ebx
and dword [esp + 0x68], 0xfffffffe
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], ebx
call fcn.0042a770
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x70]
mov dword [esp + ecx + 0x1c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push edx
jmp 0x438a81
push 0x230
lea eax, [esp + 0x190]
push ebx
push eax
call fcn.00469be0
push esi
lea ecx, [esp + 0x19c]
push 0x4a4e98
push ecx
call ebp
add esp, 0x18
push ebx
lea edx, [esp + 0xb0]
push edx
mov edx, dword [0x4c2cd0]
push 0x230
lea eax, [esp + 0x198]
push eax
push 0x230
mov ecx, eax
push ecx
push 0x222038
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4389b9
cmp dword [esp + 0x3b8], ebx
je 0x4389b9
lea ecx, [esp + 0x5dc]
call fcn.004339d0
mov eax, esi
mov byte [esp + 0x5de], 1
mov byte [esp + 0x5e0], 1
mov dword [esp + 0x644], edi
lea edx, [eax + 1]
jmp 0x438780
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x438780
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x624]
call fcn.004110d0
mov eax, dword [esp + 0x39c]
mov ecx, dword [esp + 0x3a0]
mov dword [esp + 0x63c], eax
mov dword [esp + 0x640], ecx
cmp byte [esp + 0x778], bl
je 0x4387cd
mov byte [esp + 0x5e2], 1
cmp dword [esp + 0x5d0], ebx
jne 0x4387d4
mov byte [esp + 0x5e2], bl
cmp byte [esp + 0x76c], bl
jne 0x43899c
or dword [esp + 0x14], 0x1000
push ebx
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x10c], 0x4a5f4c
mov dword [esp + 0x114], 0x4a5f44
mov dword [esp + method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00434920
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea ecx, [esp + 0x110]
call fcn.0042b8a0
cmp dword [esp + 0x100], 0x10
mov eax, dword [esp + 0xec]
mov dword [esp + method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
jae 0x438871
lea eax, [esp + 0xec]
push eax
lea edx, [esp + 0x110]
push edx
call fcn.00434c40
add esp, 8
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x114]
call fcn.00430780
mov eax, dword [esp + 0xb4]
mov esi, 8
cmp dword [esp + 0xc8], esi
jae 0x4388b2
lea eax, [esp + 0xb4]
push eax
call fcn.00426390
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0xc8], esi
jb 0x4388d8
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00469bc3
add esp, 4
cmp dword [esp + 0x10], ebx
jl 0x438975
mov dl, byte [esp + 0x10]
add dl, 0x41
movzx eax, dl
push eax
push 1
lea ecx, [esp + 0x5ec]
call fcn.0042f9c0
push 1
push 0x4b8924
lea ecx, [esp + 0x5ec]
call fcn.0042fbc0
mov edx, dword [esp + 0x10]
push 0x80
lea ecx, [esp + 0x6e4]
push ecx
push edx
call fcn.00425040
add esp, 0xc
test eax, eax
je 0x43895a
lea eax, [esp + 0x6e0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x438936
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x6e4]
push eax
lea ecx, [esp + 0x608]
call fcn.00417c60
call fcn.00426f70
mov edx, dword [esp + 0x10]
movsx ecx, al
add edx, 0x41
cmp ecx, edx
jne 0x438975
mov byte [esp + 0x5dd], 1
lea ecx, [esp + 0x158]
call fcn.0042d700
lea eax, [esp + 0x158]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049c6ce
add esp, 4
lea ecx, [esp + 0x5dc]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00437a20
lea ecx, [esp + 0x5dc]
call fcn.00421270
cmp dword [esp + 0x100], 0x10
jb 0x4389d3
mov edx, dword [esp + 0xec]
push edx
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test byte [esp + 0x68], 1
mov dword [esp + 0x28], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x438a19
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
push eax
call fcn.00469bc3
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [eax], ebx
mov ecx, dword [esp + 0x48]
mov dword [ecx], ebx
mov edx, dword [esp + 0x58]
mov dword [edx], ebx
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov ecx, dword [esp + 0x4c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x5c]
mov dword [edx], ebx
and dword [esp + 0x68], 0xfffffffe
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], ebx
call fcn.0042a770
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x1c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x24], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x70]
mov dword [esp + edx + 0x1c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push eax
mov dword [esp + 0x74], vtable.std::ios_base.0
call fcn.0049c6ce
inc edi
add esp, 4
cmp edi, 0x100
jl 0x438500
cmp byte [esp + 0x774], bl
jne 0x438b8b
lea ecx, [esp + 0x104]
call fcn.004339d0
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0x104
lea ecx, [esp + 0x5e0]
push ecx
push 0x4a6358
mov byte [esp + 0x113], 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x438b25
push 0x4a6354
call edi
cmp eax, 2
jne 0x438b25
push eax
push 0x4a6358
lea ecx, [esp + 0x114]
call fcn.004110d0
push 0xf
push str.DeviceFloppy0
lea ecx, [esp + 0x14c]
call fcn.004110d0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x104]
push edx
call fcn.00437a20
push 0x104
lea eax, [esp + 0x5e0]
push eax
push 0x4a6340
call esi
test eax, eax
je 0x438b7f
push 0x4a633c
call edi
cmp eax, 2
jne 0x438b7f
push eax
push 0x4a6340
lea ecx, [esp + 0x114]
call fcn.004110d0
push 0xf
push str.DeviceFloppy1
lea ecx, [esp + 0x14c]
call fcn.004110d0
lea ecx, [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00437a20
lea ecx, [esp + 0x104]
call fcn.00421270
mov ecx, dword [esp + 0x760]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046a1be
add esp, 0x754
ret