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

Disassembly:
push 0xffffffffffffffff
push 0x10166791
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x6c], edi
mov ebp, dword [0x101f6124]
call fcn.1002acb0
mov eax, dword [esp + 0x74]
push 0xffffffffffffffff
push edi
lea esi, [ebp + 0x168]
push eax
mov ecx, esi
call fcn.100015f0
mov ecx, esi
call fcn.1000c440
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 3
mov dword [ebp + 0xf8], ecx
mov ecx, ebp
mov byte [ebp + 0x184], al
mov byte [ebp + 0x10e], 1
call fcn.1002ca40
push 4
call fcn.1013d60d
add esp, 4
mov dword [esp + 0x74], eax
mov byte [esp + 0x6c], 1
cmp eax, edi
je 0x1002c348
mov ecx, eax
call fcn.1005eb70
jmp 0x1002c34a
xor eax, eax
lea edx, [esp + 0x24]
push edx
mov ecx, eax
mov byte [esp + 0x70], 0
call fcn.10035050
mov byte [esp + 0x6c], 2
push 4
mov dword [ebp + 0x394], edi
call fcn.1013d60d
mov esi, eax
add esp, 4
mov dword [esp + 0x74], esi
mov byte [esp + 0x6c], 3
cmp esi, edi
je 0x1002c3f7
mov edx, dword [esp + 0x24]
sub esp, 0x18
mov dword [esp + 0x34], esp
mov ecx, esp
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], esp
cmp eax, edi
je 0x1002c3b2
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov edx, dword [esp + 0x98]
sub esp, 8
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 4], edx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x44], esp
cmp eax, edi
je 0x1002c3e5
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
push ebp
push ecx
call fcn.100350b0
add esp, 0x18
push esi
call fcn.10035230
jmp 0x1002c3f9
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x70], 2
call fcn.10015710
mov byte [esp + 0x6c], 4
mov ebx, 0x186a0
jmp 0x1002c420
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push 0x10018b20
push edx
call fcn.100183a0
mov eax, esp
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], ecx
lea eax, [esp + 0x24]
lea esi, [esp + 0x44]
call fcn.100367e0
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
add esp, 8
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov dword [esp + 0x3c], edx
call fcn.1013c920
test al, al
jne 0x1002c528
call fcn.10013ce0
test al, al
je 0x1002c420
mov byte [esp + 0x6c], 2
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1002c4ad
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002c4ad
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002c4ad
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x6c], 0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1002c4e4
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002c4e4
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002c4e4
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [esp + 0x6c], 0xffffffff
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x1002c51e
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002c51e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002c51e
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, 1
jmp 0x1002c84c
lea edi, [ebp + 0x64]
lea eax, [esp + 0x24]
call fcn.10027120
mov eax, dword [ebp + 0x394]
test eax, eax
je 0x1002c657
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x1002c54a
jmp dword [eax*4 + 0x1002c864]
xor edx, edx
mov ecx, str.err_sf_timeout
call fcn.10001c60
jmp 0x1002c59e
xor edx, edx
mov ecx, str.err_sf_io_error
call fcn.10001c60
jmp 0x1002c59e
xor edx, edx
mov ecx, str.err_sf_misuse
call fcn.10001c60
jmp 0x1002c59e
xor edx, edx
mov ecx, str.err_sf_not_supported
call fcn.10001c60
jmp 0x1002c59e
xor edx, edx
mov ecx, str.err_sf_access_error
call fcn.10001c60
jmp 0x1002c59e
push 2
call fcn.10002fe0
mov byte [esp + 0x6c], 2
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1002c5d5
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002c5d5
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002c5d5
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x6c], 0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1002c60c
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002c60c
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002c60c
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [esp + 0x6c], 0xffffffff
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x1002c849
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1002c849
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1002c849
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x1002c849
call fcn.10013ce0
test al, al
je 0x1002c697
lea eax, [esp + 0x2c]
mov byte [esp + 0x6c], 2
call fcn.100204a0
lea eax, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.100204a0
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
call fcn.100204a0
mov eax, 1
jmp 0x1002c84c
mov edx, dword [ebp + 0x17c]
push 0x17
lea ecx, [ebp + 0x168]
push str.Samsung_CLX_216x_Series
push edx
push 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 1
call fcn.10001120
test eax, eax
jne 0x1002c6c5
mov byte [esp + 0x18], 1
push 4
mov byte [0x101c4aa4], 0
call fcn.1013d60d
add esp, 4
mov dword [esp + 0x74], eax
mov byte [esp + 0x6c], 5
test eax, eax
je 0x1002c700
mov ecx, dword [edi]
lea edx, [esp + 0x18]
push edx
lea edx, [ebp + 0x14c]
push edx
push 0x101c4aa0
push ecx
mov ecx, eax
call fcn.10059fb0
jmp 0x1002c702
xor eax, eax
mov byte [esp + 0x6c], 4
mov dword [ebp + 0x60], eax
test eax, eax
je 0x1002c815
lea esi, [ebp + 0x6c]
push esi
mov ecx, eax
call fcn.1005a030
cmp eax, 1
je 0x1002c660
test eax, eax
jne 0x1002c812
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x14]
or eax, dword [esi + 0x10]
or eax, dword [esi + 0xc]
or eax, dword [esi + 8]
or eax, dword [esi + 4]
or eax, dword [esi]
mov esi, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], esi
je 0x1002c7e1
test al, 1
je 0x1002c7cf
push esi
call fcn.10036870
add esp, 4
push eax
lea ecx, [esp + 0x48]
call fcn.100014e0
lea eax, [ebp + 8]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 6
call fcn.10031b90
lea ecx, [esp + 0x44]
mov dword [eax], esi
mov byte [esp + 0x6c], 4
call fcn.10001b00
mov ecx, esi
lea eax, [esp + 0x34]
call fcn.1002c000
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1002c7a8
cmp dword [esp + 0x38], 0
jne 0x1002c7b5
mov edi, 0x12c
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x74]
push ecx
lea ebx, [ebp + 0x28]
call fcn.10031cb0
mov edx, dword [esp + 0x38]
mov dword [eax], edi
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
add esi, esi
shr eax, 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x1c], eax
jne 0x1002c755
lea eax, [esp + 0x2c]
mov byte [esp + 0x6c], 2
call fcn.100204a0
lea eax, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.100204a0
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
call fcn.100204a0
xor eax, eax
jmp 0x1002c84c
push eax
jmp 0x1002c817
push 2
call fcn.10002fe0
lea eax, [esp + 0x2c]
mov byte [esp + 0x6c], 2
call fcn.100204a0
lea eax, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.100204a0
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
call fcn.100204a0
or eax, 0xffffffff
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc