Function at 0x1005a050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [ecx]
test ecx, ecx
je 0x1005a05b
jmp 0x10063360
mov eax, 2
ret 8
push 0xffffffffffffffff
push 0x1015cbad
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b8]
mov esi, ecx
mov ecx, dword [esp + 0x1b4]
mov dword [esp + 0x3c], eax
mov al, byte [esi + 0xf0]
xor ebx, ebx
cmp al, bl
jne 0x1006349e
mov edx, 0x12c
lea ebp, [esi + 0x70]
push ecx
mov ecx, ebp
mov word [esi + 0x100], dx
call fcn.10061b80
push esi
push 1
mov ecx, esi
call fcn.10062070
cmp eax, 0x18
jne 0x100633ee
push esi
push ebx
mov ecx, esi
call fcn.10062070
cmp eax, ebx
je 0x10063402
lea ecx, [esi + 0xd0]
call fcn.1005c2b0
jmp 0x100639cb
lea edi, [esi + 0xd0]
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.1006aee0
test eax, eax
je 0x10063423
mov ecx, edi
call fcn.1005c2b0
jmp 0x100639cb
mov eax, dword [esi + 0x168]
push eax
call fcn.10070cb0
add esp, 4
push ebp
push esi
mov ecx, esi
call fcn.10060350
test al, al
jne 0x100634a8
lea ecx, [esp + 0x14]
push str.SF_SSIP_SDK
push ecx
call fcn.1005e920
add esp, 8
push 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x1b0], ebx
call fcn.1005d580
test al, al
je 0x1006348a
push str.Doc_Source_Type_is_not_supported_by_the_scanner
push 0x26a
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::open
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
lea edx, [esp + 0x24]
push 4
push edx
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.10117cb0
mov eax, 9
jmp 0x100639cb
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
push eax
push ecx
lea eax, [esi + 0xac]
push eax
lea ecx, [esi + 0xa4]
push ecx
mov ecx, esi
call fcn.10062900
mov edi, eax
cmp edi, ebx
jne 0x10063660
mov ecx, esi
call fcn.10060330
mov byte [esi + 0x164], al
call fcn.10061510
mov edi, eax
cmp edi, ebx
jne 0x10063660
lea ecx, [esp + 0x28]
call fcn.10071ca0
push ebp
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x1b4], 1
call fcn.10072440
test al, al
jne 0x1006357b
lea edx, [esp + 0x14]
push str.SF_SSIP_SDK
push edx
call fcn.1005e920
add esp, 8
push 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 2
call fcn.1005d580
test al, al
je 0x10063560
push str.Cannot_scan_with_desired_parameters
push 0x287
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::open
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
lea eax, [esp + 0x24]
push 4
push eax
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ac], 1
call fcn.10117cb0
mov edi, 9
jmp 0x1006364c
mov al, byte [esi + 0x2e]
cmp al, bl
je 0x100636e3
cmp byte [esi + 0x6c], bl
jne 0x100635f5
cmp byte [esi + 0xcc], bl
je 0x100635f0
lea ecx, [esp + 0x14]
push str.SF_SSIP_SDK
push ecx
call fcn.1005e920
add esp, 8
push 3
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 3
call fcn.1005d580
test al, al
je 0x100635df
push str.SBSC_mode_is_not_supported
push 0x292
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::open
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
lea edx, [esp + 0x24]
push 3
push edx
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ac], 1
call fcn.10117cb0
cmp byte [esi + 0x6c], bl
je 0x10063601
cmp byte [esi + 0xcc], bl
je 0x10063601
mov dl, 1
jmp 0x10063603
xor dl, dl
cmp byte [esi + 0xa2], bl
je 0x10063614
cmp byte [esi + 0x2d], bl
je 0x10063614
mov cl, 1
jmp 0x10063616
xor cl, cl
mov eax, dword [esi + 0xb8]
push edx
push ebx
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.1005f800
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1006b630
mov edi, eax
cmp edi, ebx
je 0x100636e3
lea ecx, [esp + 0x28]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.10117cb0
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10068d00
mov ecx, esi
call fcn.10068e90
lea ecx, [esp + 0x18]
push str.SSIPSDK
push ecx
call fcn.1005e920
add esp, 8
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1b0], 6
call fcn.1005d580
test al, al
je 0x100636c8
push edi
call fcn.1005c060
push eax
push str.SSIPSession:_Session_is_not_opened_due_to_error__ts
push 0x30a
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::open
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
lea edx, [esp + 0x30]
push 3
push edx
call fcn.1005e520
add esp, 0x20
lea ecx, [esp + 0x18]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.10117cb0
mov eax, edi
jmp 0x100639cb
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
call fcn.10060630
mov edi, eax
cmp edi, ebx
je 0x10063789
lea ecx, [esp + 0x14]
push str.SF_SSIP_SDK
push ecx
call fcn.1005e920
add esp, 8
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b0], 4
call fcn.1005d580
test al, al
je 0x10063773
push str._ERROR__cannot_calculate_Scan_Area
push 0x2aa
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::open
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ac], 1
call fcn.10117cb0
jmp 0x1006364c
mov ecx, esi
call fcn.100602f0
movzx ecx, byte [esi + 0x9c]
mov dword [esp + 0x38], eax
mov dword [esi + 0xf4], eax
cmp byte [esi + 0x4c], bl
je 0x100637be
add ecx, 0xa
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 0x10]
jmp 0x100637d2
add ecx, 0x19
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp byte [esi + 0x31], bl
je 0x100637e4
movzx ecx, byte [esi + 0xa3]
mov dword [esp + 0x1c], ecx
jmp 0x100637e8
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0x98]
mov edi, dword [esi + 0x94]
mov ebp, dword [esi + 0x90]
push ebx
mov ebx, dword [esp + 0x3c]
push ebx
push eax
mov eax, dword [esi + 0x8c]
push ecx
push edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
push edi
push ebp
push eax
mov eax, dword [esi + 0x88]
push eax
mov eax, dword [esi + 0x7c]
push eax
mov eax, dword [esi + 0x78]
push eax
mov eax, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.1005fa80
lea ecx, [esp + 0x64]
call fcn.10060f30
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x44]
lea ebx, [esi + 0xd0]
push eax
mov ecx, ebx
mov dword [esp + 0x24], ebx
call fcn.1006fd90
mov edi, eax
test edi, edi
jne 0x1006364c
mov ecx, dword [esp + 0x89]
push ecx
call fcn.1005f7a0
add esp, 4
mov dword [esi + 0xf4], eax
cmp eax, 7
jne 0x10063904
test byte [esi + 0xf8], 1
je 0x10063904
lea edx, [esp + 0x18]
push str.SF_SSIP_SDK
push edx
mov dword [esi + 0xf4], edi
call fcn.1005e920
add esp, 8
push 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b0], 5
call fcn.1005d580
test al, al
je 0x100638f3
push str.SSIPSession::open:_change_compression_to_NO_COMPRESS__wrong_device_was_detected__
push 0x2d3
push str.SamsungFramework::SSIPSDK::Inner::SSIPSessionImpl::open
push str.D:P4VSRC_COMMON_SFHostCommonSamsungFrameworkSourcesMAINSamsungFrameworkCmnSSIPSDKInnerSSIPSessionImpl.cpp
lea eax, [esp + 0x28]
push 3
push eax
call fcn.1005e520
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 1
call fcn.10117cb0
mov ebp, dword [esp + 0x3c]
mov cl, byte [esp + 0x8a]
mov byte [ebp], cl
mov eax, dword [esi + 0x7c]
cmp eax, 4
jne 0x1006395e
movzx eax, byte [esp + 0x7e]
sub eax, 0
je 0x10063937
sub eax, 1
je 0x10063930
mov eax, 2
jmp 0x10063939
mov eax, 1
jmp 0x10063939
xor eax, eax
sub eax, 0
je 0x10063955
sub eax, 1
je 0x1006394c
mov dword [ebp + 0xc], 4
jmp 0x10063961
mov dword [ebp + 0xc], 1
jmp 0x10063961
mov dword [ebp + 0xc], 0
jmp 0x10063961
mov dword [ebp + 0xc], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ebp + 4], edx
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x16c]
push ecx
call fcn.10070cb0
add esp, 4
cmp byte [esi + 0xb4], 0
je 0x100639a7
mov ecx, ebx
call fcn.10069c00
mov edi, eax
test edi, edi
jne 0x1006364c
mov edx, dword [esi + 0x170]
push edx
call fcn.10070cb0
add esp, 4
mov al, byte [esp + 0x30]
lea ecx, [esp + 0x28]
mov byte [ebp + 1], al
mov dword [esp + 0x1ac], 0xffffffff
call fcn.10117cb0
mov byte [esi + 0xf0], 1
xor eax, eax
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.1013d581
add esp, 0x19c
ret 8