Function at 0x42c4fb
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
push 0x4ab25c
push 0x498270
push 1
xor ebx, ebx
push ebx
push 0x485770
call dword [sym.imp.ole32.dll_CoCreateInstance]
call fcn.0043c5cd
push eax
lea ecx, [ebp - 4]
call fcn.0043ac50
mov ecx, dword [0x4ab21c]
lea edx, [ebp - 0xc]
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.0044c908
pop ecx
mov ecx, dword [0x4ab250]
lea edx, [ebp - 0x18]
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0044c908
pop ecx
push ebx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov ecx, 0x48f964
mov dword [ebp - 0x1c], ebx
call fcn.0044c96a
movzx eax, word [ebp - 0x20]
pop ecx
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x1c]
movzx esi, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0x1a]
movzx edi, word [ebp - 0xa]
movzx ecx, word [ebp - 8]
movzx edx, word [ebp - 6]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x12]
push eax
push esi
push edi
push ecx
push edx
lea eax, [ebp - 0x10]
push 0x496a30
push eax
call fcn.00449eea
add esp, 0x38
push dword [eax]
push 0x486104
push 3
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push 0x104
lea eax, [ebp - 0x248]
push eax
push str._SystemRoot_LogsCBS
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
lea ecx, [ebp - 0x248]
call fcn.0044bfcd
mov ebx, dword [sym.imp.msvcrt.dll_wcslen]
jmp 0x42c607
movzx esi, word [ebp - 0xc]
cmp dword [0x4aa12c], 0
jne 0x42c62f
push 0x496ad8
call sym.Dismx86.exe_DismMultiLanguage
push eax
lea ecx, [ebp - 4]
call fcn.0043b8b2
push 0x2d
lea ecx, [ebp - 4]
call fcn.0043b93f
jmp 0x42c637
lea ecx, [ebp - 4]
call fcn.0043b7b6
push str.Dismx86
call ebx
pop ecx
push eax
push str.Dismx86
lea ecx, [ebp - 4]
call fcn.0043b96c
movzx eax, word [ebp - 8]
push esi
push edi
push eax
movzx eax, word [ebp - 6]
push eax
lea eax, [ebp - 0x24]
push 0x496b14
push eax
call fcn.00449eea
add esp, 0x18
lea ecx, [ebp - 4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0043b96c
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0043c924
call sym.Dismx86.exe_BcdGetFirmwareType
sub eax, 1
je 0x42c6a0
sub eax, 1
je 0x42c699
mov esi, 0x496bd8
jmp 0x42c6a5
mov esi, 0x496b6c
jmp 0x42c6a5
mov esi, str.Bios_Firmware
push esi
call ebx
pop ecx
mov ecx, esi
push eax
push ecx
lea ecx, [ebp - 4]
call fcn.0043b96c
push 0x1fc
mov dword [0x4ab208], 0x8014
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
pop ecx
test edi, edi
je 0x42c733
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [edi + 0x18]
and dword [edi + 4], 0
mov dword [edi], 0x49e80c
mov dword [edi + 8], eax
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0x48f228
call fcn.0045539d
xor eax, eax
mov dword [edi], 0x48f1f8
mov dword [edi + 0x10], 0x48f1d0
mov dword [edi + 0x14], 0x48f1b4
mov dword [edi + 0x18], 0x48f1a0
mov dword [edi + 0x1dc], eax
mov dword [edi + 0x1ec], eax
mov dword [edi + 0x1f0], eax
mov dword [edi + 0x1f4], eax
mov dword [edi + 0x1f8], eax
jmp 0x42c735
xor edi, edi
mov eax, dword [0x4ab21c]
mov esi, dword [ebp - 4]
push ecx
mov dword [0x4ab230], eax
mov ecx, edi
mov eax, 0x80000000
mov dword [0x4ab214], edi
push eax
push eax
push eax
push eax
push 0x100
push 0x10cf0000
push esi
push 0
call fcn.00459794
mov edi, dword [0x4ab214]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c784
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00457173
mov eax, dword [0x4ab208]
movzx edi, word [ebp - 0xa]
sub eax, 1
je 0x42c603
sub eax, 1
jne 0x42c8b6
mov ecx, dword [0x4ab4dc]
lea ecx, [ecx - 0x10]
call fcn.0043baa0
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x10]
call fcn.0043ac50
push 0x496a08
lea eax, [ebp - 0x28]
mov edx, 0x4ab30c
push eax
push str.Languages_
push str.Config_
lea ecx, [ebp - 0x1c]
call fcn.0043ab55
pop ecx
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0043ab55
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00431007
pop ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.0043ab55
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0043b599
mov ecx, dword [eax]
call fcn.0044c9a8
mov ecx, dword [ebp - 0x2c]
mov edi, eax
add ecx, 0xfffffff0
call fcn.0043c924
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0043c924
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0043c924
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
test edi, edi
je 0x42c89a
lea ecx, [ebp - 0x40]
call fcn.00436a57
mov edi, eax
mov ecx, 0x4ab4d4
push edi
call fcn.00436cba
lea ecx, [edi + 8]
push ecx
mov ecx, 0x4ab4dc
call fcn.0043b599
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x40]
mov dword [0x4ab4e0], eax
call fcn.00436a8c
mov ecx, dword [ebp - 0x10]
mov edx, 0x4ab4f8
call fcn.0042c16e
test eax, eax
jne 0x42c89a
push esi
push ecx
mov ecx, 0x4ab4d4
call fcn.00436d66
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [esi - 0x10]
call fcn.0043c924
movzx edi, word [ebp - 0xa]
jmp 0x42c603
sub eax, 0x8013
je 0x42c8c7
sub eax, 1
jne 0x42c8cf
push 2
pop ecx
jmp 0x42c8ca
xor ecx, ecx
inc ecx
call fcn.0042c14b
mov ecx, dword [0x4ab25c]
test ecx, ecx
je 0x42c8e6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [0x4ab25c], 0
lea ecx, [esi - 0x10]
call fcn.0043c924
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret