Function at 0x41cd20
Capabilities:
Create thread
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4766a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x49eef8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
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.00403100
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0040dad0
add esp, 0xc
test eax, eax
jne 0x41cd84
xor al, al
jmp 0x41cd91
lea edx, [esp + 0x1c]
push edx
call fcn.0040db30
add esp, 4
mov edx, dword [0x47ebd4]
mov ecx, dword [str..X:]
cbw
movzx esi, ax
mov eax, dword [0x47ebd8]
mov dword [esp + 0x4c], eax
mov eax, dword [0x47ebcc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
sub eax, 0x8000
mov dword [esp + 0x48], edx
mov edx, dword [0x47ebc8]
mov dword [esp + 0x44], ecx
mov cx, word [0x47ebdc]
mov dword [esp + 0x3c], edx
mov word [esp + 0x50], cx
mov word [esp + 0x4c], si
mov word [esp + 0x3c], si
je 0x41ce55
sub eax, 4
jne 0x41d34b
lea ecx, [esp + 0x1c]
call fcn.0040e480
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 9
mov dword [esp + 0x30], 3
call fcn.004043f0
push 7
push 0x47e3d4
lea ecx, [esp + 0x28]
call fcn.00402840
push 7
push 0x47e76c
lea ecx, [esp + 0x2c]
call fcn.00402840
push 0
push 0x8004
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.0041a330
lea ecx, [esp + 0x1c]
call fcn.0040e4e0
jmp 0x41d34b
mov ecx, dword [esp + 0x68]
cmp dword [ecx - 0xc], 0
jl 0x41ceab
push str.CDROM
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
mov ecx, dword [esp + 0x70]
add esp, 8
test eax, eax
je 0x41ce83
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jg 0x41d148
cmp dword [ecx - 0xc], 0
jl 0x41ceab
push 0x481f18
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41ceab
sub eax, dword [esp + 0x68]
sar eax, 1
cmp eax, 0xffffffff
jg 0x41d148
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x41d34b
lea ecx, [esp + 0x3c]
push ecx
push str.DriveLetter___s
call fcn.00403100
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.0040e480
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 6
mov dword [esp + 0x30], 3
call fcn.004043f0
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.00412e40
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x68], 7
call fcn.004023a0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00416be0
mov ebx, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], bl
call fcn.00407c60
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.004043f0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call fcn.004043f0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004023a0
call fcn.00450e70
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.004023a0
call fcn.00450fb0
movzx eax, ax
mov ecx, 0x5000
add esp, 4
cmp ax, cx
jb 0x41cf97
mov edx, 0x5aff
cmp ax, dx
jbe 0x41cff9
mov eax, dword [esp + 0x68]
push eax
call fcn.00452810
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
test eax, eax
je 0x41d0a2
mov dword [esp + 0x2c], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403100
add esp, 8
cmp dword [esp + 0x2c], ebx
je 0x41d0d5
lea edx, [esp + 0x44]
push edx
call fcn.00452810
add esp, 4
test eax, eax
je 0x41d0d5
mov dword [esp + 0x2c], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403100
add esp, 8
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x41d10d
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jl 0x41d10d
mov esi, dword [sym.imp.MSVCR90.dll_wcsstr]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41d10d
sub eax, dword [esp + 0x20]
sar eax, 1
cmp eax, 0xffffffff
je 0x41d10d
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x41d10d
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], 0
jl 0x41d10d
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x41d10d
sub eax, dword [esp + 0x24]
sar eax, 1
cmp eax, 0xffffffff
je 0x41d10d
push 0
push 0x8000
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0041a330
lea ecx, [esp + 0x14]
call fcn.00401e00
lea ecx, [esp + 0x18]
call fcn.00401e00
lea ecx, [esp + 0x1c]
call fcn.0040e4e0
jmp 0x41d34b
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403100
add esp, 8
cmp dword [esp + 0x2c], ebx
je 0x41cfb6
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00452810
add esp, 4
test eax, eax
je 0x41cfb6
mov dword [esp + 0x2c], ebx
call esi
push eax
push str.ScsiCmdCallCheck_ERROR____d
call fcn.00403100
add esp, 8
cmp dword [esp + 0x2c], ebx
je 0x41cfe9
lea eax, [esp + 0x44]
push eax
call fcn.00452810
add esp, 4
test eax, eax
je 0x41cfe9
mov dword [esp + 0x2c], ebx
jmp 0x41cff9
lea ecx, [esp + 0x14]
call fcn.00401e00
lea ecx, [esp + 0x18]
call fcn.00401e00
lea ecx, [esp + 0x1c]
call fcn.0040e4e0
lea ecx, [esp + 0x68]
call fcn.00401e00
lea ecx, [esp + 0x70]
call fcn.00401e00
lea ecx, [esp + 0x74]
call fcn.00401e00
jmp 0x41d3bd
lea edx, [esp + 0x3c]
push edx
mov ecx, 0x49f06c
call fcn.00403410
push 0x5c
mov ecx, 0x49f06c
call fcn.0040e840
lea eax, [esp + 0x3c]
push eax
push str._szVolumeTypePath___s
call fcn.00403100
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x49f474
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov ecx, dword [0x49f06c]
push ecx
lea edx, [esp + 0x38]
push str._sSamsungKiesInstaller.ini
push edx
mov byte [esp + 0x6c], 3
call fcn.00402e10
mov esi, dword [esp + 0x40]
push esi
push str._strInstallerCfgPath___s
call fcn.00403100
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 0x41d215
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._open_error____d_
call fcn.00403100
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 0x41d34b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41d34b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._SamsungKiesInstaller.ini_file_exist
call fcn.00403100
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.00413120
mov edx, dword [esp + 0x14]
push edx
push str._strLabel_s
mov byte [esp + 0x68], 4
call fcn.00403100
add esp, 4
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004062a0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.004134c0
mov edx, dword [esp + 0x18]
push edx
push str._strVolumeLabel_s
mov byte [esp + 0x68], 5
call fcn.00403100
add esp, 8
lea ecx, [esp + 0x18]
call fcn.0040e7e0
mov esi, dword [eax]
lea ecx, [esp + 0x14]
call fcn.0040e7e0
mov edi, eax
test esi, esi
je 0x41d2e2
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x41d2e2
push esi
push eax
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41d2e2
sub eax, dword [edi]
sar eax, 1
jne 0x41d2e2
push 0
push 0
push ebx
push 0x418190
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 0x41d307
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 0x41d32c
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 0x41d34b
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 0x41d370
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 0x41d395
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 0x41d3bd
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.00472076
add esp, 0x50
ret 0x10