Function at 0x10008230
Capabilities:
Get storage device properties
Identify system language via api

Disassembly:
sub esp, 0x50c
push ebx
mov eax, dword [esp + 0x514]
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push 3
push ebx
push 3
push ebx
mov edi, 1
push eax
mov dword [esp + 0x2c], ecx
push edi
xor ebp, ebp
call fcn.100099d0
add esp, 4
call eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [0x10047bd4]
and eax, 0xffff
add ecx, eax
mov dword [0x10047bd4], ecx
je 0x1000828e
mov al, byte [0x10047ba5]
mov dword [0x10047bd8], edi
cmp al, bl
jne 0x10008294
mov dword [0x10047bd8], ebx
movsx ecx, byte [0x10047ba6]
push 0xe2c9ffff
push ecx
call fcn.10007780
add esp, 8
cmp esi, 0xffffffff
mov byte [0x10047ba8], al
je 0x1000849b
mov al, byte [0x10047ba0]
mov dword [esp + 0x14], ebx
cmp al, bl
jne 0x100082d4
cmp word [0x10047bba], bx
mov word [0x10047bae], bx
je 0x100082db
mov word [0x10047bae], di
movsx edx, byte [0x10047ba3]
push 0x77cdffff
push edx
call fcn.10007780
mov ecx, dword [0x10047bc4]
lea edi, [esp + 0x20]
add ecx, eax
xor eax, eax
mov dword [0x10047bc4], ecx
mov ecx, 0x21
rep stosd dword es:[edi], eax
mov edx, dword [0x10047bd0]
mov ecx, dword [0x10047bc0]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10047bdc]
push ecx
or eax, 0x9b83ffff
push 0xe23ffff
add edx, eax
inc word [0x10047bb0]
mov byte [0x10047ba2], 0xff
mov dword [esp + 0x28], ebx
mov dword [0x10047bd0], edx
call fcn.10007740
mov cl, byte [0x10047ba2]
lea edi, [esp + 0xb0]
add cl, al
xor eax, eax
mov byte [0x10047ba2], cl
mov ecx, 0x11e
movsx edx, byte [0x10047ba3]
rep stosd dword es:[edi], eax
mov cl, byte [0x10047bbc]
or edx, 0x6077ffff
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x10047ba5]
mov dword [0x10047bdc], edx
mov edx, dword [0x10047bd0]
inc al
dec cl
push edx
push 0x55c7ffff
mov dword [esp + 0x34], ebx
mov byte [0x10047ba1], al
mov byte [0x10047ba5], cl
call fcn.10007700
mov ecx, dword [0x10047bc0]
push 0x3437ffff
add ecx, eax
movsx eax, byte [0x10047ba7]
push eax
mov dword [0x10047bc0], ecx
call fcn.100075f0
mov ecx, dword [0x10047bd8]
add ecx, eax
mov dword [0x10047bd8], ecx
mov ecx, dword [0x10047bd4]
push ecx
push 0xb875ffff
call fcn.100078b0
add esp, 0x28
lea edx, [esp + 0x14]
mov word [0x10047bb0], ax
lea eax, [esp + 0xa0]
push ebx
push edx
push 0x47b
push eax
lea ecx, [esp + 0x28]
push 0x87
push ecx
push 0x2d1400
push esi
push 8
call fcn.100099d0
add esp, 4
call eax
test eax, eax
je 0x10008465
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xa0]
push edx
call fcn.10007b70
mov ecx, dword [0x10047bcc]
xor eax, eax
cmp word [0x10047bbc], bx
mov ebp, 1
mov dword [0x10047bdc], 0xbf5fffff
setne al
add ecx, eax
dec word [0x10047bba]
mov dword [0x10047bcc], ecx
movsx eax, word [0x10047baa]
movsx ecx, byte [0x10047ba8]
sub eax, ecx
push esi
push ebx
mov dword [0x10047be4], eax
call fcn.100099d0
add esp, 4
call eax
movsx dx, byte [0x10047ba0]
and edx, dword [0x10047bcc]
mov word [0x10047bb6], dx
movsx eax, word [0x10047bbc]
mov ecx, dword [0x10047bdc]
push eax
push ecx
call fcn.10007740
add esp, 8
mov byte [0x10047ba3], al
mov eax, ebp
mov byte [0x10047ba9], bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50c
ret 4