Function at 0x4041b3
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0xe14
mov edx, dword [ebp + 0x6c]
push ebx
xor ebx, ebx
cmp edx, ebx
push esi
lea eax, [ebp - 0xdb8]
push edi
mov dword [ebp + 0x3c], eax
mov word [ebp - 0xdb8], bx
jl 0x4041e7
jg 0x4041e1
cmp dword [ebp + 0x68], ebx
jb 0x4041e7
mov byte [ebp + 0x5b], 1
jmp 0x4041ea
mov byte [ebp + 0x5b], bl
mov ecx, dword [ebp + 0x68]
add ecx, dword [ebp + 0x70]
mov eax, edx
adc eax, dword [ebp + 0x74]
mov dword [ebp + 0x34], ecx
cmp eax, edx
mov dword [ebp + 0x38], eax
ja 0x404211
jb 0x404206
cmp ecx, dword [ebp + 0x68]
jae 0x404211
or dword [ebp + 0x34], 0xffffffff
mov dword [ebp + 0x38], 0x7fffffff
mov eax, dword [ebp + 0x78]
mov esi, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x68]
and eax, 1
mov dword [ebp + 0x44], eax
xor eax, eax
cmp esi, ebx
setne al
and ecx, edx
cmp ecx, 0xffffffff
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x54], eax
mov eax, dword [0x4acbd8]
mov dword [ebp + 0x74], eax
jne 0x40429b
cmp eax, ebx
je 0x404294
cmp dword [eax], ebx
lea ecx, [eax + 4]
mov esi, eax
mov dword [ebp + 0x74], ecx
jle 0x40428a
dec dword [esi]
mov eax, dword [esi]
mov ecx, dword [ebp + 0x74]
lea eax, [ecx + eax*4]
mov edi, dword [eax]
cmp edi, ebx
mov dword [eax], ebx
mov dword [ebp + 0x7c], ebx
je 0x404286
push ebx
lea eax, [ebp + 0x7c]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
push edi
mov dword [ebp + 0x7c], ebx
call dword [fcn.004943dc]
call dword [fcn.0049447c]
push edi
call dword [fcn.004944a8]
cmp dword [esi], ebx
jg 0x40424c
mov ecx, 0x4acbd8
call fcn.0043092f
xor eax, eax
jmp 0x404559
cmp esi, ebx
jne 0x4042b9
push 0x514
lea eax, [ebp - 0xdb8]
push eax
call dword [0x4943d4]
cmp eax, 0xffffffff
mov dword [ebp + 0x4c], eax
je 0x4042d9
cmp dword [ebp + 0x74], ebx
jne 0x4042e3
push 0x7d4
mov ecx, 0x4acbd8
call fcn.00435c7d
mov eax, dword [0x4acbd8]
cmp eax, ebx
mov dword [ebp + 0x74], eax
jne 0x4042e1
xor eax, eax
inc eax
jmp 0x404559
mov dword [eax], ebx
mov eax, dword [ebp + 0x74]
add dword [ebp + 0x74], 4
cmp esi, ebx
mov dword [ebp + 0x30], eax
je 0x4042f4
mov dword [ebp + 0x3c], esi
mov esi, dword [ebp + 0x3c]
push esi
call dword [fcn.004944c4]
dec eax
cmp eax, ebx
jle 0x404526
lea eax, [esi + eax*2]
cmp word [eax], 0x5c
jne 0x404313
mov word [eax], bx
mov edi, dword [fcn.0049441c]
push ebx
call edi
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push esi
call dword [0x4943d8]
cmp eax, 0xffffffff
mov dword [ebp + 0x78], eax
je 0x404526
push 0xffffffffffffff9c
pop esi
push ebx
call edi
cmp dword [ebp + 0x7c], ebx
jne 0x404410
xor eax, eax
mov dword [ebp - 0x38c], ebx
mov ecx, 0xc7
lea edi, [ebp - 0x388]
rep stosd dword es:[edi], eax
lea edi, [ebp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
or dword [ebp + 0x28], 0xffffffff
lea eax, [ebp - 0x38c]
push eax
push 0xc
lea eax, [ebp + 0x24]
push eax
push ebx
push ebx
push 0x2d1080
push dword [ebp + 0x78]
call dword [fcn.004943dc]
test eax, eax
je 0x404393
movsx esi, word [ebp + 0x28]
cmp dword [ebp + 0x64], esi
jne 0x404518
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov edi, 0x90
push edi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0047fd70
or dword [ebp - 0x54], 0xffffffff
add esp, 0xc
push ebx
lea eax, [ebp - 0x38c]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 0x70048
push dword [ebp + 0x78]
call dword [fcn.004943dc]
cmp dword [ebp - 0x54], 0xffffffff
je 0x40440d
cmp byte [ebp + 0x5b], bl
je 0x404410
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp + 0x38]
ja 0x40440d
mov eax, dword [ebp - 0x64]
jb 0x4043f7
cmp eax, dword [ebp + 0x34]
jae 0x40440d
mov ecx, dword [ebp - 0x5c]
add ecx, eax
mov eax, dword [ebp - 0x58]
adc eax, edx
cmp eax, dword [ebp + 0x6c]
jg 0x404410
jl 0x40440d
cmp ecx, dword [ebp + 0x68]
jae 0x404410
or esi, 0xffffffff
cmp dword [ebp + 0x64], esi
je 0x40441e
cmp dword [ebp + 0x7c], ebx
je 0x404518
push dword [ebp + 0x78]
mov edi, dword [0x4943d0]
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x48], ebx
call edi
mov esi, dword [ebp + 0x78]
push esi
call edi
push esi
call edi
push esi
call edi
xor edi, edi
push ebx
lea eax, [ebp + 0x50]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push esi
mov dword [ebp + 0x50], ebx
call dword [fcn.004943dc]
cmp eax, ebx
mov dword [ebp + 0x40], eax
jne 0x40446d
push 0xa
call dword [0x494478]
dec edi
jns 0x40443d
call dword [fcn.0049447c]
cmp dword [ebp + 0x44], ebx
mov edi, dword [ebp + 0x40]
je 0x4044a3
push 4
pop esi
push ebx
lea eax, [ebp + 0x50]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
push dword [ebp + 0x78]
mov dword [ebp + 0x50], ebx
call dword [fcn.004943dc]
mov edi, eax
cmp edi, ebx
jne 0x4044b0
push 0xa
call dword [0x494478]
dec esi
jns 0x404478
cmp edi, ebx
jne 0x4044b0
call dword [fcn.0049447c]
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x7c], ebx
je 0x4044dd
cmp dword [ebp + 0x44], ebx
je 0x4044c4
cmp edi, 1
jne 0x4044c4
mov dword [ebp + 0x54], ebx
jmp 0x4044fe
xor ecx, ecx
inc ecx
cmp dword [ebp + 0x40], ecx
je 0x4044bf
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x4044d8
mov dword [ebp + 0x54], eax
jmp 0x4044fe
mov dword [ebp + 0x54], ecx
jmp 0x4044fe
cmp dword [ebp + 0x44], ebx
je 0x4044e7
cmp edi, 1
je 0x4044fe
cmp dword [ebp + 0x40], 1
je 0x4044fe
mov eax, dword [ebp + 0x48]
cmp eax, ebx
mov dword [ebp + 0x54], eax
jne 0x4044fe
mov dword [ebp + 0x54], 1
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
cmp eax, 0x1f4
jge 0x404515
mov edx, dword [ebp + 0x74]
mov esi, dword [ebp + 0x78]
mov dword [edx + eax*4], esi
inc dword [ecx]
mov dword [ebp + 0x78], ebx
cmp dword [ebp + 0x78], ebx
je 0x404526
push dword [ebp + 0x78]
call dword [fcn.004944a8]
cmp dword [ebp + 0x7c], ebx
jne 0x404548
mov esi, dword [ebp + 0x3c]
push 0x514
push esi
push dword [ebp + 0x4c]
mov word [esi], bx
call dword [0x4943e0]
test eax, eax
jne 0x4042f7
cmp dword [ebp + 0x4c], ebx
je 0x404556
push dword [ebp + 0x4c]
call dword [0x4943e4]
mov eax, dword [ebp + 0x54]
pop edi
pop esi
pop ebx
add ebp, 0x5c
leave
ret