Function at 0x43fddf
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x449014]
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 0x43fe36
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00426940
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 0x440006
mov esi, eax
mov dword [esp + 0x10], ebx
call fcn.00426940
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 0x43fe58
sub ecx, edx
sar ecx, 1
push 0x41f9d0
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 0x43ffba
cmp ecx, esi
je 0x43ffba
lea edi, [ecx + 2]
cmp edi, dword [esp + 0x18]
je 0x43ffba
sub eax, esi
sar eax, 1
cmp eax, 0x61a8
ja 0x43ffba
push ecx
push ecx
push esi
lea ecx, [esp + 0x90]
call fcn.0042b889
mov eax, 0x7530
lea ecx, [esp + 0x30]
sub eax, dword [esp + 0x94]
mov edx, edi
push eax
call fcn.0044011f
mov esi, dword [esp + 0x34]
pop ecx
jmp 0x43ff97
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.00429e70
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.00429e70
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.0043f011
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.0043f6b7
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 0x44001b
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], ebx
call fcn.0043fa59
push dword [esp + 0x40]
lea ecx, [esp + 0x10]
push dword [esp + 0x40]
push dword [esp + 0x24]
call fcn.00440c65
lea ecx, [esp + 0x6c]
call fcn.0042bf89
lea ecx, [esp + 0x54]
call fcn.0042bf89
mov esi, dword [esp + 0x14]
add esi, 0x18
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x34]
jne 0x43fedb
lea ecx, [esp + 0x30]
call fcn.00440eef
lea ecx, [esp + 0x84]
call fcn.0042bf89
mov esi, dword [esp + 0x18]
add esi, 2
cmp word [esi], bx
jne 0x43fe53
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
call fcn.0043f8f1
mov eax, dword [esp + 0xc]
push dword [eax + 4]
lea eax, [esp + 0x10]
push eax
mov ecx, eax
call fcn.0043f665
push 0x40
push dword [esp + 0x10]
call fcn.0042e895
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.0042e434
mov esp, ebp
pop ebp
ret
push 0x41f9b0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3