Function at 0x41bea0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4af1
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x4d5], dl
mov esi, ecx
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4e0], edi
test esi, esi
je 0x41bf3d
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x428], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bf14
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x43c]
call fcn.00402a10
lea ecx, [ebp - 0x43c]
mov eax, 1
jmp 0x41bf53
lea eax, [edi + 0x48]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.0040f130
mov ecx, eax
mov eax, 2
xorps xmm0, xmm0
mov dword [ebp - 0x44c], 0
movups xmmword [ebp - 0x45c], xmm0
mov dword [ebp - 0x448], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x45c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x44c], xmm0
mov dword [ebp - 4], 2
xor edx, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
test al, 2
je 0x41bfc0
and eax, 0xfffffffd
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4dc], eax
call fcn.00402b30
mov eax, dword [ebp - 0x4dc]
mov byte [ebp - 4], 3
test al, 1
je 0x41bfd3
lea ecx, [ebp - 0x43c]
call fcn.00402b30
cmp dword [ebp - 0x448], 8
lea esi, [ebp - 0x45c]
cmovae esi, dword [ebp - 0x45c]
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x41c7ef
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x424], eax
push esi
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call fcn.004051b0
test al, al
jne 0x41c043
test esi, esi
jne 0x41c022
xor ecx, ecx
jmp 0x41c036
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c027
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x424]
call fcn.004056b0
push 0x22
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 5
call fcn.00415660
mov esi, dword [ebp - 0x424]
cmp dword [esi - 0xc], 0
jle 0x41c0d8
push 0x25
push esi
call fcn.0047fa6d
add esp, 8
test eax, eax
je 0x41c0d8
sub eax, esi
sar eax, 1
js 0x41c0d8
cmp dword [esi - 4], 1
jle 0x41c08f
push dword [esi - 0xc]
lea ecx, [ebp - 0x424]
call fcn.00405810
mov esi, dword [ebp - 0x424]
push 0x208
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x41c0d8
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c0b0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.004056b0
mov esi, dword [ebp - 0x424]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c0e0
sub ecx, edx
add edi, 0x48
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00402740
lea eax, [ebp - 0x4dc]
push esi
push eax
call fcn.0040c220
add esp, 8
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 6
call fcn.0040eb00
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x4dc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c13d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [0x4fd8f4], 0
jne 0x41c19c
cmp byte [ebp - 0x4d5], 0
je 0x41c19c
call fcn.00420e60
test al, al
je 0x41c19c
mov ecx, edi
call fcn.00421a50
test al, al
je 0x41c19c
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x41c16d
mov edx, dword [edi]
test edx, edx
jne 0x41c175
xor ecx, ecx
jmp 0x41c18f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c180
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x424]
call fcn.004056b0
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x474]
call fcn.0040f130
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x424]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c2d6
mov ecx, edi
call fcn.00421a50
test al, al
je 0x41c222
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x41c1dd
mov edx, dword [edi]
test edx, edx
jne 0x41c1e5
xor ecx, ecx
jmp 0x41c1ff
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c1f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x424]
call fcn.004056b0
mov esi, dword [ebp - 0x424]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c2d6
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [ebp - 0x464]
or dword [eax + 0xd0], 1
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x10
jb 0x41c7f9
cmp dword [ebp - 0x460], 8
lea eax, [ebp - 0x474]
push ecx
cmovae eax, dword [ebp - 0x474]
lea ecx, [ebp - 0x510]
push eax
push 0x10
push 0x4c9cbc
lea eax, [ebp - 0x474]
push eax
push dword [ebp - 0x4dc]
call fcn.00407300
lea eax, [ebp - 0x510]
cmp edi, eax
je 0x41c2bf
mov ecx, edi
call fcn.00402b30
movups xmm0, xmmword [ebp - 0x510]
xor eax, eax
mov word [ebp - 0x510], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x500]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x4fc], 7
lea ecx, [ebp - 0x510]
call fcn.00402b30
mov byte [ebp - 0x4d5], 0
jmp 0x41c6f2
push 0
push 0
push 3
push 0
push 7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4dc], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x444], xmm0
cmp eax, 0xffffffff
je 0x41c321
lea ecx, [ebp - 0x444]
push ecx
lea ecx, [ebp - 0x498]
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push dword [ebp - 0x4dc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4e0]
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x440]
mov dword [edx + 0x78], eax
mov dword [edx + 0x7c], ecx
cmp byte [0x4e5ff4], 0
je 0x41c44f
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
xor eax, eax
mov dword [ebp - 0x428], 7
movups xmmword [ebp - 0x43c], xmm0
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 8
or dword [edx + 0xd0], 8
push eax
push esi
call fcn.0040c4e0
add esp, 8
test al, al
je 0x41c421
mov ecx, dword [ebp - 0x42c]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0xb
jb 0x41c7fe
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
push ecx
cmovae eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x4f8]
push eax
push 0xb
push str._Verified_
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x4dc]
call fcn.00407300
mov eax, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4f8]
add eax, 0x30
push ecx
mov ecx, eax
mov dword [ebp - 0x4dc], eax
call fcn.00404ef0
lea ecx, [ebp - 0x4f8]
call fcn.00402b30
mov eax, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x43c]
or dword [eax + 0xd0], 4
mov byte [ebp - 4], 7
call fcn.00402b30
jmp 0x41c458
mov eax, dword [ebp - 0x4e0]
add eax, 0x30
push 0xf
push str._Not_Verified_
mov ecx, eax
mov dword [ebp - 0x4dc], eax
call fcn.00402740
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 7
call fcn.00402b30
jmp 0x41c458
lea eax, [edx + 0x30]
mov dword [ebp - 0x4dc], eax
xorps xmm0, xmm0
mov dword [ebp - 0x478], 0
push esi
lea ecx, [ebp - 0x490]
movq qword [ebp - 0x480], xmm0
movups xmmword [ebp - 0x490], xmm0
call fcn.00402440
mov eax, dword [ebp - 0x4e0]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x490], 0
je 0x41c5a2
test dword [eax + 0xd0], 4
jne 0x41c51a
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
push 0x4caba4
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], 0
movups xmmword [ebp - 0x43c], xmm0
call fcn.00402a10
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x490]
call fcn.00402560
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x4dc]
push eax
call fcn.0040f0c0
lea ecx, [ebp - 0x4f8]
call fcn.00402b30
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 9
call fcn.00402b30
mov eax, dword [ebp - 0x4e0]
cmp dword [eax + 0x28], 0
jne 0x41c5a2
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
push 0x4cac38
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], 0
movups xmmword [ebp - 0x43c], xmm0
call fcn.00402a10
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x490]
call fcn.00402560
mov ecx, dword [ebp - 0x4e0]
push eax
lea ecx, [ecx + 0x18]
call fcn.00404ef0
lea ecx, [ebp - 0x4f8]
call fcn.00402b30
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 9
call fcn.00402b30
mov eax, dword [ebp - 0x4e0]
cmp dword [eax + 0x58], 0
jne 0x41c5ce
lea eax, [ebp - 0x45c]
cmp edi, eax
je 0x41c5ce
cmp dword [ebp - 0x448], 8
mov ecx, edi
push dword [ebp - 0x44c]
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.00402740
cmp byte [0x4ff5ae], 0
je 0x41c6e0
xorps xmm0, xmm0
mov dword [ebp - 0x4b4], 7
xor eax, eax
mov dword [ebp - 0x49c], 7
xor edx, edx
mov dword [ebp - 0x4a0], eax
movups xmmword [ebp - 0x4c8], xmm0
mov dword [ebp - 0x4cc], edx
movups xmmword [ebp - 0x4b0], xmm0
mov dword [ebp - 0x4b8], edx
mov word [ebp - 0x4c8], ax
mov word [ebp - 0x4b0], ax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41c632
lock inc dword [edi + 4]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub esp, 0x3c
mov dword [ebp - 0x4dc], ecx
mov eax, esp
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x4d4], ecx
mov dword [ebp - 0x4d0], edi
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x41c667
lock inc dword [edi + 4]
mov dword [eax], ecx
mov dword [eax + 4], edi
lea edi, [eax + 8]
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x4dc], edi
lea ecx, [edi + 4]
mov dword [edi], 0
push eax
call fcn.0040f130
lea eax, [ebp - 0x4b0]
mov byte [ebp - 4], 0xf
lea ecx, [edi + 0x1c]
push eax
call fcn.0040f130
mov byte [ebp - 4], 0xd
call fcn.0041e650
lea ecx, [ebp - 0x4cc]
call fcn.004060b0
mov edi, dword [ebp - 0x4d0]
test edi, edi
je 0x41c6e0
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41c6e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41c6e0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x490]
mov byte [ebp - 0x4d5], 1
call fcn.0041b550
mov ecx, dword [ebp - 0x460]
cmp ecx, 8
jb 0x41c732
mov edx, dword [ebp - 0x474]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c728
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c803
push ecx
push edx
call fcn.0047dc2a
add esp, 8
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c74c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x448]
cmp ecx, 8
jb 0x41c78c
mov edx, dword [ebp - 0x45c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41c782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c803
push ecx
push edx
call fcn.0047dc2a
add esp, 8
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
test esi, esi
je 0x41c7ce
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41c7ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41c7ce
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, byte [ebp - 0x4d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406ac0
call fcn.00402890
call fcn.00402890
call fcn.00482fbf
int3