Function at 0x10008e00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aedf9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1022be34]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x34], esi
call fcn.10043249
mov ecx, eax
test ecx, ecx
je 0x10009012
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.10007db0
test al, al
jne 0x10008e94
push esi
lea ecx, [ebp - 0x18]
call fcn.1003bf40
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
lea edi, [esi - 0x10]
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x10008eba
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x10008ed0
call fcn.10043249
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1000901c
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0xf
push str._rtk_bridge.dll
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.1003c050
add esp, 0x14
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10008f12
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10008fd3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bridge_disk_scan
push eax
call edi
push str.bridge_open_handle
push dword [ebp - 0x18]
mov dword [ebx], eax
call edi
push str.bridge_check_target
push dword [ebp - 0x18]
mov dword [ebx + 4], eax
call edi
push str.bridge_write_unlock
push dword [ebp - 0x18]
mov dword [ebx + 8], eax
call edi
push str.led_get_ic_support_sync_light
push dword [ebp - 0x18]
mov dword [ebx + 0xc], eax
call edi
push str.led_mem_init
push dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
call edi
push str.led_mem_get_rgb_num
push dword [ebp - 0x18]
mov dword [ebx + 0x14], eax
call edi
push str.led_mem_write_rgb_direct
push dword [ebp - 0x18]
mov dword [ebx + 0x18], eax
call edi
push str.led_mem_set_bright
push dword [ebp - 0x18]
mov dword [ebx + 0x1c], eax
call edi
push str.bridge_disconnect
push dword [ebp - 0x18]
mov dword [ebx + 0x20], eax
call edi
push str.bridge_close_handle
push dword [ebp - 0x18]
mov dword [ebx + 0x24], eax
call edi
push str.led_mem_deinit
push dword [ebp - 0x18]
mov dword [ebx + 0x28], eax
call edi
push str.bridge_exit
push dword [ebp - 0x18]
mov dword [ebx + 0x2c], eax
call edi
mov dword [ebx + 0x30], eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10008ff2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.10177bf5
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008330
push 0x80004005
call fcn.10008330
int3