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

Disassembly:
mov eax, 0x1400
call fcn.0047e4b0
push ebx
push ebp
mov ebp, dword [esp + 0x140c]
push esi
push edi
push ebp
call fcn.00406ce0
mov eax, dword [ebp + 0x19c]
add esp, 4
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 0x6d0], 0xffffffff
jne 0x4070ce
mov dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x2f0]
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x188]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, dword [ebp + 0x1c0]
lea edx, [esp + 0x20]
push edx
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x4f295c]
push ecx
call fcn.00433cf0
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
add esp, 0x18
test eax, eax
mov dword [esp + 0x20], eax
jne 0x40856b
mov eax, dword [ebp + 0x6e4]
lea ecx, [esp + 0xc10]
neg eax
sbb eax, eax
push 0
lea edx, [esp + 0x6c]
push 0
and eax, ecx
push edx
push eax
lea edx, [esp + 0x1e0]
lea eax, [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x328]
push 0
lea edx, [esp + 0x3ac]
push ecx
lea eax, [esp + 0x9c]
push edx
lea ecx, [esp + 0x9c]
push eax
push ecx
mov ecx, dword [ebp + 0x1c0]
lea edx, [esp + 0x50]
lea eax, [esp + 0x44]
push edx
push eax
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [eax + eax*2]
mov edx, dword [ecx*4 + 0x4f295c]
push edx
call fcn.00436fc0
add esp, 0x38
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40856b
mov ecx, dword [ebp + 0x1c0]
mov edx, dword [ebp + 0x1a0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0x4f29d8]
push ecx
push 0x417
push edx
call ebx
mov eax, dword [esp + 0x2c]
neg eax
sbb eax, eax
add eax, 5
push eax
call fcn.0046b4e0
mov ecx, dword [ebp + 0x1a0]
add esp, 4
push eax
push 0x41a
push ecx
call ebx
mov eax, dword [esp + 0x78]
cmp eax, 0xffffffff
je 0x40722a
push eax
call fcn.0046b970
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x407237
mov ecx, dword [0x49f584]
mov dword [esp + 0x84], ecx
mov eax, dword [ebp + 0x1a0]
lea edx, [esp + 0x84]
push edx
push 0x427
push eax
call ebx
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0046b970
mov edx, dword [ebp + 0x1a0]
add esp, 4
push eax
push 0x41b
push edx
call ebx
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
je 0x4072a6
push eax
call fcn.0046b970
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4072b3
mov ecx, dword [0x49f584]
mov dword [esp + 0x84], ecx
mov eax, dword [ebp + 0x1a0]
lea edx, [esp + 0x84]
push edx
push 0x42a
push eax
call ebx
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
lea edi, [eax*4 + 0x4f2a95]
mov al, byte [eax*4 + 0x4f2a95]
test al, al
je 0x407312
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40731f
mov ecx, dword [0x49f584]
mov dword [esp + 0x84], ecx
mov eax, dword [ebp + 0x1a0]
lea edx, [esp + 0x84]
push edx
push 0x42c
push eax
call ebx
mov ecx, dword [esp + 0x390]
test ecx, ecx
je 0x40739f
mov byte [esp + 0x84], 0
lea esi, [esp + 0x390]
mov eax, ecx
mov edi, 0xa
cdq
idiv edi
mov eax, 0x66666667
lea edi, [esp + 0x84]
push edx
imul ecx
sar edx, 2
mov ecx, edx
xor eax, eax
shr ecx, 0x1f
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push 0x49f57c
lea edx, [esp + ecx + 0x90]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esi, 4
add esp, 0x10
test ecx, ecx
jne 0x40734f
jmp 0x4073ab
mov eax, dword [0x49f584]
mov dword [esp + 0x84], eax
mov edx, dword [ebp + 0x1a0]
lea ecx, [esp + 0x84]
push ecx
push 0x41d
push edx
call ebx
mov ecx, dword [esp + 0x310]
test ecx, ecx
je 0x40742b
mov byte [esp + 0x84], 0
lea esi, [esp + 0x310]
mov eax, ecx
mov edi, 0xa
cdq
idiv edi
mov eax, 0x66666667
lea edi, [esp + 0x84]
push edx
imul ecx
sar edx, 2
mov eax, edx
or ecx, 0xffffffff
shr eax, 0x1f
add edx, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push 0x49f57c
lea ecx, [esp + ecx + 0x90]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esi, 4
add esp, 0x10
test ecx, ecx
jne 0x4073db
jmp 0x407438
mov edx, dword [0x49f584]
mov dword [esp + 0x84], edx
mov ecx, dword [ebp + 0x1a0]
lea eax, [esp + 0x84]
push eax
push 0x42d
push ecx
call ebx
test dword [esp + 0x10], 0x3fc0
mov eax, dword [esp + 0x18]
je 0x40746d
cmp eax, 1
mov edi, str.Borders
jg 0x40747c
mov edi, str.Border
jmp 0x40747c
cmp eax, 1
mov edi, str.Sessions
jg 0x40747c
mov edi, str.Session
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x84]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49f554
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x84]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1a0]
push 0x41f
push ecx
call ebx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x84]
push edx
push 0x49f190
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebp + 0x1a0]
add esp, 0xc
lea ecx, [esp + 0x84]
push ecx
push 0x41e
push edx
call ebx
cmp dword [esp + 0x10], 0x40
jne 0x40754d
mov edi, dword [esp + 0x6c]
xor eax, eax
cmp edi, 1
setne al
add eax, 4
push eax
call fcn.0046b4e0
push eax
lea ecx, [esp + 0x8c]
push 0x49f550
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40755a
mov edx, dword [0x49f584]
mov dword [esp + 0x84], edx
mov ecx, dword [ebp + 0x1a0]
lea eax, [esp + 0x84]
push eax
push 0x426
push ecx
call ebx
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
or ecx, 0xffffffff
lea edx, [eax + eax*2]
xor eax, eax
lea edi, [edx*4 + 0x4f28d8]
lea edx, [esp + 0x1f0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1f0]
push ecx
call fcn.00472270
add esp, 4
lea edx, [esp + 0x188]
lea eax, [esp + 0x18c]
lea ecx, [esp + 0x70]
push 0
push 0
push edx
push eax
push ecx
lea edx, [esp + 0x98]
push pe_nt_image_headers32
lea eax, [esp + 0x208]
push edx
push eax
mov byte [esp + 0xa4], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x40764f
mov edx, dword [ebp + 0x1a0]
lea ecx, [esp + 0x84]
push ecx
push 0x4a6
push edx
call ebx
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x1f0]
mov ecx, eax
and ecx, 0xffff
shr eax, 0x10
push ecx
push eax
push str._04X__04X
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp + 0x1a0]
add esp, 0x10
lea eax, [esp + 0x1f0]
push eax
push 0x42b
push ecx
jmp 0x407673
mov edx, dword [ebp + 0x1a0]
push 0x49f584
push 0x4a6
push edx
call ebx
mov eax, dword [ebp + 0x1a0]
push 0x49f584
push 0x42b
push eax
call ebx
cmp dword [esp + 0x10], 2
jne 0x4076b4
cmp dword [esp + 0x2c], 1
jne 0x4076b4
mov eax, dword [esp + 0x68]
xor edx, edx
mov ecx, eax
mov dl, ah
and ecx, 0xff
xor eax, eax
mov al, byte [esp + 0x6a]
push ecx
push edx
push eax
lea ecx, [esp + 0x90]
push str._02d:_02d:_02d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x4076c1
mov edx, dword [0x49f584]
mov dword [esp + 0x84], edx
mov ecx, dword [ebp + 0x1a0]
lea eax, [esp + 0x84]
push eax
push 0x423
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
push ebp
call fcn.0045dd90
mov eax, dword [esp + 0x18]
mov edi, 0x3fc0
add esp, 8
mov dword [esp + 0x190], 4
test edi, eax
mov dword [esp + 0x19c], str.Zone
jne 0x407713
mov dword [esp + 0x19c], str.Track
mov ecx, dword [ebp + 0x19c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x190]
push eax
push 0
push 0x101a
push ecx
call esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x19c], str.Border
test edi, eax
jne 0x40774f
mov dword [esp + 0x19c], str.Session
mov eax, dword [ebp + 0x19c]
lea edx, [esp + 0x190]
push edx
push 1
push 0x101a
push eax
call esi
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
jle 0x4082fa
lea ecx, [esp + 0x14]
lea edx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x38]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x4f295c]
push eax
call fcn.00438a70
add esp, 0x14
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40856b
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], ebx
lea edx, [ebx + ecx]
cmp ebx, edx
jge 0x4082df
mov ecx, dword [ebp + 0x6e4]
mov eax, dword [ebp + 0x6e0]
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x410]
and ecx, edx
push 0
push ecx
mov ecx, eax
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x1b8]
and ecx, edx
neg eax
push ecx
lea ecx, [esp + 0x80]
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 0x1c0]
push eax
push 0
lea eax, [ecx + ecx*4]
push 0
shl eax, 5
add eax, ecx
push ebx
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x4f295c]
push eax
call fcn.00438bc0
add esp, 0x20
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40856b
mov ecx, dword [ebp + 0x1c0]
mov esi, 0xf
xor edi, edi
mov dword [esp + 0x38], esi
lea eax, [ecx + ecx*4]
mov dword [esp + 0x44], edi
shl eax, 5
add eax, ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
lea ecx, [ebx + eax*2]
add eax, ecx
mov eax, dword [eax*4 + 0x4f2ab4]
test ah, 0x10
mov dword [esp + 0x58], eax
jne 0x40789b
lea edx, [ebx + 1]
lea eax, [esp + 0x84]
push edx
push str.__02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4078aa
mov cx, word [0x49f520]
mov word [esp + 0x84], cx
mov ecx, dword [ebp + 0x1c0]
lea edx, [esp + 0x84]
mov dword [esp + 0x4c], edx
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [ebx + eax*2]
add eax, ecx
mov eax, dword [eax*4 + 0x4f2ab4]
test ah, 0x10
je 0x4078de
mov dword [esp + 0x54], 0xb
jmp 0x407928
test dword [esp + 0x10], 0x3fc0
je 0x4078ee
mov dword [esp + 0x54], esi
jmp 0x407928
test ah, 0x20
je 0x407906
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], 0xc
inc eax
mov dword [esp + 0x30], eax
jmp 0x407928
test ah, 0x40
je 0x407915
mov dword [esp + 0x54], 0xd
jmp 0x407928
and eax, 0x8000
neg eax
sbb eax, eax
and eax, 3
add eax, 0xb
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x19c]
lea edx, [esp + 0x38]
push edx
push edi
push 0x1007
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
cmp ebx, dword [esp + 0x34]
jne 0x407c9b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x84]
inc ecx
push ecx
push 0x49f190
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x49f1a0
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
test eax, 0x3fc0
rep movsb byte es:[edi], byte [esi]
je 0x407a0c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
dec eax
cmp ecx, eax
jne 0x407bf5
mov eax, dword [esp + 0x14]
test ah, 1
je 0x4079fa
mov edi, str.Appendable
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
test ah, 2
je 0x407bf5
jmp 0x407bc4
mov eax, dword [esp + 0x14]
test al, 1
je 0x407a49
mov edi, str.TAO_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, 2
je 0x407aa4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x407a6f
cmp dword [esp + 0x18], 1
jne 0x407a6f
test ah, 2
je 0x407a6f
lea edx, [esp + 0x84]
mov edi, str.DAO_
jmp 0x407a7b
lea edx, [esp + 0x84]
mov edi, str.SAO_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ah, 0x10
je 0x407ade
mov edi, str.CDDA_CD_ROM
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ah, 0x20
je 0x407b18
mov edi, 0x49f4ec
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ah, 0x40
je 0x407b52
mov edi, str.CD_i
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ah, 0x70
je 0x407b8c
mov edi, 0x49f520
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
dec ecx
cmp edx, ecx
jne 0x407bf5
test ah, 0x80
je 0x407bac
lea edx, [esp + 0x84]
mov edi, str.Incomplete
jmp 0x407bd0
test ah, 1
je 0x407bbf
lea edx, [esp + 0x84]
mov edi, str.Appendable
jmp 0x407bd0
test ah, 2
je 0x407bf5
lea edx, [esp + 0x84]
mov edi, str.Closed
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x407ca3
mov edi, 0x49f4cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x17
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046b4e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49f4c8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x407ca3
mov byte [esp + 0x84], 0
mov edx, dword [ebp + 0x19c]
lea ecx, [esp + 0x38]
push ecx
push 0
lea eax, [esp + 0x8c]
push 0x1006
push edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [ebx + eax*2]
add eax, ecx
mov edx, dword [eax*4 + 0x4f2ab4]
test dh, 0x10
jne 0x4082a7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], 2
test eax, 0x3fc0
mov byte [esp + 0x84], 0
je 0x407db4
test dh, 0x40
je 0x407d43
mov edi, str.DVD_Zone
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, 0x80000
je 0x407f56
mov edi, 0x49f2bc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Reserved
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x407f56
test dh, 0x20
je 0x407dc7
lea ebx, [esp + 0x84]
mov edi, str.Audio
jmp 0x407deb
test dh, 0x40
jne 0x407ddf
test dh, 0x80
je 0x407ddf
lea ebx, [esp + 0x84]
mov edi, str.Mode_2_XA
jmp 0x407deb
lea ebx, [esp + 0x84]
mov edi, str.Mode_1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
test edx, 0x10000
rep movsb byte es:[edi], byte [esi]
je 0x407e76
mov edi, 0x49f2bc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x84]
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [esp + 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Packet_Writing
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, 0x20000
je 0x407ede
mov edi, 0x49f2bc
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [esp + 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Pre_emphasis
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, 0x40000
je 0x407f52
mov edi, 0x49f2bc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xd7
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046b4e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [esp + 0x28]
mov edx, dword [ebp + 0x19c]
lea ecx, [esp + 0x38]
push ecx
push 0
lea eax, [esp + 0x8c]
push 0x1006
push edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, byte [esp + 0x10]
mov dword [esp + 0x40], 3
test al, 7
jne 0x407f98
mov eax, dword [0x49f584]
mov dword [esp + 0x84], eax
jmp 0x407fda
mov eax, dword [ebp + 0x6e0]
test eax, eax
je 0x407fbf
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x84]
push ecx
push 0x49f190
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x407fda
mov ax, word [0x49f480]
mov cl, byte [0x49f482]
mov word [esp + 0x84], ax
mov byte [esp + 0x86], cl
mov ecx, dword [ebp + 0x19c]
lea eax, [esp + 0x38]
push eax
push 0
lea edx, [esp + 0x8c]
push 0x1006
push ecx
mov dword [esp + 0x5c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x1c0]
mov dword [esp + 0x40], 4
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea edx, [ebx + eax*2]
add eax, edx
mov eax, dword [eax*4 + 0x4f2c40]
push eax
call fcn.0046b970
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x19c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x8c]
push 0x1006
push eax
mov dword [esp + 0x5c], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x1c0]
mov edx, dword [ebp + 0x6dc]
push edx
mov dword [esp + 0x44], 5
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [ebx + eax*2]
add eax, ecx
shl eax, 2
mov ecx, dword [eax + 0x4f2ab4]
mov eax, dword [eax + 0x4f2dcc]
test ch, 0x20
lea ecx, [esp + 0x88]
push eax
push ecx
je 0x4080b9
call fcn.0046e050
jmp 0x4080be
call fcn.0046dfe0
mov ecx, dword [ebp + 0x19c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
lea eax, [esp + 0x38]
lea edx, [esp + 0x84]
push eax
push 0
push 0x1006
push ecx
mov dword [esp + 0x5c], edx
call esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], 6
cmp eax, 0x40
jge 0x408172
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea edx, [ebx + eax*2]
add eax, edx
mov ecx, dword [eax*4 + 0x4f2ab4]
test ch, 0x20
je 0x408172
mov eax, dword [ebp + 0x6e0]
test eax, eax
je 0x408154
lea edi, [esp + 0x1b0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40817e
mov cx, word [0x49f480]
mov dl, byte [0x49f482]
mov word [esp + 0x84], cx
mov byte [esp + 0x86], dl
jmp 0x40817e
mov eax, dword [0x49f584]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x19c]
lea edx, [esp + 0x38]
push edx
push 0
lea ecx, [esp + 0x8c]
push 0x1006
push eax
mov dword [esp + 0x5c], ecx
call esi
test byte [esp + 0x10], 7
je 0x40821c
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [ebx + eax*2]
add eax, ecx
mov ecx, dword [eax*4 + 0x4f2ab4]
test ch, 0x20
je 0x40821c
mov eax, dword [ebp + 0x6e4]
test eax, eax
je 0x4081f0
lea edx, [esp + 0x410]
lea eax, [esp + 0x1f0]
push edx
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.0046e360
add esp, 0xc
jmp 0x40822f
mov ax, word [0x49f480]
mov cl, byte [0x49f482]
mov word [esp + 0x84], ax
mov byte [esp + 0x86], cl
mov word [esp + 0x1f0], ax
mov byte [esp + 0x1f2], cl
jmp 0x40822f
mov eax, dword [0x49f584]
mov dword [esp + 0x84], eax
mov dword [esp + 0x1f0], eax
mov ecx, dword [ebp + 0x19c]
lea eax, [esp + 0x38]
push eax
push 0
lea edx, [esp + 0x8c]
push 0x1006
push ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x5c], edx
call esi
mov ecx, dword [ebp + 0x19c]
lea eax, [esp + 0x38]
push eax
push 0
lea edx, [esp + 0x1f8]
push 0x1006
push ecx
mov dword [esp + 0x50], 8
mov dword [esp + 0x5c], edx
call esi
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea edx, [ebx + eax*2]
add eax, edx
shl eax, 2
mov ecx, dword [eax + 0x4f2dcc]
mov edx, dword [eax + 0x4f2c40]
add ecx, edx
mov dword [esp + 0x64], ecx
mov eax, dword [ebp + 0x6e0]
test eax, eax
je 0x4082c8
mov eax, dword [ebp + 0x19c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call fcn.00445c60
add esp, 4
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
inc ebx
add edx, ecx
cmp ebx, edx
mov dword [esp + 0x28], ebx
jl 0x4077d9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x407781
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
test dword [esp + 0x10], 0x3fc0
mov eax, dword [esp + 0x24]
je 0x408319
cmp eax, 1
mov edi, str.Zones
jg 0x408328
mov edi, str.Zone
jmp 0x408328
cmp eax, 1
mov edi, str.Tracks
jg 0x408328
mov edi, str.Track
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x84]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49f554
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x84]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1a0]
push 0x420
push ecx
call ebx
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax*2]
add eax, edx
mov edx, dword [eax*4 + 0x4f2ab0]
test dh, 0x10
jne 0x4083c6
push ecx
lea eax, [esp + 0x88]
push 0x49f190
push eax
jmp 0x408402
cmp ecx, 1
jne 0x4083f3
mov ecx, dword [str.1_Invisible]
mov edx, dword [0x49f468]
mov eax, dword [0x49f46c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x40840b
dec ecx
push ecx
lea ecx, [esp + 0x88]
push str._d__1_Invisible
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 0x1a0]
lea edx, [esp + 0x84]
push edx
push 0x421
push eax
call ebx
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x408438
mov ecx, dword [0x49f584]
mov dword [esp + 0x84], ecx
jmp 0x408463
lea edi, [esp + 0x1d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x1a0]
lea ecx, [esp + 0x84]
push ecx
push 0x424
push edx
call ebx
test byte [esp + 0x10], 7
je 0x4084fd
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4084fd
mov ecx, dword [ebp + 0x1c0]
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x4f2ab4]
test ch, 0x20
je 0x4084fd
mov eax, dword [ebp + 0x6e4]
test eax, eax
je 0x4084d1
lea ecx, [esp + 0xc10]
lea edx, [esp + 0x1f0]
push ecx
lea eax, [esp + 0x88]
push edx
push eax
call fcn.0046e360
add esp, 0xc
jmp 0x408510
mov ax, word [0x49f480]
mov cl, byte [0x49f482]
mov word [esp + 0x84], ax
mov byte [esp + 0x86], cl
mov word [esp + 0x1f0], ax
mov byte [esp + 0x1f2], cl
jmp 0x408510
mov eax, dword [0x49f584]
mov dword [esp + 0x84], eax
mov dword [esp + 0x1f0], eax
mov edx, dword [ebp + 0x1a0]
lea ecx, [esp + 0x84]
push ecx
push 0x429
push edx
call ebx
mov ecx, dword [ebp + 0x1a0]
lea eax, [esp + 0x1f0]
push eax
push 0x428
push ecx
call ebx
mov edx, dword [esp + 0x64]
push edx
call fcn.0046b970
add esp, 4
push eax
mov eax, dword [ebp + 0x1a0]
push 0x41c
push eax
call ebx
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x40856b
mov edi, dword [esp + 0x20]
mov eax, 1
jmp 0x408577
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp + 0x19c]
test eax, eax
setne cl
add ecx, 0xfffe
mov esi, ecx
and esi, 0xffff
push esi
push 1
push 0x101e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x19c]
push esi
push 2
push 0x101e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x4085eb
mov ecx, dword [ebp + 0x1c0]
push edi
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, ecx
lea ecx, [eax + eax*2]
mov edx, dword [ecx*4 + 0x4f295c]
push edx
call fcn.0046bbd0
add esp, 8
push eax
mov eax, dword [ebp + 0x1a0]
push 0x417
push eax
call ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1400
ret