Function at 0x1007aca0
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101754b7
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x10206870]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
mov eax, dword [esp + 0x334]
mov dword [esp + 0x1c], eax
call fcn.1013c470
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x101a4cd8
call esi
mov edi, eax
mov dword [esp + 0x4c], edi
test edi, edi
je 0x1007b43f
push 0x101a4ce8
call esi
mov ebp, eax
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x1007b42f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101a4cf0
push edi
call esi
mov dword [esp + 0x44], eax
test eax, eax
je 0x1007b42f
push 0x101a4d0c
push edi
call esi
mov dword [esp + 0x58], eax
test eax, eax
je 0x1007b42f
push 0x101a4d2c
push edi
call esi
mov dword [esp + 0x60], eax
test eax, eax
je 0x1007b42f
push 0x101a4d50
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x1007b42f
push 0x101a4d68
push ebp
call esi
mov edi, eax
test edi, edi
je 0x1007b42b
push 0x101a4d78
push ebp
call esi
mov dword [esp + 0x5c], eax
test eax, eax
je 0x1007b42b
push 0x101a4d8c
push ebp
call esi
mov dword [esp + 0x30], eax
test eax, eax
je 0x1007b42b
push 0x101a4da4
push ebp
call esi
mov dword [esp + 0x28], eax
test eax, eax
je 0x1007b42b
push 0x101a4dbc
push ebp
call esi
mov dword [esp + 0x34], eax
test eax, eax
je 0x1007b42b
push 0x101a4dcc
push ebp
call esi
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1007b42b
push str.HidD_GetSerialNumberString
push ebp
call esi
push 0x101a4e00
push ebp
call esi
lea ecx, [esp + 0x70]
push ecx
call edi
push 0x12
push 0
push 0
lea edx, [esp + 0x7c]
push edx
call ebx
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, 0xffffffff
je 0x1007b42b
lea eax, [esp + 0x80]
push eax
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
push esi
mov dword [esp + 0x94], 0x1c
mov dword [esp + 0x4c], 0
call dword [esp + 0x58]
test eax, eax
je 0x1007b426
lea esp, [esp]
mov edi, dword [esp + 0x60]
push 0
lea edx, [esp + 0x40]
push edx
push 0
push 0
lea eax, [esp + 0x90]
push eax
push esi
call edi
mov eax, dword [esp + 0x3c]
push eax
mov esi, eax
call fcn.1003e892
add esp, 4
push 0
lea ecx, [esp + 0x40]
push ecx
mov ebx, eax
mov eax, dword [esp + 0x2c]
push esi
push ebx
lea edx, [esp + 0x90]
push edx
push eax
mov dword [esp + 0x38], ebx
mov dword [ebx], 5
call edi
test eax, eax
je 0x1007b3ef
push 0
lea edi, [ebx + 4]
mov ebx, 0x40000000
push ebx
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
or esi, 0xffffffff
cmp ebp, esi
je 0x1007b3e7
lea ecx, [esp + 0x64]
push ecx
push ebp
mov dword [esp + 0x6c], 0xc
call dword [esp + 0x64]
test al, al
je 0x1007b3e0
movzx eax, word [esp + 0x68]
cmp eax, 0x51d
je 0x1007b2c8
cmp eax, 0x955
je 0x1007b1e2
cmp eax, 0x1044
jne 0x1007b3e0
movzx eax, word [esp + 0x6a]
cmp eax, 0x4001
je 0x1007b089
cmp eax, 0x7a50
jne 0x1007b3e0
mov esi, dword [esp + 0x1c]
test dword [esi + 0x10], ebx
je 0x1007b3e0
push 0x100
lea edx, [esp + 0x120]
push edx
push ebp
call dword [esp + 0x3c]
push 0
push 0
push 0x100
lea eax, [esp + 0x228]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x130]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x1b4
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x32c], 2
test eax, eax
je 0x1007af99
mov ebx, eax
call fcn.100abf80
mov ebx, eax
jmp 0x1007af9b
xor ebx, ebx
mov dword [esp + 0x32c], 0xffffffff
mov edi, dword [esi + 0xc]
push ebx
call fcn.10006560
push 0x110
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x1007afd0
push str.Gigabyte_AORUS
mov esi, eax
call fcn.1006ab20
mov esi, eax
jmp 0x1007afd2
xor esi, esi
call fcn.1013c470
mov ecx, dword [eax + 0x30]
push esi
call fcn.100014e0
test dword [esi + 4], 0x80000000
je 0x1007afef
mov dword [ebx + 0x16c], esi
lea edx, [esp + 0x40]
push edx
push ebp
call dword [esp + 0x30]
test al, al
je 0x1007b3e0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xdc]
push eax
push ecx
call dword [esp + 0x3c]
cmp eax, 0x110000
jne 0x1007b07f
push 0x23c
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x32c], 3
test eax, eax
je 0x1007b05e
movzx edx, word [esp + 0xe0]
movzx ecx, word [esp + 0xe2]
push edx
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
mov esi, eax
call fcn.10062130
mov esi, eax
jmp 0x1007b060
xor esi, esi
mov dword [esp + 0x32c], 0xffffffff
call fcn.1013c470
mov ecx, dword [eax + 0x28]
push esi
call fcn.10001610
mov dword [ebx + 0x164], esi
mov edx, dword [esp + 0x40]
push edx
jmp 0x1007b3dc
mov eax, dword [esp + 0x1c]
test dword [eax + 0x10], ebx
je 0x1007b3e0
push 0x100
lea ecx, [esp + 0x120]
push ecx
push ebp
call dword [esp + 0x3c]
xor esi, esi
push esi
push esi
push 0x100
lea edx, [esp + 0x228]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x130]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x22c
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x32c], esi
cmp eax, esi
je 0x1007b0f2
mov ebx, eax
call fcn.100acd50
mov ebx, eax
jmp 0x1007b0f4
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x32c], 0xffffffff
mov edi, dword [ecx + 0xc]
push ebx
call fcn.10006560
push 0x110
call fcn.1003ddbb
add esp, 4
cmp eax, esi
je 0x1007b12b
push str.Gigabyte_ODIN
mov esi, eax
call fcn.1006ab20
mov esi, eax
call fcn.1013c470
mov ecx, dword [eax + 0x30]
push esi
call fcn.100014e0
test dword [esi + 4], 0x80000000
je 0x1007b148
mov dword [ebx + 0x16c], esi
lea edx, [esp + 0x54]
push edx
push ebp
call dword [esp + 0x30]
test al, al
je 0x1007b3e0
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x9c]
push eax
push ecx
call dword [esp + 0x3c]
cmp eax, 0x110000
jne 0x1007b1d8
push 0x23c
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x32c], 1
test eax, eax
je 0x1007b1b7
movzx edx, word [esp + 0xa0]
movzx ecx, word [esp + 0xa2]
push edx
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 4
push ecx
mov esi, eax
call fcn.10062130
mov esi, eax
jmp 0x1007b1b9
xor esi, esi
mov dword [esp + 0x32c], 0xffffffff
call fcn.1013c470
mov ecx, dword [eax + 0x28]
push esi
call fcn.10001610
mov dword [ebx + 0x164], esi
mov edx, dword [esp + 0x54]
push edx
jmp 0x1007b3dc
movzx eax, word [esp + 0x6a]
sub eax, 9
je 0x1007b254
sub eax, 1
je 0x1007b227
sub eax, 1
jne 0x1007b3e0
push 0x420
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x32c], 6
test eax, eax
je 0x1007b28e
push eax
mov ecx, 0x100
call fcn.100af430
jmp 0x1007b290
push 0x420
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x32c], 5
test eax, eax
je 0x1007b28e
push eax
mov ecx, 0x80
call fcn.100af430
jmp 0x1007b290
mov eax, dword [esp + 0x1c]
test dword [eax + 0x10], ebx
je 0x1007b3e0
push 0x420
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x32c], 4
test eax, eax
je 0x1007b28e
push eax
mov ecx, 0x10
call fcn.100af430
jmp 0x1007b290
xor eax, eax
mov dword [esp + 0x32c], esi
mov esi, eax
test esi, esi
je 0x1007b3e0
push edi
lea ecx, [esi + 0x188]
push 0x200
push ecx
call fcn.1003dc98
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0xc]
add esp, 0xc
push esi
call fcn.10006560
jmp 0x1007b3e0
lea eax, [esp + 0x50]
push eax
push ebp
call dword [esp + 0x30]
test al, al
je 0x1007b3e0
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x9c]
push ecx
push edx
call dword [esp + 0x3c]
cmp eax, 0x110000
jne 0x1007b3d7
mov eax, 0x84
cmp word [esp + 0x9e], ax
jne 0x1007b3d7
cmp word [esp + 0x9c], 4
jne 0x1007b3d7
push 0x100
lea ecx, [esp + 0x120]
push ecx
push ebp
call dword [esp + 0x3c]
push 0
push 0
push 0x100
lea edx, [esp + 0x228]
push edx
push esi
lea eax, [esp + 0x130]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x424
call fcn.1003ddbb
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1007b371
lea eax, [esp + 0x21c]
call fcn.100b6360
mov ebx, eax
jmp 0x1007b373
xor ebx, ebx
push edi
lea ecx, [ebx + 0x1e4]
push 0x200
push ecx
call fcn.1003dc98
mov edx, dword [esp + 0x28]
mov edi, dword [edx + 0xc]
add esp, 0xc
push ebx
call fcn.10006560
push 0x4b0
call fcn.1003ddbb
mov esi, eax
add esp, 4
test esi, esi
je 0x1007b3b8
lea eax, [esp + 0x21c]
call fcn.101404e0
mov esi, eax
jmp 0x1007b3ba
xor esi, esi
test dword [esi + 4], 0x80000000
je 0x1007b3c9
mov dword [ebx + 0x16c], esi
call fcn.1013c470
mov ecx, dword [eax + 0x30]
push esi
call fcn.100014e0
mov eax, dword [esp + 0x50]
push eax
call dword [esp + 0x30]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
push ebx
call fcn.1003e7b5
mov eax, dword [esp + 0x3c]
add esp, 4
inc eax
lea ecx, [esp + 0x80]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
push 0
push eax
call dword [esp + 0x58]
mov esi, dword [esp + 0x24]
test eax, eax
jne 0x1007ae50
push esi
call dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
call esi
test ebp, ebp
je 0x1007b43f
push ebp
call esi
mov eax, 1
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.1003dc89
add esp, 0x31c
ret 4