Function at 0x10017560
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004fab0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100701bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x1001759e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
lea ecx, [ebp - 0x54]
call fcn.10025510
push 0x10060a58
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10012350
push 0x10060a48
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10012350
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x100175da
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x100175f9
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.1000e380
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
cmp eax, 0x10
jb 0x10017620
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.1000e380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
cmp eax, 0x10
jb 0x1001764e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.1000e380
mov eax, dword [edi + 4]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
test eax, eax
jne 0x10017694
mov ecx, dword [ebp + 8]
push 0x3d
push 0x10060a5c
call fcn.1000dd80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xffffff90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QueryAppVer
push eax
call esi
push str.SetDeviceNo
push dword [edi + 4]
mov dword [edi + 8], eax
call esi
push str.GetDeviceNo
push dword [edi + 4]
mov dword [edi + 0xc], eax
call esi
push str.SetMasterKey
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push str.SetWorkKey
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.InputPwd
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.KeyboardPlaySound
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.KeyboardShowStr
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push str.CloseKeyBoard
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
cmp dword [edi + 8], 0
mov dword [edi + 0x28], eax
je 0x10017756
cmp dword [edi + 0xc], 0
je 0x10017756
cmp dword [edi + 0x10], 0
je 0x10017756
cmp dword [edi + 0x14], 0
je 0x10017756
cmp dword [edi + 0x18], 0
je 0x10017756
cmp dword [edi + 0x1c], 0
je 0x10017756
cmp dword [edi + 0x20], 0
je 0x10017756
cmp dword [edi + 0x24], 0
je 0x10017756
test eax, eax
je 0x10017756
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
mov eax, 0xffffff8f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4