Function at 0x100732f0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x1015e148
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x54], ebx
jne 0x100734d1
mov eax, dword [esi + 0x40]
lea ecx, [esi + 0x44]
cmp eax, ecx
je 0x10073335
cmp eax, ebx
je 0x10073335
cmp byte [eax], bl
jne 0x1007333a
mov eax, str.ssdevm.dll
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.1000ba40
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x54], eax
cmp eax, ebx
je 0x1007345a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DeviceOpen
push eax
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x54]
push str.DeviceClose
push eax
call edi
mov ecx, dword [esi + 0x54]
push str.DeviceRead
push ecx
mov dword [esi + 0x5c], eax
call edi
mov edx, dword [esi + 0x54]
push str.DeviceWrite
push edx
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x54]
push str.SetDeviceTimeout
push eax
call edi
mov ecx, dword [esi + 0x54]
push str.PortAcquire
push ecx
mov dword [esi + 0x68], eax
call edi
mov edx, dword [esi + 0x54]
push str.PortRelease
push edx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x70], eax
cmp dword [esi + 0x58], ebx
je 0x100733f1
cmp dword [esi + 0x5c], ebx
je 0x100733f1
cmp dword [esi + 0x60], ebx
je 0x100733f1
cmp dword [esi + 0x64], ebx
je 0x100733f1
cmp dword [esi + 0x68], ebx
je 0x100733f1
cmp dword [esi + 0x6c], ebx
je 0x100733f1
cmp eax, ebx
jne 0x100734b0
lea eax, [esp + 0x10]
push str.SF_CMN_DM
push eax
call fcn.1005e920
add esp, 8
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.1005d580
test al, al
je 0x1007343a
mov ecx, dword [esp + 0x14]
push ecx
push str.ERROR:_SDMDevicePort::loadDM__cant_load_DM_functions_from__ts_
push 0x77
push str.SamsungFramework::Common::DM::SDMDevicePort::Impl::loadDM
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkWinCommonDMSDMDevicePort.cpp
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.1005e520
add esp, 0x1c
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.10117cb0
mov eax, dword [esi + 0x54]
cmp eax, ebx
je 0x100734b0
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x54], ebx
jmp 0x100734b0
lea eax, [esp + 0x10]
push str.SF_CMN_DM
push eax
call fcn.1005e920
add esp, 8
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.1005d580
test al, al
je 0x100734a3
mov ecx, dword [esp + 0x14]
push ecx
push str.ERROR:_SDMDevicePort::loadDM__cant_load__ts_
push 0x7b
push str.SamsungFramework::Common::DM::SDMDevicePort::Impl::loadDM
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkWinCommonDMSDMDevicePort.cpp
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.1005e520
add esp, 0x1c
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.10117cb0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
cmp eax, ecx
je 0x100734d1
cmp eax, ebx
je 0x100734d1
push eax
call fcn.1005a120
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret