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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ac12
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x10073010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x438], edi
mov esi, ecx
mov dword [ebp - 0x434], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x430], eax
mov dword [esi], 0
mov dword [esi + 4], 0x20000000
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
mov dword [ebp - 4], 0
xor cl, cl
cmp dword [esi], 0
mov dword [ebp - 0x43c], 1
mov byte [ebp - 0x429], cl
jne 0x1001968e
xor ebx, ebx
cmp dword [edi + 4], ebx
ja 0x10019409
xor edi, edi
jmp 0x10019412
mov eax, dword [edi]
mov ebx, 1
mov edi, dword [eax]
test edi, edi
je 0x10019631
lea ebx, [ebx]
push 0
push 0x100770b0
push 0x10077094
push 0
push edi
call fcn.10059811
add esp, 0x14
test eax, eax
jne 0x10019487
push eax
push 0x10077078
push 0x10077094
push eax
push edi
call fcn.10059811
add esp, 0x14
test eax, eax
je 0x10019487
mov edx, dword [edi + 0x50]
xor ecx, ecx
test edx, edx
jne 0x10019461
xor esi, esi
jmp 0x1001946b
mov eax, dword [edi + 0x4c]
mov ecx, 1
mov esi, dword [eax]
test esi, esi
je 0x10019487
nop
mov eax, dword [ebp + 8]
cmp dword [esi + 0x1c], eax
je 0x100194a5
cmp ecx, edx
jae 0x10019487
mov eax, dword [edi + 0x4c]
mov esi, dword [eax + ecx*4]
inc ecx
test esi, esi
jne 0x10019470
mov eax, dword [ebp - 0x438]
cmp ebx, dword [eax + 4]
jae 0x10019625
mov eax, dword [eax]
mov edi, dword [eax + ebx*4]
inc ebx
test edi, edi
jne 0x10019420
jmp 0x10019625
mov ebx, dword [ebp - 0x430]
push 0x50
push 0
push ebx
mov byte [ebp - 0x429], 1
call fcn.1004c670
mov eax, dword [edi + 0x78]
add esp, 0xc
mov edx, esi
mov dword [ebx + 0xc], eax
mov ecx, edi
call fcn.1001ccf0
mov ebx, eax
test ebx, ebx
je 0x100194ea
mov edx, ebx
mov ecx, edi
call fcn.1001c870
mov ecx, dword [ebp - 0x430]
movzx eax, al
mov dword [ecx], eax
jmp 0x100194f0
mov ecx, dword [ebp - 0x430]
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x14], eax
movzx eax, byte [esi + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x40], eax
cmp byte [esi + 0x60], 0
je 0x1001955f
mov dword [ecx + 4], 1
lea eax, [ebp - 0x20]
push dword [esi + 0x5c]
xorps xmm0, xmm0
push str.Enclosure__d
push 0x10
push eax
movdqu xmmword [ebp - 0x20], xmm0
call fcn.1004af86
push 0x10
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x430]
add eax, 0x20
push 0x10
push eax
call fcn.100495df
add esp, 0x20
jmp 0x1001957a
push 0x10
lea eax, [esi + 0x2c]
mov dword [ecx + 4], 0
push eax
lea eax, [ecx + 0x20]
push 0x10
push eax
call fcn.100495df
add esp, 0x10
push 8
lea eax, [esi + 0x40]
push eax
mov eax, dword [ebp - 0x430]
add eax, 0x34
push 8
push eax
call fcn.100495df
push 4
lea eax, [esi + 0x3c]
push eax
mov eax, dword [ebp - 0x430]
add eax, 0x30
push 4
push eax
call fcn.100495df
push 8
lea eax, [esi + 0x24]
push eax
mov eax, dword [ebp - 0x430]
add eax, 0x18
push 8
push eax
call fcn.100495df
add esp, 0x30
test ebx, ebx
je 0x10019619
mov esi, dword [edi + 0x44]
xor ecx, ecx
test esi, esi
jne 0x100195d3
xor edx, edx
jmp 0x100195dd
mov eax, dword [edi + 0x40]
mov ecx, 1
mov edx, dword [eax]
test edx, edx
je 0x10019619
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x438], ebx
mov ebx, dword [eax + 0x1c]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0x438]
cmp esi, dword [eax + 0x10]
mov esi, dword [edi + 0x44]
jne 0x1001960a
cmp ebx, dword [eax + 0x14]
je 0x100196ac
cmp ecx, esi
jae 0x10019619
mov eax, dword [edi + 0x40]
mov edx, dword [eax + ecx*4]
inc ecx
test edx, edx
jne 0x100195f0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x430]
mov dword [ecx + 0x4c], eax
mov esi, dword [ebp - 0x434]
mov cl, byte [ebp - 0x429]
cmp dword [esi], 0
jne 0x1001968e
test cl, cl
jne 0x1001968e
push 0x401
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.1004c670
add esp, 0xc
lea eax, [ebp - 0x428]
push dword [ebp + 8]
push str.Invalid_Handle_passed_in_internalIsiGetEndDeviceInfo__Received:__d
push 0x401
push eax
call fcn.10003190
add esp, 0x10
mov dword [esi], 4
mov ecx, esi
mov dword [esi + 4], 0xa0000004
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
lea eax, [ebp - 0x428]
mov ecx, esi
push eax
call sym.ISDI2.dll_public:_void___thiscall_CConsolidatedError::AddErrorMessage_char_const__
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004952f
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.1001cc70
test eax, eax
je 0x10019619
mov eax, dword [eax + 0x5c]
jmp 0x1001961c