Function at 0x1000fef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.100c8100
push 0xffffffffffffffff
push 0x100ebe18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10144930]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x200c]
mov esi, ecx
mov dword [ebp - 0x20], esi
mov bl, 1
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0
push 0x10108140
lea ecx, [ebp - 0x18]
call fcn.10007ed0
mov byte [ebp - 4], bl
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp di, bx
jne 0x1000ff65
movzx edi, word [esi + 0x20]
push 0x800
push ebx
lea eax, [ebp + 0x800]
push eax
call fcn.100c7d20
add esp, 0xc
movzx ecx, di
mov dword [ebp - 0x14], ecx
lea edx, [ebp + 0x800]
push edx
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.10010530
test eax, eax
je 0x1000ffb3
push 0x3ff
push str.ENGLISH
push 0x400
lea eax, [ebp + 0x800]
push eax
call fcn.100c6041
add esp, 0x10
lea ecx, [ebp + 0x800]
push ecx
push str.LANGUAGES_INFO
push 0x1010aac0
lea edx, [ebp - 0x18]
push edx
call fcn.10007e50
add esp, 0x10
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
mov edx, 0x1010aacc
mov ecx, dword [ebp - 0x18]
mov edi, dword [esi + 0x40]
call fcn.10046810
test eax, eax
je 0x1000fff5
mov eax, 9
mov dword [ebp - 0x14], eax
jmp 0x1000fff8
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
push 0x800
push ebx
lea ecx, [ebp + 0x1800]
push ecx
call fcn.100c7d20
add esp, 0xc
push 0x400
lea edx, [ebp + 0x1800]
push edx
mov ebx, str.abbr
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 0x40]
call fcn.100467a0
test eax, eax
je 0x10010051
push 0x3ff
push 0x1010a75c
push 0x400
lea eax, [ebp + 0x1800]
push eax
call fcn.100c6041
add esp, 0x10
lea ecx, [esi + 0x28]
mov dword [ebp - 0x28], ecx
lea eax, [ebp + 0x1800]
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10010060
sub eax, esi
sar eax, 1
push eax
lea edx, [ebp + 0x1800]
push edx
call fcn.10007d40
lea esi, [ebp + 0x1800]
mov edi, dword [ebp - 0x20]
mov ecx, edi
call fcn.100108d0
push 0x800
push 0
mov eax, esi
push eax
call fcn.100c7d20
add esp, 0xc
push 0x400
mov ecx, esi
push ecx
mov ebx, 0x1010aae0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x40]
call fcn.100467a0
test eax, eax
je 0x100100d4
push 0x3ff
push str.ENGLISH
push 0x400
mov edx, esi
push edx
call fcn.100c6041
add esp, 0x10
lea ecx, [edi + 0x2c]
mov dword [ebp - 0x24], ecx
lea eax, [ebp + 0x1800]
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x100100e3
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp + 0x1800]
push eax
call fcn.10007d40
lea esi, [ebp + 0x1800]
mov ecx, edi
call fcn.10010900
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
mov edx, str.is_code
mov ecx, dword [ebp - 0x18]
mov edi, dword [edi + 0x40]
call fcn.10046810
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x10010132
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x14], edx
push 0x800
push ebx
lea eax, [ebp + 0x1800]
push eax
call fcn.100c7d20
add esp, 0xc
mov dword [ebp - 0x14], ebx
push 0x400
lea ecx, [ebp + 0x1800]
push ecx
mov ebx, str.rtl_layout
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 0x40]
call fcn.100467a0
test eax, eax
jne 0x10010189
push str.TRUE
lea edx, [ebp + 0x1800]
push edx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x10010189
mov dword [ebp - 0x14], 1
push 0x800
push 0
lea eax, [ebp + 0x1000]
push eax
call fcn.100c7d20
add esp, 0xc
lea ecx, [ebp + 0x1000]
push ecx
lea edx, [ebp + 0x800]
mov ecx, esi
call fcn.10010930
test al, al
jne 0x100101cd
push 0x800
push 0
lea edx, [ebp + 0x1000]
push edx
call fcn.100c7d20
add esp, 0xc
lea eax, [ebp + 0x1000]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100101d6
sub eax, edx
sar eax, 1
je 0x1001035d
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp + 0x800]
push ecx
call fcn.100c629b
add esp, 8
test eax, eax
je 0x1001035d
lea edx, [ebp + 0x1000]
push edx
push str.LANGUAGES_INFO
push 0x1010aac0
lea eax, [ebp - 0x18]
push eax
call fcn.10007e50
add esp, 0x10
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, 0x1010aacc
mov ecx, dword [ebp - 0x18]
mov edi, dword [esi + 0x40]
call fcn.10046810
test eax, eax
je 0x1001024c
mov dword [ebp - 0x14], 9
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x30], edx
push 0x800
push 0
lea eax, [ebp + 0x1800]
push eax
call fcn.100c7d20
add esp, 0xc
push 0x400
lea ecx, [ebp + 0x1800]
push ecx
mov ebx, str.abbr
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 0x40]
call fcn.100467a0
test eax, eax
je 0x100102a6
push 0x3ff
push 0x1010a75c
push 0x400
lea edx, [ebp + 0x1800]
push edx
call fcn.100c6041
add esp, 0x10
lea esi, [ebp + 0x1800]
mov edi, dword [ebp - 0x20]
mov ecx, edi
call fcn.100108d0
push 0x800
push 0
mov eax, esi
push eax
call fcn.100c7d20
add esp, 0xc
push 0x400
mov ecx, esi
push ecx
mov ebx, 0x1010aae0
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x40]
call fcn.100467a0
test eax, eax
je 0x100102fe
push 0x3ff
push str.ENGLISH
push 0x400
mov edx, esi
push edx
call fcn.100c6041
add esp, 0x10
lea esi, [ebp + 0x1800]
mov ecx, edi
call fcn.10010900
push 0x800
push 0
mov eax, esi
push eax
call fcn.100c7d20
add esp, 0xc
mov dword [ebp - 0x14], 0
push 0x400
mov ecx, esi
push ecx
mov ebx, str.rtl_layout
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x40]
call fcn.100467a0
test eax, eax
jne 0x1001035b
push str.TRUE
mov edx, esi
push edx
call fcn.100c629b
add esp, 8
test eax, eax
jne 0x1001035b
mov dword [ebp - 0x14], 1
mov esi, edi
push 0x800
push 0
lea eax, [ebp + 0x1800]
push eax
call fcn.100c7d20
mov eax, dword [esi + 8]
push 1
push 0x800
lea ecx, [ebp + 0x1800]
push ecx
push str.Inst_Dest_Dir
mov edx, dword [eax]
push edx
mov edx, str.InstallSetupProgram
call fcn.10044220
add esp, 0x20
test eax, eax
je 0x1001040e
push 0x800
push 0
lea eax, [ebp]
push eax
call fcn.100c7d20
add esp, 0xc
push 0
push 0x400
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x1800]
push edx
mov ecx, dword [esi + 4]
call fcn.10047910
test eax, eax
jne 0x10010420
mov eax, dword [esi + 0x34]
push eax
lea edx, [ebp]
mov ecx, dword [esi + 4]
call fcn.10046fd0
test eax, eax
jne 0x100103e5
push str.Load_String_file_success__
jmp 0x10010413
mov eax, dword [esi + 0x34]
push eax
lea edx, [ebp + 0x1800]
mov ecx, dword [esi + 4]
call fcn.10046fd0
mov ecx, 0x10152dd8
test eax, eax
jne 0x10010407
push str.Load_String_file_success__
jmp 0x10010418
push str.Load_String_file_fail__
jmp 0x10010418
push str.Load_String_file_fail__
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 4
movzx eax, word [esi + 0x20]
push eax
push str.Set_Language_:_System_Language_ID_t_0X_04X
mov ecx, 0x10152dd8
call fcn.1003f430
mov ecx, dword [esi + 0x24]
push ecx
push str.Set_Language_:_Org_Language_ID_t_t_0X_04X
mov ecx, 0x10152dd8
call fcn.1003f430
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
push eax
push str.Set_Language_:_Org_Language_Abbr_t__s
mov ecx, 0x10152dd8
call fcn.1003f430
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push edx
push str.Set_Language_:_Org_Language_Dir_t_t__s
mov ecx, 0x10152dd8
call fcn.1003f430
mov eax, dword [esi + 0x30]
push eax
push str.Set_Language_:_Language_ID_t_t_t_0X_04X
mov ecx, 0x10152dd8
call fcn.1003f430
mov ecx, dword [esi + 0x34]
push ecx
push str.Set_Language_:_Language_Abbr_t_t__s
mov ecx, 0x10152dd8
call fcn.1003f430
mov edx, dword [esi + 0x38]
push edx
push str.Set_Language_:_Language_Dir_t_t_t__s
mov ecx, 0x10152dd8
call fcn.1003f430
movzx eax, byte [esi + 0xc]
push eax
push str.Set_Language_:_MUI_Support_t___d
mov ecx, 0x10152dd8
call fcn.1003f430
add esp, 0x40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10007e70
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.100c59be
add ebp, 0x2004
mov esp, ebp
pop ebp
ret 4