Function at 0x43ad10
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x924
mov ebx, dword [esp + 0x938]
mov eax, dword [esp + 0x940]
mov ecx, dword [esp + 0x93c]
mov edx, dword [0x567b10]
xor edx, esp
mov dword [esp + 0x920], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
lea esi, [esp + 0x2c]
mov ecx, esi
push 0
push 2
push 0x53773a
call fcn.004230d0
cmp eax, 0xffffffff
je 0x43adbd
mov ecx, 0xf
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43af96
mov esi, dword [esp + 0x30]
mov dword [esp + 0x708], ecx
mov dword [esp + 0x704], 0
mov byte [esp + 0x6f4], 0
cmp esi, 0xf
jbe 0x43afb2
sub esp, 0xc
mov cl, byte [esp + 0x480]
mov byte [esp + 4], cl
mov dword [esp + 8], eax
mov dword [esp], esi
lea ecx, [esp + 0x700]
call fcn.00404140
jmp 0x43afd3
mov ecx, dword [esp + 0x948]
mov dword [esp + 0x91c], 7
mov dword [esp + 0x918], 0
mov word [esp + 0x908], 0
test ecx, ecx
je 0x43aff5
mov eax, ecx
shl eax, 8
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x908]
push eax
call fcn.0043b590
lea ebp, [esp + 0x700]
xor esi, esi
jmp 0x43ae1b
add esi, 1
cmp edi, esi
je 0x43b022
test esi, esi
je 0x43ae8a
mov eax, dword [esp + 0x918]
mov ecx, dword [esp + 0x91c]
cmp eax, ecx
jae 0x43ae60
lea edx, [eax + 1]
mov dword [esp + 0x918], edx
lea edx, [esp + 0x908]
cmp ecx, 7
jbe 0x43ae4e
mov edx, dword [esp + 0x908]
mov word [edx + eax*2], 0x3b
mov word [edx + eax*2 + 2], 0
jmp 0x43ae8a
sub esp, 0xc
movzx eax, byte [esp + 0x700]
mov byte [esp + 4], al
mov dword [esp + 8], 0x3b
mov dword [esp], 1
lea ecx, [esp + 0x914]
call fcn.0043cc70
mov ecx, dword [esp + 0x944]
mov eax, dword [ecx + esi*8]
mov ecx, dword [ecx + esi*8 + 4]
mov dword [esp + 0x6f4], ebp
mov dword [esp + 0x6f8], 0
mov dword [esp + 0x6fc], 0x104
lea edx, [esp + 0x6f4]
push edx
push ecx
push eax
lea eax, [esp + 0x480]
push eax
call fcn.0042fc00
add esp, 0x10
mov eax, dword [esp + 0x474]
test eax, eax
jne 0x43affe
mov eax, dword [esp + 0x6f4]
mov ecx, dword [esp + 0x6f8]
mov edx, dword [esp + 0x918]
mov ebp, dword [esp + 0x91c]
mov edi, ebp
sub edi, edx
cmp edi, ecx
jae 0x43af30
sub esp, 0x10
movzx edx, byte [esp + 0x484]
mov byte [esp + 4], dl
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], ecx
lea ecx, [esp + 0x918]
call fcn.0043cdc0
jmp 0x43af6a
lea edi, [edx + ecx]
add ecx, ecx
mov dword [esp + 0x918], edi
lea ebx, [esp + 0x908]
cmp ebp, 7
jbe 0x43af4f
mov ebx, dword [esp + 0x908]
lea edx, [ebx + edx*2]
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov word [ebx + edi*2], 0
mov ebx, dword [esp + 0x938]
lea ebp, [esp + 0x700]
mov eax, dword [esp + 0x6f4]
cmp eax, ebp
mov edi, dword [esp + 0x948]
je 0x43ae10
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x43ae10
mov dword [esp + 0x708], ecx
mov dword [esp + 0x704], 0
mov byte [esp + 0x6f4], 0
jmp 0x43afd3
mov dword [esp + 0x704], esi
lea ecx, [esp + 0x6f4]
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esp + esi + 0x6f4], 0
and byte [ebx + 0x18], 0xfe
movups xmm0, xmmword [esp + 0x6f4]
movups xmmword [ebx], xmm0
movsd xmm0, qword [esp + 0x704]
movsd qword [ebx + 0x10], xmm0
jmp 0x43b56a
mov dword [esp], 0
jmp 0x43b043
mov ecx, dword [esp + 0x478]
or byte [ebx + 0x18], 1
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov eax, dword [esp + 0x6f4]
cmp eax, ebp
jne 0x43b51f
jmp 0x43b529
cmp dword [esp + 0x91c], 8
jb 0x43b035
mov eax, dword [esp + 0x908]
jmp 0x43b03c
lea eax, [esp + 0x908]
mov dword [esp], eax
lea esi, [esp + 0x2c]
lea edi, [esp + 0x700]
mov dword [esp + 0x6f4], edi
mov dword [esp + 0x6f8], 0
mov dword [esp + 0x6fc], 0x104
lea eax, [esp + 0x6f4]
lea ecx, [esp + 0x474]
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push ecx
call fcn.0042fc00
add esp, 0x10
mov eax, dword [esp + 0x474]
test eax, eax
je 0x43b0a7
or byte [ebx + 0x18], 1
mov ecx, dword [esp + 0x478]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x43b514
lea ebp, [esp + 0x694]
mov dword [esp + 0x688], ebp
mov dword [esp + 0x690], 0xc
mov dword [esp + 0x694], 0x535402
mov dword [esp + 0x698], 0
mov dword [esp + 0x69c], 0x538614
mov dword [esp + 0x6a0], 4
mov dword [esp + 0x68c], 2
push str.PATHEXT
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x43b13d
mov edi, eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea ecx, [esp + 0x688]
push 1
push 0x5393e8
push ecx
push eax
push edi
call fcn.0044b9d0
add esp, 0x14
mov ebp, dword [esp + 0x688]
mov eax, dword [esp + 0x68c]
jmp 0x43b142
mov eax, 2
lea ecx, [esp + 0x480]
mov dword [esp + 0x474], ecx
mov dword [esp + 0x478], 0
mov dword [esp + 0x47c], 0x104
test eax, eax
je 0x43b3da
lea eax, [eax*8]
add eax, ebp
mov dword [esp + 4], eax
mov edi, 0x104
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
lea edx, [esp + 0x26c]
mov dword [esp + 0x260], edx
mov dword [esp + 0x264], 0
mov dword [esp + 0x268], 0x104
lea edx, [esp + 0x260]
push edx
push ecx
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0042fc00
add esp, 0x10
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43b1f0
or byte [ebx + 0x18], 1
mov ecx, dword [esp + 0x50]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov esi, 1
jmp 0x43b370
mov eax, dword [esp + 0x47c]
nop word [eax + eax]
cmp eax, edi
jae 0x43b21b
lea ecx, [esp + 0x474]
push 2
push edi
lea eax, [esp + 0x488]
push eax
call fcn.00424880
lea eax, [esp + 0x58]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x10], esi
lea eax, [esp + 0x24]
mov dword [esp + 0x14], eax
mov word [esp + 0x18], 0x505
lea ecx, [esp + 0x10]
lea esi, [esp + 0x34]
push esi
call fcn.004382d0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x48], 0xf
mov ecx, esi
jbe 0x43b265
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.0042fc00
add esp, 0x10
mov eax, dword [esp + 0x48]
cmp eax, 0x10
jb 0x43b2b3
mov ecx, dword [esp + 0x34]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x43b2a9
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43b585
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00533ac0
add esp, 8
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x43b2d0
or byte [ebx + 0x18], 1
mov eax, dword [esp + 0x20]
mov dword [ebx], esi
mov dword [ebx + 4], eax
jmp 0x43b312
mov ebx, dword [esp + 0x474]
mov edi, dword [esp + 0x47c]
mov eax, dword [esp + 0x50]
lea edx, [eax + 1]
cmp edx, dword [esp + 0x54]
ja 0x43b341
mov ecx, dword [esp + 0x4c]
mov word [ecx + eax*2], 0
push 0
push ebx
push edi
push 0
push dword [esp + 0x5c]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SearchPathW]
mov edi, eax
mov ebx, dword [esp + 0x938]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x43b328
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test esi, esi
jne 0x43b358
mov eax, dword [esp + 0x47c]
cmp edi, eax
lea esi, [esp + 0x2c]
ja 0x43b200
jmp 0x43b35f
lea ecx, [esp + 0x4c]
push 2
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00424880
mov eax, dword [esp + 0x50]
jmp 0x43b2eb
mov esi, 1
jmp 0x43b370
xor eax, eax
test edi, edi
setne al
lea esi, [eax + eax*4]
nop dword [eax]
mov eax, dword [esp + 0x260]
lea ecx, [esp + 0x26c]
cmp eax, ecx
je 0x43b38c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test esi, esi
jne 0x43b3a3
add ebp, 8
cmp ebp, dword [esp + 4]
lea esi, [esp + 0x2c]
jne 0x43b180
jmp 0x43b3ac
cmp esi, 5
jne 0x43b4d5
test edi, edi
jne 0x43b3df
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004295f0
add esp, 8
or byte [ebx + 0x18], 1
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x43b4d5
mov edi, 0x104
mov dword [esp + 0x478], edi
lea esi, [esp + 0x26c]
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], 0
mov dword [esp + 0x268], 0x104
lea eax, [esp + 0x260]
lea ebx, [esp + 0x4c]
push eax
push edi
push dword [esp + 0x47c]
push ebx
call fcn.0042fd90
add esp, 0x10
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43b445
mov ebx, dword [esp + 0x938]
or byte [ebx + 0x18], 1
mov ecx, dword [esp + 0x50]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x43b4c0
mov eax, dword [esp + 0x260]
mov edi, dword [esp + 0x264]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
test edi, edi
je 0x43b4a2
cmp edi, 0xf
jbe 0x43b48e
sub esp, 0xc
mov cl, byte [esp + 0x40]
mov byte [esp + 4], cl
mov dword [esp + 8], eax
mov dword [esp], edi
lea ecx, [esp + 0x58]
call fcn.00404140
jmp 0x43b4a2
mov dword [esp + 0x5c], edi
push edi
push eax
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esp + edi + 0x4c], 0
mov ebx, dword [esp + 0x938]
and byte [ebx + 0x18], 0xfe
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [ebx], xmm0
movsd xmm0, qword [esp + 0x5c]
movsd qword [ebx + 0x10], xmm0
mov eax, dword [esp + 0x260]
cmp eax, esi
je 0x43b4d5
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x474]
lea ecx, [esp + 0x480]
cmp eax, ecx
je 0x43b4f1
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x688]
lea ecx, [esp + 0x694]
cmp eax, ecx
lea edi, [esp + 0x700]
je 0x43b514
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x6f4]
cmp eax, edi
je 0x43b529
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x91c]
cmp ecx, 8
jb 0x43b56a
mov eax, dword [esp + 0x908]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x43b560
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x43b585
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.00533ac0
add esp, 8
mov ecx, dword [esp + 0x920]
xor ecx, esp
call fcn.00533ace
mov eax, ebx
add esp, 0x924
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3