Function at 0x1000d440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b38e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e3f88]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
call fcn.1000d190
push 1
lea ebx, [edi + 0x358]
push ebx
mov eax, str.TabLayout_Cert_MainView
call fcn.1002e240
push 0
push 0x100e7858
push 0x100e77a8
push 0
push eax
call fcn.100ac3d0
add esp, 0x14
test eax, eax
je 0x1000d4b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1f8]
push 0
call eax
push 1
push ebx
mov eax, str.Button_RefreshDevice
call fcn.1002e240
mov esi, eax
or ebp, 0xffffffff
test esi, esi
je 0x1000d4f3
xor ecx, ecx
push ecx
mov eax, 0x1000d300
push eax
mov ecx, edi
lea eax, [esp + 0x24]
call fcn.1000d780
add esp, 8
add esi, 0x38
mov ecx, eax
mov dword [esp + 0x40], 0
call fcn.10030e50
mov dword [esp + 0x40], ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x100e6bcc
push ecx
call fcn.10001050
mov ecx, eax
call fcn.100013d0
push ecx
mov dword [esp + 0x48], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Button_RefreshDevice
call fcn.10003840
push edi
mov dword [esp + 0x4c], ebp
call fcn.1000cd50
push 1
push ebx
mov eax, str.Button_RefreshDevice_Try
call fcn.1002e240
mov esi, eax
test esi, esi
je 0x1000d56f
xor ecx, ecx
push ecx
mov eax, 0x1000d3b0
push eax
mov ecx, edi
lea eax, [esp + 0x24]
call fcn.1000d780
add esp, 8
add esi, 0x38
mov ecx, eax
mov dword [esp + 0x40], 2
call fcn.10030e50
mov dword [esp + 0x40], ebp
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push 0x100e6be8
push edx
call fcn.10001050
mov ecx, eax
call fcn.100013d0
push ecx
mov dword [esp + 0x48], 3
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Button_RefreshDevice_Try
call fcn.10003840
push edi
mov dword [esp + 0x4c], ebp
call fcn.1000cd50
push 1
push ebx
mov eax, str.Button_CertInfo_RefreshDevice
call fcn.1002e240
mov esi, eax
test esi, esi
je 0x1000d5f3
xor ecx, ecx
push ecx
mov eax, 0x1000d300
push eax
mov ecx, edi
lea eax, [esp + 0x24]
call fcn.1000d780
add esp, 8
add esi, 0x38
mov ecx, eax
mov dword [esp + 0x40], 4
call fcn.10030e50
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], vtable.DuiLib::CDelegateBase.0
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x100e6c04
push eax
call fcn.10001050
mov ecx, eax
call fcn.100013d0
push ecx
mov dword [esp + 0x48], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Button_CertInfo_RefreshDevice
call fcn.10003840
push edi
mov dword [esp + 0x4c], ebp
call fcn.1000cd50
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x100e6b94
push ecx
call fcn.10001050
mov ecx, eax
call fcn.100013d0
push ecx
mov dword [esp + 0x48], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Label_status_no_device
call fcn.10003840
push edi
mov dword [esp + 0x4c], ebp
call fcn.1000cd50
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push 0x100e6bb0
push edx
call fcn.10001050
mov ecx, eax
call fcn.100013d0
push ecx
mov dword [esp + 0x48], 7
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Label_status_connecting_device
call fcn.10003840
push edi
mov dword [esp + 0x4c], ebp
call fcn.1000cd50
call fcn.1001ccd0
push eax
call fcn.1001dd10
test eax, eax
je 0x1000d6d5
push 0
push 0
push edi
push 0x1000cc40
push 0
push 0
call fcn.1008f61e
add esp, 0x18
test eax, eax
jne 0x1000d6d5
call fcn.1000cd00
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret