Function at 0x41c5b0
Capabilities:
Create thread
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4764f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x2c], edi
push str.CDeviceDetect::UpdateUMS
mov dword [esp + 0x60], 2
call fcn.004031a0
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0040db20
add esp, 0xc
test eax, eax
jne 0x41c614
xor al, al
jmp 0x41c621
lea edx, [esp + 0x1c]
push edx
call fcn.0040db80
add esp, 4
mov edx, dword [0x47ebb4]
mov ecx, dword [str..X:]
cbw
movzx esi, ax
mov eax, dword [0x47ebb8]
mov dword [esp + 0x48], eax
mov eax, dword [0x47ebac]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
sub eax, 0x8000
mov dword [esp + 0x44], edx
mov edx, dword [0x47eba8]
mov dword [esp + 0x40], ecx
mov cx, word [0x47ebbc]
mov dword [esp + 0x38], edx
mov word [esp + 0x4c], cx
mov word [esp + 0x48], si
mov word [esp + 0x38], si
je 0x41c6e5
sub eax, 4
jne 0x41cbdb
lea ecx, [esp + 0x1c]
call fcn.0040e590
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 9
mov dword [esp + 0x2c], 3
call fcn.00404480
push 7
push 0x47e3c0
lea ecx, [esp + 0x28]
call fcn.004028e0
push 7
push 0x47e75c
lea ecx, [esp + 0x2c]
call fcn.004028e0
push 0
push 0x8004
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0041a230
lea ecx, [esp + 0x1c]
call fcn.0040e5e0
jmp 0x41cbdb
mov ecx, dword [esp + 0x64]
cmp dword [ecx - 0xc], 0
jl 0x41c73b
push str.CDROM
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
mov ecx, dword [esp + 0x6c]
add esp, 8
test eax, eax
je 0x41c713
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jg 0x41c9d8
cmp dword [ecx - 0xc], 0
jl 0x41c73b
push 0x481ce0
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41c73b
sub eax, dword [esp + 0x64]
sar eax, 1
cmp eax, 0xffffffff
jg 0x41c9d8
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x41cbdb
lea ecx, [esp + 0x38]
push ecx
push str.DriveLetter___s
call fcn.004031a0
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.0040e590
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 6
mov dword [esp + 0x2c], 3
call fcn.00404480
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00412c60
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x64], 7
call fcn.00402440
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00416940
mov ebx, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], bl
call fcn.00407d50
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404480
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.00404480
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00402440
call fcn.00416f40
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00402440
call fcn.00417080
movzx eax, ax
mov ecx, 0x5000
add esp, 4
cmp ax, cx
jb 0x41c827
mov edx, 0x5aff
cmp ax, dx
jbe 0x41c889
mov eax, dword [esp + 0x64]
push eax
call fcn.00452160
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
test eax, eax
je 0x41c932
mov dword [esp + 0x28], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.004031a0
add esp, 8
cmp dword [esp + 0x28], ebx
je 0x41c965
lea edx, [esp + 0x40]
push edx
call fcn.00452160
add esp, 4
test eax, eax
je 0x41c965
mov dword [esp + 0x28], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.004031a0
add esp, 8
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x41c99d
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jl 0x41c99d
mov esi, dword [sym.imp.MSVCR90.dll_wcsstr]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41c99d
sub eax, dword [esp + 0x20]
sar eax, 1
cmp eax, 0xffffffff
je 0x41c99d
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x41c99d
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
jl 0x41c99d
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41c99d
sub eax, dword [esp + 0x24]
sar eax, 1
cmp eax, 0xffffffff
je 0x41c99d
push 0
push 0x8000
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0041a230
lea ecx, [esp + 0x14]
call fcn.00401e10
lea ecx, [esp + 0x18]
call fcn.00401e10
lea ecx, [esp + 0x1c]
call fcn.0040e5e0
jmp 0x41cbdb
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.004031a0
add esp, 8
cmp dword [esp + 0x28], ebx
je 0x41c846
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00452160
add esp, 4
test eax, eax
je 0x41c846
mov dword [esp + 0x28], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.004031a0
add esp, 8
cmp dword [esp + 0x28], ebx
je 0x41c879
lea eax, [esp + 0x40]
push eax
call fcn.00452160
add esp, 4
test eax, eax
je 0x41c879
mov dword [esp + 0x28], ebx
jmp 0x41c889
lea ecx, [esp + 0x14]
call fcn.00401e10
lea ecx, [esp + 0x18]
call fcn.00401e10
lea ecx, [esp + 0x1c]
call fcn.0040e5e0
lea ecx, [esp + 0x64]
call fcn.00401e10
lea ecx, [esp + 0x6c]
call fcn.00401e10
lea ecx, [esp + 0x70]
call fcn.00401e10
jmp 0x41cc4d
lea edx, [esp + 0x38]
push edx
mov ecx, 0x49f0ac
call fcn.004034b0
push 0x5c
mov ecx, 0x49f0ac
call fcn.0040e960
lea eax, [esp + 0x38]
push eax
push str._szVolumeTypePath___s
call fcn.004031a0
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x49f4e4
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov ecx, dword [0x49f0ac]
push ecx
lea edx, [esp + 0x34]
push str._sSamsungKiesInstaller.ini
push edx
mov byte [esp + 0x68], 3
call fcn.00402eb0
mov esi, dword [esp + 0x3c]
push esi
push str._strInstallerCfgPath___s
call fcn.004031a0
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x41caa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._open_error____d_
call fcn.004031a0
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cbdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41cbdb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._SamsungKiesInstaller.ini_file_exist
call fcn.004031a0
lea ebp, [esi - 0x10]
mov dword [esp + 0x38], esp
mov edi, esp
push ebp
call fcn.00401530
mov ebx, dword [esp + 0x34]
add esp, 4
lea ecx, [esp + 0x18]
add eax, 0x10
push ecx
mov ecx, ebx
mov dword [edi], eax
call fcn.00412f40
mov edx, dword [esp + 0x14]
push edx
push str._strLabel_s
mov byte [esp + 0x64], 4
call fcn.004031a0
add esp, 4
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00406330
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.004132e0
mov edx, dword [esp + 0x18]
push edx
push str._strVolumeLabel_s
mov byte [esp + 0x64], 5
call fcn.004031a0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.0040e900
mov esi, dword [eax]
lea ecx, [esp + 0x14]
call fcn.0040e900
mov edi, eax
test esi, esi
je 0x41cb72
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x41cb72
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41cb72
sub eax, dword [edi]
sar eax, 1
jne 0x41cb72
push 0
push 0
push ebx
push 0x4181f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cb97
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 + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cbbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5c], 2
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cbdb
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc25
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 dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00471f66
add esp, 0x4c
ret 0x10