Function at 0x4026f0
Capabilities:
Get system information on windows
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c8
mov eax, dword [0x408028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x898], edx
mov edi, ecx
mov dword [ebp - 0x874], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x89c], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x8c4], eax
xor esi, esi
mov dword [ebp - 0x8c0], eax
mov dword [ebp - 0x8bc], eax
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 0x8b4], eax
mov dword [ebp - 0x8b0], eax
mov dword [ebp - 0x8ac], eax
mov dword [ebp - 0x884], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x87c], eax
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov word [ebp - 0x210], ax
mov word [ebp - 0x41c], ax
mov dword [ecx], ebx
mov eax, dword [edi + 4]
mov dword [ebp - 0x870], ecx
mov dword [ebp - 0x8c8], 0x20
mov dword [ebp - 0x878], ebx
test eax, eax
jne 0x402ea8
mov edi, dword [edi]
lea eax, [ebp - 0x88c]
push eax
push 0x20019
push esi
push 0x4012f0
push 0x80000002
mov dword [ebp - 0x88c], ebx
mov dword [ebp - 0x880], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40281a
lea eax, [ebp - 0x880]
push eax
push 0x20019
push esi
push edi
push dword [ebp - 0x88c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40281a
lea eax, [ebp - 0x884]
push eax
push 0x20019
push esi
push 0x4012d8
push dword [ebp - 0x880]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, 2
je 0x402eca
mov eax, dword [ebp - 0x880]
mov ecx, dword [ebp - 0x88c]
test ecx, ecx
je 0x402837
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [ebp - 0x880]
test eax, eax
je 0x402842
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jne 0x406182
push 0x20a
push esi
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x405f67
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x890]
push eax
push esi
lea eax, [ebp - 0x894]
mov dword [ebp - 0x890], 0x20a
push eax
push 0
push 0x4012c0
push dword [ebp - 0x884]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x405f78
cmp dword [ebp - 0x894], 2
jne 0x405f85
cmp word [esi], bx
je 0x405f96
push 0x104
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4028d1
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x210]
push ecx
push eax
mov eax, ecx
push eax
push 0x100
push 0x400
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_LCMapStringW]
lea eax, [ebp - 0x890]
mov dword [ebp - 0x890], 0x20a
push eax
push esi
lea eax, [ebp - 0x894]
push eax
push 0
push 0x4012a0
push dword [ebp - 0x884]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
cmp eax, 2
jne 0x405fa7
push esi
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
lea ebx, [ebp - 0x210]
push 0x408384
xor edi, edi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
mov esi, dword [0x408388]
cmp esi, 0x408388
je 0x4029b0
mov ecx, dword [esi + 0xc]
mov edi, esi
mov eax, ebx
jmp 0x402970
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x402e9e
test dx, dx
je 0x40299a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x402e9e
add ecx, 4
add eax, 4
test dx, dx
jne 0x402970
xor eax, eax
test eax, eax
je 0x40606f
mov esi, dword [esi]
xor edi, edi
cmp esi, 0x408388
jne 0x402964
push 0x408384
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
test edi, edi
jne 0x402ab1
cmp word [ebp - 0x41c], di
jne 0x4060f0
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4029d5
sub edi, ecx
lea ebx, [ebp - 0x41c]
sar edi, 1
lea ecx, [ebx + 2]
lea ecx, [ecx]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4029f0
sub ebx, ecx
sar ebx, 1
lea eax, [ebx + edi]
lea eax, [eax*2 + 0x20]
push eax
push 8
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov dword [ebp - 0x888], eax
test eax, eax
je 0x40613d
lea esi, [eax + 0x1c]
lea edx, [edi + edi]
mov dword [eax + 0xc], esi
mov edi, eax
lea ecx, [esi + 2]
mov eax, dword [ebp - 0x87c]
add ecx, edx
push edx
push eax
push esi
mov dword [edi + 0x10], ecx
call sub.api_ms_win_core_crt_l1_1_0.dll_memcpy
lea eax, [ebx + ebx]
push eax
lea eax, [ebp - 0x41c]
push eax
push dword [edi + 0x10]
call sub.api_ms_win_core_crt_l1_1_0.dll_memcpy
mov eax, dword [ebp - 0x874]
add esp, 0x18
mov dword [edi + 0x18], eax
push 0x408384
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov eax, dword [0x40838c]
cmp dword [eax], 0x408388
jne 0x406136
mov dword [edi], 0x408388
mov dword [edi + 4], eax
mov dword [eax], edi
push 0x408384
mov dword [0x40838c], edi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
xor esi, esi
test edi, edi
je 0x4063cc
mov eax, dword [ebp - 0x878]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x874]
mov esi, dword [ebp - 0x884]
mov dword [ebp - 0x87c], 0
mov dword [eax + 4], edi
mov dword [eax + 8], 0
lea eax, [ebp - 0x87c]
push eax
push 0
lea eax, [ebp - 0x888]
push eax
push 0xffff
push 0x401288
push 0
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x402db2
mov eax, dword [ebp - 0x874]
xor esi, esi
xor ebx, ebx
mov edi, dword [eax + 4]
test edi, edi
je 0x402d7e
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x402b1d
mov ebx, 0x401334
lea eax, [ebp - 0x878]
xor esi, esi
push eax
push dword [edi + 0x14]
mov dword [ebp - 0x878], esi
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_ActivateActCtx]
test eax, eax
je 0x4061e6
mov esi, dword [edi + 8]
test esi, esi
jne 0x402b5d
push 8
push esi
push dword [edi + 0xc]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4061f9
mov dword [edi + 8], esi
push 0x104
lea eax, [ebp - 0x624]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
test eax, eax
je 0x4061f9
xor edi, edi
push edi
push edi
push 0x405580
push 0x4083c0
call dword [sym.imp.ntdll.dll_RtlRunOnceExecuteOnce]
test eax, eax
js 0x40620e
push edi
push 0x20
lea eax, [ebp - 0x84c]
push eax
push 0xa4
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x402bc0
test byte [ebp - 0x84c], 0x10
jne 0x40621c
mov eax, dword [ebp - 0x870]
mov dword [eax], edi
test edi, edi
jne 0x406207
push ebx
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x406295
push dword [ebp - 0x878]
push 0
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_DeactivateActCtx]
mov eax, dword [ebp - 0x898]
xor edi, edi
mov dword [ebp - 0x878], edi
mov dword [eax], esi
mov eax, dword [ebp - 0x874]
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x878]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_ActivateActCtx]
test eax, eax
je 0x402cac
mov esi, dword [ebx + 8]
test esi, esi
je 0x4062a8
push 0x104
lea eax, [ebp - 0x624]
push eax
push 0xffffffffffffffff
push 0x401250
push 0
push 0
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
test eax, eax
je 0x402c9e
push 0
push 0
push 0x405580
push 0x4083c0
call dword [sym.imp.ntdll.dll_RtlRunOnceExecuteOnce]
test eax, eax
js 0x4062c7
push 0
push 0x20
lea eax, [ebp - 0x84c]
push eax
push 0xa4
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x402c90
test byte [ebp - 0x84c], 0x10
jne 0x4062d2
push 0x401250
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov edi, eax
push dword [ebp - 0x878]
push 0
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_DeactivateActCtx]
mov eax, dword [ebp - 0x89c]
xor ebx, ebx
xor esi, esi
mov dword [eax], edi
test edi, edi
jne 0x402d7e
mov eax, dword [ebp - 0x874]
mov dword [ebp - 0x874], esi
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x874]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_ActivateActCtx]
test eax, eax
je 0x402d72
mov esi, dword [ebx + 8]
test esi, esi
je 0x40633a
push 0x104
lea eax, [ebp - 0x82c]
push eax
push 0xffffffffffffffff
push 0x40126c
push 0
push 0
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
test eax, eax
je 0x402d64
push 0
push 0
push 0x405580
push 0x4083c0
call dword [sym.imp.ntdll.dll_RtlRunOnceExecuteOnce]
test eax, eax
js 0x406359
push 0
push 0x20
lea eax, [ebp - 0x86c]
push eax
push 0xa4
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x402d56
test byte [ebp - 0x86c], 0x10
jne 0x406364
push 0x40126c
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov edi, eax
push dword [ebp - 0x874]
push 0
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_DeactivateActCtx]
mov eax, dword [ebp - 0x8a8]
xor ebx, ebx
xor esi, esi
mov dword [eax], edi
mov eax, dword [ebp - 0x884]
test eax, eax
je 0x402d8f
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jne 0x4063d7
test ebx, ebx
jne 0x4063eb
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405790
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x888], 1
jne 0x402afc
mov eax, dword [ebp - 0x87c]
test eax, eax
je 0x402afc
push eax
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x402afc
lea eax, [ebp - 0x87c]
push eax
push edi
lea eax, [ebp - 0x888]
push eax
push 0xffff
push 0x401288
push 0
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x406154
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402e15
push 0
push 0
sub ecx, edx
push 0
sar ecx, 1
push 0
lea eax, [ecx + 1]
push eax
push edi
push 0x400
push 0
mov dword [ebp - 0x878], eax
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
je 0x402e8a
push ebx
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x402e8a
push 0
push 0
push ebx
push esi
push dword [ebp - 0x878]
push edi
push 0x400
push 0
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
test eax, eax
je 0x406168
mov eax, dword [ebp - 0x874]
mov dword [eax + 8], esi
push edi
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
jmp 0x402afc
sbb eax, eax
or eax, 1
jmp 0x40299c
mov edi, eax
cmp dword [eax + 8], ebx
jne 0x402ebf
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x402ebf
cmp word [ecx], bx
jne 0x40618f
mov eax, dword [ebp - 0x874]
jmp 0x402b11
mov eax, dword [ebp - 0x880]
mov dword [ebp - 0x884], eax
xor eax, eax
mov dword [ebp - 0x880], eax
xor esi, esi
jmp 0x402820
mov ecx, dword [ebp - 0x870]
mov dword [ecx], 8
jmp 0x402d7e
mov ecx, dword [ebp - 0x870]
mov dword [ecx], eax
jmp 0x402d7e
mov ecx, dword [ebp - 0x870]
mov dword [ecx], 2
jmp 0x402d7e
mov ecx, dword [ebp - 0x870]
mov dword [ecx], 2
jmp 0x402d7e
test eax, eax
je 0x405fc1
cmp eax, 3
je 0x402934
mov ecx, dword [ebp - 0x870]
mov dword [ecx], eax
jmp 0x402d7e
cmp dword [ebp - 0x894], 2
je 0x405fdb
mov ecx, dword [ebp - 0x870]
mov dword [ecx], 2
jmp 0x402d7e
cmp word [esi], bx
jne 0x405ff1
mov ecx, dword [ebp - 0x870]
mov dword [ecx], 2
jmp 0x402d7e
push 0x104
lea eax, [ebp - 0x41c]
push eax
push esi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
push esi
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
lea ecx, [ebp - 0x41c]
call fcn.004043c0
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406027
sub ecx, edx
sar ecx, 1
je 0x402943
lea eax, [ebp - 0x210]
lea eax, [eax + ecx*2]
movzx edx, word [eax - 2]
mov esi, eax
sub eax, 2
dec ecx
cmp edx, 0x5c
je 0x406062
cmp edx, 0x2f
je 0x406062
test ecx, ecx
jne 0x406045
jmp 0x402943
mov ebx, esi
mov dword [ebp - 0x87c], ebx
jmp 0x402949
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x41c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40609e
test dx, dx
je 0x40609a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40609e
add eax, 4
add ecx, 4
test dx, dx
jne 0x406078
xor eax, eax
jmp 0x4060a3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4029a4
mov eax, dword [ebp - 0x874]
mov ecx, dword [eax]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4060de
test dx, dx
je 0x4060da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4060de
add eax, 4
add ecx, 4
test dx, dx
jne 0x4060b8
xor eax, eax
jmp 0x4060e3
sbb eax, eax
or eax, 1
test eax, eax
je 0x4029b0
jmp 0x4029a4
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x8c0], eax
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_CreateActCtxW]
mov ebx, eax
mov dword [ebp - 0x878], ebx
cmp ebx, 0xffffffff
jne 0x40612b
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [ebp - 0x870]
xor esi, esi
mov dword [ecx], eax
jmp 0x402d7e
mov ebx, dword [ebp - 0x87c]
jmp 0x4029d0
mov ecx, 3
int 0x29
mov eax, dword [ebp - 0x870]
mov edi, dword [ebp - 0x888]
mov dword [eax], 8
jmp 0x402a9e
push edi
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
jmp 0x402afc
push esi
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
jmp 0x402e8a
mov eax, dword [ebp - 0x870]
mov dword [eax], esi
jmp 0x402afc
lea eax, [ebp - 0x8c8]
mov dword [ebp - 0x8c0], ecx
push eax
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_CreateActCtxW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4061bc
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [ebp - 0x870]
mov dword [ecx], eax
jmp 0x402d7e
mov edi, dword [ebp - 0x874]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4061db
cmp ecx, 0xffffffff
je 0x4061db
push ecx
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_ReleaseActCtx]
mov eax, dword [edi + 4]
mov dword [eax + 0x14], ebx
mov edi, dword [edi + 4]
jmp 0x402ebf
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [ebp - 0x870]
mov dword [ecx], eax
jmp 0x402bf0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [ebp - 0x870]
mov dword [ecx], eax
xor esi, esi
jmp 0x402be2
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edi, eax
jmp 0x402bc0
cmp dword [0x408398], edi
je 0x40628b
mov eax, dword [0x40839c]
mov dword [ebp - 0x8a0], eax
test eax, eax
je 0x40628b
lea ecx, [ebp - 0x8a4]
push ecx
lea ecx, [ebp - 0x624]
push ecx
push esi
push 1
mov ecx, eax
call dword [0x409260]
call dword [ebp - 0x8a0]
test eax, eax
jns 0x40626e
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x406215
movzx edi, ax
jmp 0x402bc0
cmp dword [ebp - 0x8a4], edi
jne 0x402bc0
mov eax, dword [ebp - 0x870]
mov dword [eax], 5
jmp 0x406207
mov edi, 5
jmp 0x402bc0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [ebp - 0x870]
mov dword [ecx], eax
jmp 0x402be2
push 8
push 0
push dword [ebx + 0xc]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x402c9e
mov dword [ebx + 8], esi
jmp 0x402c2c
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
jmp 0x40631c
cmp dword [0x408398], edi
je 0x402c9e
mov ebx, dword [0x40839c]
test ebx, ebx
je 0x402c9e
lea eax, [ebp - 0x898]
mov ecx, ebx
push eax
lea eax, [ebp - 0x624]
push eax
push esi
push 1
call dword [0x409260]
call ebx
mov ecx, eax
test ecx, ecx
jns 0x406329
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x40631c
movzx ecx, cx
test ecx, ecx
jne 0x402c9e
jmp 0x402c90
cmp dword [ebp - 0x898], edi
je 0x402c9e
jmp 0x402c90
push 8
push 0
push dword [ebx + 0xc]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x402d64
mov dword [ebx + 8], esi
jmp 0x402cf2
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
jmp 0x4063ae
cmp dword [0x408398], edi
je 0x402d64
mov ebx, dword [0x40839c]
test ebx, ebx
je 0x402d64
lea eax, [ebp - 0x89c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x82c]
push eax
push esi
push 1
call dword [0x409260]
call ebx
mov ecx, eax
test ecx, ecx
jns 0x4063bb
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x4063ae
movzx ecx, cx
test ecx, ecx
jne 0x402d64
jmp 0x402d56
cmp dword [ebp - 0x89c], edi
je 0x402d64
jmp 0x402d56
mov ebx, dword [ebp - 0x878]
jmp 0x402d7e
push esi
push 0
push dword [0x40837c]
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
jmp 0x402d97
cmp ebx, 0xffffffff
je 0x402d9f
push ebx
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_ReleaseActCtx]
jmp 0x402d9f