Function at 0x43f83f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x448014]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
mov dword [esp + 0x20], eax
push 0x40
pop ecx
test eax, eax
jne 0x43f896
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00426640
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, esi
jmp 0x43fa66
mov esi, eax
mov dword [esp + 0x10], ebx
call fcn.00426640
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0xc], eax
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43f8b8
sub ecx, edx
sar ecx, 1
push 0x41f510
push esi
lea eax, [esi + ecx*2]
mov dword [esp + 0x20], eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x43fa1a
cmp ecx, esi
je 0x43fa1a
lea edi, [ecx + 2]
cmp edi, dword [esp + 0x18]
je 0x43fa1a
sub eax, esi
sar eax, 1
cmp eax, 0x61a8
ja 0x43fa1a
push ecx
push ecx
push esi
lea ecx, [esp + 0x90]
call fcn.0042b3e1
mov eax, 0x7530
lea ecx, [esp + 0x30]
sub eax, dword [esp + 0x94]
mov edx, edi
push eax
call fcn.0043fb7f
mov esi, dword [esp + 0x34]
pop ecx
jmp 0x43f9f7
lea eax, [esp + 0x84]
mov dword [esp + 0x54], ebx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.00429bb0
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.00429bb0
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.0043ea83
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], eax
add eax, 0x10
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0043f129
cmp dword [esp + 0x10], 0x3ffffff
lea edi, [esp + 0x3c]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x43fa7b
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], ebx
call fcn.0043f4cb
push dword [esp + 0x40]
lea ecx, [esp + 0x10]
push dword [esp + 0x40]
push dword [esp + 0x24]
call fcn.004406c5
lea ecx, [esp + 0x6c]
call fcn.0042baf9
lea ecx, [esp + 0x54]
call fcn.0042baf9
mov esi, dword [esp + 0x14]
add esi, 0x18
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x34]
jne 0x43f93b
lea ecx, [esp + 0x30]
call fcn.0044094f
lea ecx, [esp + 0x84]
call fcn.0042baf9
mov esi, dword [esp + 0x18]
add esi, 2
cmp word [esi], bx
jne 0x43f8b3
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
call fcn.0043f363
mov eax, dword [esp + 0xc]
push dword [eax + 4]
lea eax, [esp + 0x10]
push eax
mov ecx, eax
call fcn.0043f0d7
push 0x40
push dword [esp + 0x10]
call fcn.0042e475
mov eax, dword [esp + 0x2c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042e014
mov esp, ebp
pop ebp
ret
push 0x41f4f0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3