Function at 0x4345a0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push ebx
mov edi, dword [ebp]
mov eax, dword [edi + 0x138]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov eax, dword [ebp + eax*4 + 0x420]
mov dword [esp + 0x18], eax
call fcn.00460b60
push ebx
mov dword [esp + 0x2c], eax
call fcn.00460b50
mov ecx, dword [ebp + 0x568]
mov ebx, eax
sub eax, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x18], eax
test byte [ecx + 0x48], 1
jne 0x4345fd
cmp dword [ebp + 0x358], 2
jne 0x434659
cmp dword [ebp + 0x3e8], 0x14
je 0x434659
mov esi, 0x4000
cmp ebx, esi
push edi
cmovb esi, ebx
call fcn.00459d40
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x434639
push dword [esp + 0x20]
call fcn.00460b00
mov eax, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x24]
push esi
push ecx
push dword [edi + 0xd38]
call sub.VCRUNTIME140.dll_memcpy_1
mov ecx, dword [edi + 0xd38]
add esp, 0xc
mov dword [esp + 0x24], ecx
jmp 0x434690
push str.CURL_SMALLREQSEND
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x43468a
push 0xa
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov ecx, dword [esp + 0x30]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43468e
cmp ebx, esi
cmovb esi, ebx
jmp 0x434690
mov ecx, dword [esp + 0x24]
mov esi, ebx
lea eax, [esp + 0x30]
push eax
push esi
push ecx
push dword [esp + 0x20]
push ebp
call fcn.0044b530
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4347cd
mov esi, dword [esp + 0x30]
mov eax, esi
cmp esi, dword [esp + 0x18]
cmova eax, dword [esp + 0x18]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
sub esi, eax
push 2
push edi
call fcn.0044aed0
add esp, 0x10
test esi, esi
je 0x4346ee
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x24]
push esi
push eax
push 4
push edi
call fcn.0044aed0
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
cmp dword [esp + 0x10], 0
je 0x4347e5
add dword [edi + 0xa0], esi
adc dword [edi + 0xa4], 0
push dword [edi + 0xa4]
push dword [edi + 0xa0]
push edi
call fcn.004470a0
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp eax, ebx
je 0x4347bf
push dword [esp + 0x20]
sub ebx, eax
call fcn.00460b60
mov esi, dword [esp + 0x14]
mov edx, eax
add edx, dword [esp + 0x34]
add esp, 4
mov ecx, dword [edi + 0x1074]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x198], ecx
mov ecx, dword [edi + 0x1078]
mov dword [esi + 0x1a0], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1a8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x19c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x1ac], ecx
mov dword [edi + 0x1078], ebp
mov dword [edi + 0x1074], 0x436b50
mov dword [esi + 8], ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], 0
movups xmm0, xmmword [eax]
pop edi
mov dword [esi + 0x1b0], 1
xor eax, eax
movups xmmword [esi + 0x1b4], xmm0
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1b0], 2
push dword [esp + 0x20]
call fcn.00460b00
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp dword [esp + 0x30], ebx
je 0x4347cd
pop edi
pop esi
pop ebp
mov eax, 0x37
pop ebx
add esp, 0xc
ret