Function at 0x43dfb0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa74
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.004301a0
mov ebx, eax
cmp ebx, 9
jne 0x43dfe5
mov eax, dword [ebp + 8]
push eax
xor bl, bl
mov ecx, edi
call fcn.0043da80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 4
jne 0x43e087
push 0x103
lea ecx, [esp + 0x74]
push edi
push ecx
call fcn.004cb3f1
add esp, 0xc
xor edx, edx
lea eax, [esp + 0x70]
mov word [esp + 0x276], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e012
sub eax, edx
sar eax, 1
je 0x43e037
cmp word [esp + eax*2 + 0x6e], 0x5c
lea eax, [esp + eax*2 + 0x70]
je 0x43e037
mov ecx, 0x5c
mov word [eax], cx
lea ecx, [esi + 0x12]
lea ebx, [ebx]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x43e04d
cmp eax, 9
jne 0x43e052
add ecx, 2
jmp 0x43e040
push ecx
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
test eax, eax
mov eax, 0x4e6a28
jne 0x43e06c
mov eax, 0x4eb75c
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x51b6d0]
push eax
call fcn.004aefb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x51ae08]
mov dword [esp + 0x10], ecx
call fcn.0041acb0
cmp ebx, 8
ja case.0x43e09f.4
jmp dword [ebx*4 + 0x43e57c]
cmp word [edi], 0
jne 0x43e0b6
mov edi, 0x100
jmp 0x43e17d
push 0x4f42b8
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x43e0d9
lea edi, [eax + 5]
jmp 0x43e17d
push 0x4f42d4
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x43e0fc
lea edi, [eax + 2]
jmp 0x43e17d
push 0x4f42f8
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x43e11c
lea edi, [eax + 3]
jmp 0x43e17d
push 0x4f4314
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x43e13c
lea edi, [eax + 4]
jmp 0x43e17d
push 0x4f4334
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne 0x43e15c
lea edi, [eax + 6]
jmp 0x43e17d
push 0x4f4354
call fcn.004a4b10
add esp, 4
push eax
push edi
call fcn.004c9bad
add esp, 8
test eax, eax
jne case.0x43e09f.0
xor edi, edi
mov dword [esp + 0x14], 0
mov bl, 0x41
jmp 0x43e190
movzx esi, bl
lea ecx, [esp + 0x280]
xor eax, eax
push ecx
mov word [esp + 0x284], si
mov dword [esp + 0x286], 0x5c003a
mov word [esp + 0x28a], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, edi
je 0x43e1cf
cmp edi, 0x100
jne 0x43e1dd
cmp eax, 1
je 0x43e1dd
mov eax, dword [esp + 0x14]
mov word [esp + eax*2 + 0x30], si
inc eax
mov dword [esp + 0x14], eax
inc bl
cmp bl, 0x5a
jbe 0x43e190
mov eax, dword [esp + 0x14]
push 1
xor edx, edx
push edx
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
mov word [esp + eax*2 + 0x3c], dx
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.004aefb0
cmp word [esp + 0x30], 0
je case.0x43e09f.0
jmp case.0x43e09f.4
push 0x103
lea eax, [esp + 0x74]
push edi
push eax
call fcn.004cb3f1
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x70]
mov word [esp + 0x276], cx
lea edx, [eax + 2]
jmp 0x43e240
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e240
sub eax, edx
sar eax, 1
je 0x43e265
cmp word [esp + eax*2 + 0x6e], 0x5c
lea eax, [esp + eax*2 + 0x70]
je 0x43e265
mov edx, 0x5c
mov word [eax], dx
push 0xff
lea eax, [esp + 0x884]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
push 0xff
lea ecx, [esp + 0x498]
push ecx
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je case.0x43e09f.0
mov eax, ebx
sub eax, 2
je 0x43e2e5
dec eax
je 0x43e2cd
sub eax, 2
jne case.0x43e09f.4
push 0x18
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00401590
jmp case.0x43e09f.4
mov edx, dword [esp + 0x10]
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x48c]
push ecx
push edx
jmp 0x43e4cf
lea eax, [esp + 0x880]
jmp 0x43e4c3
push 0x103
lea edx, [esp + 0x74]
push edi
push edx
call fcn.004cb3f1
add esp, 0xc
xor eax, eax
mov word [esp + 0x276], ax
lea eax, [esp + 0x70]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e315
sub eax, edx
sar eax, 1
je 0x43e33a
cmp word [esp + eax*2 + 0x6e], 0x5c
lea eax, [esp + eax*2 + 0x70]
je 0x43e33a
mov ecx, 0x5c
mov word [eax], cx
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 6
ja case.0x43e09f.0
jmp dword [eax*4 + 0x43e5a0]
push 0x4f4354
call fcn.004a4b10
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x20]
push eax
jmp 0x43e4cf
push 0x4f42d4
call fcn.004a4b10
add esp, 4
jmp 0x43e4c3
push 0x4f42f8
call fcn.004a4b10
mov edx, dword [esp + 0x14]
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
jmp 0x43e4cf
push 0x4f4314
jmp 0x43e35a
push 0x4f4374
call fcn.004a4b10
add esp, 4
jmp 0x43e4c3
push 0x4f4390
jmp 0x43e38a
push 0x103
lea eax, [esp + 0x74]
push edi
push eax
call fcn.004cb3f1
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x70]
mov word [esp + 0x276], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e3e7
sub eax, edx
sar eax, 1
je 0x43e40c
cmp word [esp + eax*2 + 0x6e], 0x5c
lea eax, [esp + eax*2 + 0x70]
je 0x43e40c
mov edx, 0x5c
mov word [eax], dx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43e436
xor eax, eax
jmp 0x43e441
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
ja case.0x43e448.1
movzx edx, byte [eax + 0x43e5d0]
jmp dword [edx*4 + 0x43e5bc]
push 0x4f43b0
jmp 0x43e35a
push 0x4f43cc
call fcn.004a4b10
add esp, 4
jmp 0x43e4c3
push 0x4f43ec
jmp 0x43e38a
push 0x4f4410
jmp 0x43e35a
push 0x4f4354
call fcn.004a4b10
add esp, 4
jmp 0x43e4c3
cmp word [edi], 0
jne 0x43e4f4
push 0
push 0x80
lea edx, [esp + 0x388]
push edx
push str._03m_89__d5__7
call fcn.004a4b10
add esp, 4
push eax
call dword [sym.imp.WINMM.dll_mciSendStringW]
test eax, eax
jne case.0x43e09f.0
lea eax, [esp + 0x380]
mov ecx, dword [esp + 0x10]
push 1
push 0
push 0xffffffffffffffff
push eax
push ecx
call fcn.004aefb0
mov edx, dword [0x51b6d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6a28
push edx
call fcn.004aefb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push str._84_hp_e5__l__93___v2_9__g1m2_08n_.__0_3
call fcn.004a4b10
add esp, 4
push eax
mov esi, 0x100
lea edi, [esp + 0x688]
call fcn.004ac070
mov esi, dword [sym.imp.WINMM.dll_mciSendStringW]
add esp, 8
push 0
push 0
push 0
mov eax, edi
push eax
call esi
test eax, eax
jne case.0x43e09f.0
push eax
push 0x80
lea ecx, [esp + 0x388]
push ecx
push str._03m_y___
call fcn.004a4b10
add esp, 4
push eax
call esi
push 0
push 0
push 0
push str.3__4_u._a._8
mov edi, eax
call fcn.004a4b10
add esp, 4
push eax
call esi
test edi, edi
je 0x43e4bc
mov edx, dword [ebp + 8]
push edx
call fcn.004305b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4