Function at 0x41fe20
Capabilities:
Create thread
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4772a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
push str.CDeviceDetect::UpdateUMS
mov dword [esp + 0x64], 2
call fcn.00403120
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0040ea00
add esp, 0xc
test eax, eax
jne 0x41fe84
xor al, al
jmp 0x41fe91
lea edx, [esp + 0x1c]
push edx
call fcn.0040ea60
add esp, 4
mov edx, dword [0x47fdc4]
mov ecx, dword [str..X:]
cbw
movzx esi, ax
mov eax, dword [0x47fdc8]
mov dword [esp + 0x4c], eax
mov eax, dword [0x47fdbc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
sub eax, 0x8000
mov dword [esp + 0x48], edx
mov edx, dword [0x47fdb8]
mov dword [esp + 0x44], ecx
mov cx, word [0x47fdcc]
mov dword [esp + 0x3c], edx
mov word [esp + 0x50], cx
mov word [esp + 0x4c], si
mov word [esp + 0x3c], si
je 0x41ff58
sub eax, 4
jne 0x42044e
lea ecx, [esp + 0x1c]
call fcn.0040f5c0
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 9
mov dword [esp + 0x30], 3
call fcn.00404410
mov ebx, 7
push ebx
push 0x47f438
lea ecx, [esp + 0x28]
call fcn.00402860
push ebx
push 0x47f81c
lea ecx, [esp + 0x2c]
call fcn.00402860
push 0
push 0x8004
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0041d460
lea ecx, [esp + 0x1c]
call fcn.0040f620
jmp 0x42044e
mov ecx, dword [esp + 0x68]
cmp dword [ecx - 0xc], 0
jl 0x41ffae
push str.CDROM
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
mov ecx, dword [esp + 0x70]
add esp, 8
test eax, eax
je 0x41ff86
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jg 0x42024b
cmp dword [ecx - 0xc], 0
jl 0x41ffae
push 0x483248
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41ffae
sub eax, dword [esp + 0x68]
sar eax, 1
cmp eax, 0xffffffff
jg 0x42024b
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x42044e
lea ecx, [esp + 0x3c]
push ecx
push str.DriveLetter___s
call fcn.00403120
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.0040f5c0
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 6
mov dword [esp + 0x30], 3
call fcn.00404410
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00414540
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
mov ebx, 7
push edx
mov byte [esp + 0x68], bl
call fcn.004023c0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00418990
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 8
call fcn.00408030
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404410
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.00404410
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004023c0
call fcn.0044ece0
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004023c0
call fcn.0044ee20
movzx eax, ax
mov ecx, 0x5000
add esp, 4
cmp ax, cx
jb 0x42009a
mov edx, 0x5aff
cmp ax, dx
jbe 0x4200fc
mov eax, dword [esp + 0x68]
push eax
call fcn.00452270
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
test eax, eax
je 0x4201a5
mov dword [esp + 0x2c], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403120
add esp, 8
cmp dword [esp + 0x2c], ebx
je 0x4201d8
lea edx, [esp + 0x44]
push edx
call fcn.00452270
add esp, 4
test eax, eax
je 0x4201d8
mov dword [esp + 0x2c], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403120
add esp, 8
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x420210
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jl 0x420210
mov esi, dword [sym.imp.MSVCR90.dll_wcsstr]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x420210
sub eax, dword [esp + 0x20]
sar eax, 1
cmp eax, 0xffffffff
je 0x420210
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x420210
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
jl 0x420210
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x420210
sub eax, dword [esp + 0x24]
sar eax, 1
cmp eax, 0xffffffff
je 0x420210
push 0
push 0x8000
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0041d460
lea ecx, [esp + 0x14]
call fcn.00401df0
lea ecx, [esp + 0x18]
call fcn.00401df0
lea ecx, [esp + 0x1c]
call fcn.0040f620
jmp 0x42044e
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403120
add esp, 8
cmp dword [esp + 0x2c], ebx
je 0x4200b9
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00452270
add esp, 4
test eax, eax
je 0x4200b9
mov dword [esp + 0x2c], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403120
add esp, 8
cmp dword [esp + 0x2c], ebx
je 0x4200ec
lea eax, [esp + 0x44]
push eax
call fcn.00452270
add esp, 4
test eax, eax
je 0x4200ec
mov dword [esp + 0x2c], ebx
jmp 0x4200fc
lea ecx, [esp + 0x14]
call fcn.00401df0
lea ecx, [esp + 0x18]
call fcn.00401df0
lea ecx, [esp + 0x1c]
call fcn.0040f620
lea ecx, [esp + 0x68]
call fcn.00401df0
lea ecx, [esp + 0x70]
call fcn.00401df0
lea ecx, [esp + 0x74]
call fcn.00401df0
jmp 0x4204c0
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x4a4024
call fcn.00403430
push 0x5c
mov ecx, 0x4a4024
call fcn.0040f9e0
lea eax, [esp + 0x3c]
push eax
push str._szVolumeTypePath___s
call fcn.00403120
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x4a440c
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov ecx, dword [0x4a4024]
push ecx
lea edx, [esp + 0x38]
push str._sSamsungKiesInstaller.ini
push edx
mov byte [esp + 0x6c], 3
call fcn.00402e30
mov esi, dword [esp + 0x40]
push esi
push str._strInstallerCfgPath___s
call fcn.00403120
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x420318
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._open_error____d_
call fcn.00403120
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0x60], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42044e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42044e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._SamsungKiesInstaller.ini_file_exist
call fcn.00403120
lea ebp, [esi - 0x10]
mov dword [esp + 0x3c], esp
mov edi, esp
push ebp
call fcn.00401510
mov ebx, dword [esp + 0x38]
add esp, 4
lea ecx, [esp + 0x18]
add eax, 0x10
push ecx
mov ecx, ebx
mov dword [edi], eax
call fcn.00414820
mov edx, dword [esp + 0x14]
push edx
push str._strLabel_s
mov byte [esp + 0x68], 4
call fcn.00403120
add esp, 4
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004062c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00414bc0
mov edx, dword [esp + 0x18]
push edx
push str._strVolumeLabel_s
mov byte [esp + 0x68], 5
call fcn.00403120
add esp, 8
lea ecx, [esp + 0x18]
call fcn.0040f980
mov esi, dword [eax]
lea ecx, [esp + 0x14]
call fcn.0040f980
mov edi, eax
test esi, esi
je 0x4203e5
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x4203e5
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4203e5
sub eax, dword [edi]
sar eax, 1
jne 0x4203e5
push 0
push 0
push ebx
push 0x41a2e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x60], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42040a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x60], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42042f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 2
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42044e
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x60], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420473
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x60], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420498
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4204c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00473c8a
add esp, 0x50
ret 0x10