Function at 0x41c230
Capabilities:
Get disk information
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x458052
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x678], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x694]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6a4]
xor ebx, ebx
push 0xffffffffffffffff
mov ebp, 7
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00406cc0
push 0x206
lea eax, [esp + 0x8a]
push ebx
mov dword [esp + 0x6a4], ebx
push eax
mov word [esp + 0x90], bx
call fcn.00443e10
mov eax, dword [esp + 0x24]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x2c], edi
jae 0x41c2ca
lea eax, [esp + 0x18]
push eax
push 0x461f84
push 0x208
lea ecx, [esp + 0x90]
push 0x104
push ecx
call fcn.0043ef21
add esp, 0x14
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [esp + 0x84]
push eax
push str._setup_drive___s__n
push 0x400
lea ecx, [esp + 0x298]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x4c]
call fcn.0042a750
mov byte [esp + 0x69c], 1
lea eax, [esp + 0x28c]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c350
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x290]
push edx
lea esi, [esp + 0x70]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x54]
mov byte [esp + 0x6a4], 2
call fcn.00406d90
cmp dword [esp + 0x80], edi
jb 0x41c39f
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x64], edi
mov edx, dword [esp + 0x50]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jae 0x41c3bd
lea edx, [esp + 0x50]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x41c3fa
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c3d0
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x69c], 0
cmp dword [esp + 0x64], 8
jb 0x41c416
mov edx, dword [esp + 0x50]
push edx
call fcn.0043ef40
add esp, 4
lea eax, [esp + 0x84]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c420
sub eax, edx
sar eax, 1
mov edi, eax
jne 0x41c44e
cmp dword [esp + 0x2c], 8
jb 0x41c447
mov eax, dword [esp + 0x18]
push eax
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x41c835
lea eax, [esp + 0x84]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c465
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x38]
call fcn.00406f20
mov byte [esp + 0x69c], 3
cmp word [esp + edi*2 + 0x82], 0x5c
je 0x41c4a7
push 1
push 0x46042c
mov ecx, esi
call fcn.00406e50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov ebp, eax
jb 0x41c4b7
mov ebp, ecx
cmp ebp, ebx
ja 0x41c4ed
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x41c4d3
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x2c], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jmp 0x41c438
mov word [esp + 0x68], 0x2f
mov word [esp + 0x6a], 0x3a
mov word [esp + 0x6c], 0x3f
mov word [esp + 0x6e], 0x2a
mov word [esp + 0x70], 0x22
mov word [esp + 0x72], 0x3c
mov word [esp + 0x74], 0x3e
mov word [esp + 0x76], 0x7c
mov edi, ebp
cmp edi, ecx
jbe 0x41c534
call fcn.0043f7bb
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x41c543
lea eax, [esp + 0x18]
cmp word [eax + edi*2], bx
je 0x41c5ca
xor esi, esi
nop
cmp edi, ecx
jbe 0x41c55d
call fcn.0043f7bb
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edx, 8
cmp dword [esp + 0x2c], edx
jae 0x41c570
lea eax, [esp + 0x18]
mov ax, word [eax + edi*2]
cmp ax, word [esp + esi*2 + 0x68]
je 0x41c587
add esi, 1
cmp esi, edx
jl 0x41c550
add edi, 1
jmp 0x41c527
cmp dword [esp + 0x48], edx
jb 0x41c59a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x41c447
mov edx, dword [esp + 0x18]
push edx
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x41c835
xor ebx, ebx
cmp dword [esp + 0x44], ecx
lea esi, [ebp - 1]
jae 0x41c6b9
mov ebp, esi
lea edi, [ebx + 8]
mov edi, edi
cmp ebp, ecx
jbe 0x41c5ed
call fcn.0043f7bb
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x41c5fb
lea eax, [esp + 0x18]
cmp word [eax + ebp*2], 0
je 0x41c684
cmp ebp, ecx
jbe 0x41c613
call fcn.0043f7bb
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x41c621
lea eax, [esp + 0x18]
cmp word [eax + ebp*2], 0x5c
jne 0x41c633
test ebx, ebx
jne 0x41c67c
mov ebx, 1
jmp 0x41c635
xor ebx, ebx
cmp esi, ecx
jbe 0x41c642
call fcn.0043f7bb
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x2c], edi
mov edi, dword [esp + 0x18]
jae 0x41c650
lea edi, [esp + 0x18]
cmp ebp, ecx
jbe 0x41c659
call fcn.0043f7bb
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x41c668
lea eax, [esp + 0x18]
mov ax, word [eax + ebp*2]
mov word [edi + esi*2], ax
mov ecx, dword [esp + 0x28]
add esi, 1
mov edi, 8
add ebp, 1
jmp 0x41c5e0
cmp esi, ebp
jge 0x41c6b9
jmp 0x41c694
mov ecx, dword [esp + 0x28]
cmp esi, ecx
jbe 0x41c69d
call fcn.0043f7bb
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x41c6ac
lea eax, [esp + 0x18]
mov word [eax + esi*2], 0
add esi, 1
cmp esi, ebp
jl 0x41c690
mov eax, dword [esp + 0x34]
mov ebp, 8
cmp dword [esp + 0x48], ebp
jae 0x41c6cc
lea eax, [esp + 0x34]
push eax
push str._setup_tempDrive___s__n
push 0x400
lea ecx, [esp + 0x298]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x4c]
call fcn.0042a750
mov byte [esp + 0x69c], 4
xor ebx, ebx
mov edi, 7
lea eax, [esp + 0x28c]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c720
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x290]
push edx
lea esi, [esp + 0x70]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x54]
mov byte [esp + 0x6a4], 5
call fcn.00406d90
cmp dword [esp + 0x80], ebp
jb 0x41c76f
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x64], ebp
mov edx, dword [esp + 0x50]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jae 0x41c78d
lea edx, [esp + 0x50]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x41c7ca
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41c7a0
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x69c], 3
cmp dword [esp + 0x64], ebp
jb 0x41c7e5
mov edx, dword [esp + 0x50]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
jae 0x41c7f3
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp dword [esp + 0x48], ebp
mov esi, eax
jb 0x41c80f
mov eax, dword [esp + 0x34]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x2c], ebp
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x41c833
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043ef40
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x694]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x678]
xor ecx, esp
call fcn.0043ef12
add esp, 0x68c
ret