Function at 0x1000b400
Capabilities:
Get common file path
Get file version info
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fce7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7b0
mov eax, dword [0x10084ca0]
push ebx
mov dword [esp + 0x7ac], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor ebx, ebx
mov byte [eax], bl
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x3b0]
rep stosd dword es:[edi], eax
mov ecx, 0x7d
lea edi, [esp + 0x1b8]
mov dword [esp + 0x18], ebx
rep stosd dword es:[edi], eax
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c4], ebx
call fcn.1001efcf
xor eax, eax
mov byte [esp + 0xb0], bl
mov ecx, 0x40
lea edi, [esp + 0xb1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0x7cc], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
mov byte [esp + 0x48], bl
mov ecx, 0x18
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x48]
mov eax, str.____fg5x
call fcn.1000aa70
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x18]
push 0x100527e8
push eax
call fcn.10001660
mov esi, dword [esp + 0x20]
add esp, 0x10
push ebx
push esi
lea ecx, [esp + 0x28]
call fcn.1001f062
cmp eax, 1
lea ecx, [esp + 0x20]
jne 0x1000b551
call fcn.1001ece0
mov ecx, dword [ebp + 8]
mov byte [ecx], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c4], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x7c4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000b54a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
jmp 0x1000b95b
call fcn.1001ece0
lea edx, [esp + 0x1b8]
mov eax, str.l:_3udl3r_x_u0_mf_sg5vx_6__prj4_
call fcn.1000aa70
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1bc]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000b924
lea edx, [esp + 0x1b8]
push str.MenuPath
mov ecx, 0x7d
lea edi, [esp + 0x1bc]
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x14], 0x400
rep stosd dword es:[edi], eax
call fcn.100285a6
add esp, 8
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x3b4]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push ebx
lea eax, [esp + 0x1c8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b919
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x3b0]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000b600
sub eax, edx
mov dword [esp + 0x38], eax
je 0x1000b924
lea eax, [esp + 0x3b0]
push eax
lea ecx, [esp + 0x14]
call fcn.100016a0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea ecx, [esp + 0x14]
call fcn.10004ee0
cmp al, 0x5c
je 0x1000b645
push 0x5c
lea ecx, [esp + 0x14]
call fcn.100093d0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x3c], eax
call fcn.10001090
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
push str.Binhintclient.exe
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c8], 2
call fcn.10002e50
mov esi, dword [esp + 0xc]
push ebx
push esi
lea ecx, [esp + 0x28]
call fcn.1001f062
cmp eax, 1
jne 0x1000b741
push ebx
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
je 0x1000b741
push edi
call fcn.1003ac0f
mov edx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push edi
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1000b6ce
push esi
call fcn.1003ac0a
add esp, 4
jmp 0x1000b741
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x10064b68
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
push esi
jne 0x1000b6f2
call fcn.1003ac0a
add esp, 4
jmp 0x1000b741
mov eax, dword [esp + 0x18]
mov dx, word [eax + 8]
mov cx, word [eax + 0xe]
mov di, word [eax + 0xa]
mov word [esp + 0x48], dx
mov dx, word [eax + 0xc]
mov word [esp + 0x40], cx
mov word [esp + 0x20], dx
call fcn.1003ac0a
movzx eax, word [esp + 0x20]
movzx ecx, word [esp + 0x40]
movzx edx, word [esp + 0x48]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push edx
movzx eax, di
push eax
push str._d._d._d._d
push ecx
call fcn.10001660
add esp, 0x1c
lea ecx, [esp + 0x20]
call fcn.1001ece0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x7c4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000b770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
push eax
call fcn.10001090
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
push str.BinSkin.dll
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c8], 3
call fcn.10002e50
mov ecx, dword [esp + 0xc]
push ebx
push ecx
lea ecx, [esp + 0x28]
call fcn.1001f062
cmp eax, 1
jne 0x1000b7e6
lea ecx, [esp + 0x20]
call fcn.1001ece0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc]
mov byte [edx], 1
call fcn.10001320
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c4], bl
call fcn.1001eff3
lea ecx, [esp + 0x10]
call fcn.10001320
mov al, 1
jmp 0x1000b95b
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10001300
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x3b0]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x3b0]
mov eax, str.___f_pvzj3_f__
mov byte [esp + 0x7c4], 4
call fcn.1000aa70
lea ecx, [esp + 0x3b0]
push ecx
lea ecx, [esp + 0x18]
call fcn.100031b0
mov edx, dword [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x28]
call fcn.1001f062
cmp eax, 1
jne 0x1000b87d
lea ecx, [esp + 0x20]
call fcn.1001ece0
lea ecx, [esp + 0x14]
call fcn.10001320
lea ecx, [esp + 0xc]
call fcn.10001320
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c4], bl
call fcn.1001eff3
lea ecx, [esp + 0x10]
call fcn.10001320
mov al, 1
jmp 0x1000b95b
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.100015b0
push str.Bin_
lea ecx, [esp + 0x18]
call fcn.100031b0
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x3b0]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x3b0]
mov eax, str._x_uc_o__3_u_px_l_
call fcn.1000aa70
lea ecx, [esp + 0x3b0]
push ecx
lea ecx, [esp + 0x18]
call fcn.100031b0
mov edx, dword [esp + 0x14]
push ebx
push edx
lea ecx, [esp + 0x28]
call fcn.1001f062
cmp eax, 1
lea ecx, [esp + 0x20]
je 0x1000b846
call fcn.1001ece0
lea ecx, [esp + 0x14]
call fcn.10001320
lea ecx, [esp + 0xc]
call fcn.10001320
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c4], bl
call fcn.1001eff3
lea ecx, [esp + 0x10]
call fcn.10001320
jmp 0x1000b959
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c4], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x7c4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
mov ecx, dword [esp + 0x7bc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7b4]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8