Function at 0x10094500
Capabilities:
Extract resource via kernel32 functions
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5612
mov eax, dword fs:[0]
push eax
sub esp, 0xcac
mov eax, dword [section..data]
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 dword [ebp - 0xcb4], edx
mov ebx, ecx
mov dword [ebp - 0xca8], ebx
call fcn.10093f70
test al, al
jne 0x10094b41
lea ecx, [ebp - 0xc8c]
call fcn.10093df0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc8c]
cmp dword [ebp - 0xc78], 8
push str.leidian.vbox
cmovae eax, dword [ebp - 0xc8c]
push ebx
push eax
lea eax, [ebp - 0xc10]
push str._svmsleidian_d_s
push eax
call dword [sym.imp.MSVCR120.dll__swprintf]
add esp, 0x14
push 0x100000
call fcn.100ab8c2
add esp, 4
mov edi, eax
lea eax, [ebp - 0xc44]
push 0x1c
push eax
push 0x100941e0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
push str.MY_CONFIG
sbb esi, esi
and esi, dword [ebp - 0xc40]
push 0x96
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xcac], eax
test eax, eax
je 0x10094b23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0xcac]
mov dword [ebp - 0xcb0], eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10094b23
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x10094b23
mov esi, dword [ebp - 0xcb0]
push esi
push eax
push edi
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov byte [esi + edi], 0
lea eax, [ebp - 0x40f]
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xca4]
call fcn.100943b0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc74]
call fcn.10094450
mov byte [ebp - 4], 3
cmp dword [ebp - 0xc90], 8
jb 0x10094675
push dword [ebp - 0xca4]
call ebx
add esp, 4
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
xor eax, eax
mov dword [ebp - 0xc90], 7
mov dword [ebp - 0xc94], 0
mov word [ebp - 0xca4], ax
cmp byte [ebp + 0xc], al
je 0x100946ff
lea edx, [ebp - 0xc8c]
lea ecx, [ebp - 0xc40]
call fcn.10005f80
cmp dword [ebp - 0xc2c], 0x10
lea ecx, [ebp - 0xc40]
lea eax, [ebp - 0xc74]
cmovae ecx, dword [ebp - 0xc40]
cmp dword [ebp - 0xc60], 0x10
push ecx
cmovae eax, dword [ebp - 0xc74]
push eax
lea eax, [ebp - 0x410]
push str._HardDisk_uuid__s__location__ssystem.vmdk__format_VMDK__type_Readonly___
push eax
call esi
add esp, 0x10
cmp dword [ebp - 0xc2c], 0x10
jb 0x10094705
push dword [ebp - 0xc40]
call ebx
add esp, 4
jmp 0x10094705
mov byte [ebp - 0x410], al
lea eax, [ebp - 0x410]
mov edx, str._my_shared_system_vmdk_xml_node__
push eax
mov ecx, edi
call fcn.10093ec0
mov edx, dword [ebp - 0xca8]
lea ecx, [ebp - 0xc40]
add esp, 4
call fcn.10094310
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc5c]
call fcn.10094450
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc2c], 8
jb 0x10094755
push dword [ebp - 0xc40]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0xc2c], 7
cmp dword [ebp - 0xc48], 0x10
mov edx, str.my_machine_guid
mov word [ebp - 0xc40], ax
mov ecx, edi
lea eax, [ebp - 0xc5c]
mov dword [ebp - 0xc30], 0
cmovae eax, dword [ebp - 0xc5c]
push eax
call fcn.10093ec0
add esp, 4
lea eax, [ebp - 0x410]
push dword [ebp - 0xca8]
push str.leidian_d
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x410]
mov edx, str.my_machine_name
mov ecx, edi
push eax
call fcn.10093ec0
add esp, 4
push dword [ebp - 0xca8]
call fcn.10094250
movzx eax, ax
push eax
lea eax, [ebp - 0x410]
push 0x100c68a4
push eax
call esi
lea eax, [ebp - 0x410]
mov edx, str.my_data_guid
push eax
mov ecx, edi
call fcn.10093ec0
add esp, 0x14
lea edx, [ebp - 0xc10]
lea ecx, [ebp - 0xc28]
call fcn.10093ff0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xc18], 0
jne 0x10094893
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_srand]
mov esi, dword [sym.imp.MSVCR120.dll_rand]
add esp, 4
call esi
and eax, 0xff
push eax
call esi
and eax, 0xff
push eax
call esi
and eax, 0xff
push eax
call esi
mov esi, dword [sym.imp.MSVCR120.dll_sprintf]
and eax, 0xff
push eax
lea eax, [ebp - 0x410]
push 0x100c68d8
push eax
call esi
add esp, 0x18
cmp byte [ebp - 0x410], 0
jne 0x1009486e
xor ecx, ecx
jmp 0x10094880
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10094877
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0xc28]
call fcn.10003740
cmp dword [ebp - 0xc14], 0x10
lea eax, [ebp - 0xc28]
mov edx, str.my_mac_addr
mov ecx, edi
cmovae eax, dword [ebp - 0xc28]
push eax
call fcn.10093ec0
add esp, 4
lea eax, [ebp - 0x410]
push dword [ebp - 0xcb4]
push 0x100c101c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x410]
mov edx, str.my_cpu_count
mov ecx, edi
push eax
call fcn.10093ec0
add esp, 4
lea eax, [ebp - 0x410]
push dword [ebp + 8]
push 0x100c101c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x410]
mov edx, str.my_ram_size
mov ecx, edi
push eax
call fcn.10093ec0
add esp, 4
mov byte [ebp - 0xca8], 1
lea eax, [ebp - 0xc10]
push 0x100
push 0x8000
push eax
call dword [sym.imp.MSVCR120.dll_int___cdecl__wopen_wchar_t_const___int__int_]
add esp, 0xc
mov dword [ebp - 0xcac], eax
test eax, eax
js 0x100949d6
push 0x10000
call fcn.100ab8c2
add esp, 4
mov esi, eax
push 0x10000
push esi
push dword [ebp - 0xcac]
call dword [sym.imp.MSVCR120.dll__read]
mov ecx, eax
add esp, 0xc
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja 0x100949b0
mov byte [ecx + esi], 0
mov eax, edi
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10094995
test dl, dl
je 0x10094991
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10094995
add eax, 2
add ecx, 2
test dl, dl
jne 0x10094975
xor eax, eax
jmp 0x1009499a
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0xca8]
xor edx, edx
test eax, eax
movzx ecx, cl
cmove ecx, edx
mov dword [ebp - 0xca8], ecx
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
push dword [ebp - 0xcac]
call dword [sym.imp.MSVCR120.dll__close]
add esp, 4
cmp byte [ebp - 0xca8], 0
je 0x10094a8a
push 0x80
lea eax, [ebp - 0xc10]
push 0x8301
push eax
call dword [sym.imp.MSVCR120.dll_int___cdecl__wopen_wchar_t_const___int__int_]
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x10094a31
lea eax, [ebp - 0xc10]
push eax
push str.open__s_failed_n
call dword [sym.imp.MSVCR120.dll_wprintf]
add esp, 8
lea ecx, [ebp - 0xc28]
call fcn.10003610
lea ecx, [ebp - 0xc5c]
call fcn.10003610
lea ecx, [ebp - 0xc74]
call fcn.10003610
jmp 0x10094b14
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10094a36
sub ecx, edx
push ecx
push edi
push esi
call dword [sym.imp.MSVCR120.dll__write]
add esp, 0xc
test eax, eax
jns 0x10094a8d
lea eax, [ebp - 0xc10]
push eax
push str._write__s_failed_n
call dword [sym.imp.MSVCR120.dll_wprintf]
add esp, 8
lea ecx, [ebp - 0xc28]
call fcn.10003610
lea ecx, [ebp - 0xc5c]
call fcn.10003610
lea ecx, [ebp - 0xc74]
call fcn.10003610
jmp 0x10094b14
or esi, 0xffffffff
lea eax, [ebp - 0xc10]
push eax
push str.update__s_success__n
call dword [sym.imp.MSVCR120.dll_wprintf]
add esp, 8
cmp dword [ebp - 0xc14], 0x10
jb 0x10094ab6
push dword [ebp - 0xc28]
call ebx
add esp, 4
cmp dword [ebp - 0xc48], 0x10
mov dword [ebp - 0xc14], 0xf
mov dword [ebp - 0xc18], 0
mov byte [ebp - 0xc28], 0
jb 0x10094ae5
push dword [ebp - 0xc5c]
call ebx
add esp, 4
cmp dword [ebp - 0xc60], 0x10
mov dword [ebp - 0xc48], 0xf
mov dword [ebp - 0xc4c], 0
mov byte [ebp - 0xc5c], 0
jb 0x10094b14
push dword [ebp - 0xc74]
call ebx
add esp, 4
cmp esi, 0xffffffff
je 0x10094b23
push esi
call dword [sym.imp.MSVCR120.dll__close]
add esp, 4
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp dword [ebp - 0xc78], 8
jb 0x10094b41
push dword [ebp - 0xc8c]
call ebx
add esp, 4
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.100ab974
mov esp, ebp
pop ebp
ret