Function at 0x41a440
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov esi, esp
mov dword [esi + 0x128], ebp
mov dword [esi + 0x12c], esp
mov dword [esi + 0x138], 0xffffffff
mov dword [esi + 0x134], 0x5136b0
mov dword [esi + 0x4c], ecx
mov edx, dword [ebp + 8]
lea eax, [esi + 0x130]
mov ecx, dword fs:[0]
mov ebx, edx
mov dword [esi + 0x130], ecx
mov dword fs:[0], eax
mov edi, dword [edx + 0x10]
cmp dword [edx + 0x14], 7
jbe 0x41a49d
mov ebx, dword [edx]
xor eax, eax
jmp 0x41a4bd
mov eax, dword [esi + 0xc]
inc eax
cmp eax, 0xb
je 0x41a688
mov dword [esi + 0xc], eax
shl eax, 4
mov dword [esi + 0x10], eax
mov eax, dword [eax + 0x678b48]
mov dword [esi + 0x14], eax
push eax
call fcn.005d3244
mov edx, dword [esi + 0x14]
add esp, 4
cmp edi, eax
jne 0x41a4b0
test edi, edi
je 0x41a4ff
xor eax, eax
nop word cs:[eax + eax]
nop
movzx ecx, word [ebx + eax*2]
cmp cx, word [edx + eax*2]
jne 0x41a4b0
inc eax
cmp edi, eax
jne 0x41a4f0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov ebx, dword [eax + 0x10]
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x41a51d
mov ecx, dword [eax]
cmp ebx, 7
mov dword [esi + 4], ebx
ja 0x41a541
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edi, ebx
mov ebx, 7
movsd qword [esi + 0x38], xmm1
movsd qword [esi + 0x30], xmm0
jmp 0x41a5bc
or ebx, 7
mov dword [esi + 8], ecx
mov ecx, 0x7ffffffe
cmp ebx, 0x7ffffffe
cmovb ecx, ebx
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x41a58f
cmp ecx, 0x7fffffee
mov dword [esi + 0x138], 0xffffffff
jae 0x41aa93
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x41a5a5
add eax, 2
mov dword [esi + 0x138], 0xffffffff
push eax
call fcn.005d0220
add esp, 4
mov edi, dword [esi + 4]
mov dword [esi + 0x30], eax
lea ecx, [edi + edi + 2]
push ecx
push dword [esi + 8]
push eax
call fcn.0061e340
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
lea eax, [ecx - 5]
cmp eax, 6
jb 0x41a76d
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 7
mov eax, ecx
jbe 0x41a5de
mov eax, dword [ecx]
mov dword [esi + 0x138], 4
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x41a761
add eax, 2
mov ecx, eax
mov dword [esi + 4], eax
add ecx, eax
mov eax, 0xffffffff
cmovae eax, ecx
mov dword [esi + 8], ecx
push eax
call fcn.005d8940
add esp, 4
mov edi, eax
push dword [esi + 8]
push 0
push eax
call fcn.0061e8c0
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 7
jbe 0x41a634
mov eax, dword [eax]
mov ecx, dword [esi + 4]
push ecx
push edi
push eax
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 8]
cmp eax, ecx
jae 0x41a758
push ebx
call fcn.005d3244
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x44]
cmp eax, edi
jae 0x41a72a
sub esp, 0xc
mov al, byte [esi + 0x68]
lea ecx, [esi + 0x30]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.00405590
mov ebx, dword [esi + 8]
jmp 0x41a758
mov dword [esi + 0x138], 0xffffffff
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x41aa6f
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x41aa87
lea ecx, [esi + 0x68]
push 0
push 0xaca
push str.policy_configurator.cpp
call fcn.0041f9f0
lea eax, [esi + 0x78]
mov dword [esi + 0x138], 8
push str.Custom_policy_syntax_error:
push eax
call fcn.005df800
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 7
jbe 0x41a6f0
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00424400
add esp, 8
push 0x67b985
push eax
call fcn.005df800
add esp, 8
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 7
jbe 0x41a713
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00424400
add esp, 8
lea ecx, [esi + 0x68]
call fcn.00424810
jmp 0x41aa6f
cmp eax, 7
jbe 0x41a734
mov ecx, dword [esi + 0x30]
jmp 0x41a737
lea ecx, [esi + 0x30]
mov eax, edi
mov dword [esi + 4], ecx
mov dword [esi + 0x40], edi
add eax, edi
push eax
mov ebx, dword [esi + 8]
push ebx
push ecx
call fcn.0061e340
add esp, 0xc
mov eax, dword [esi + 4]
mov word [eax + edi*2], 0
push ebx
call fcn.005db8b4
add esp, 4
mov eax, dword [esi + 0x40]
mov ebx, dword [esi + 0x44]
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], eax
cmp ebx, 7
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
jbe 0x41a785
mov edx, dword [esi + 0x30]
jmp 0x41a788
lea edx, [esi + 0x30]
mov edi, dword [esi + 4]
cmp edi, 7
ja 0x41a7ad
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov eax, 7
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
jmp 0x41a832
or edi, 7
mov ecx, 0x7ffffffe
mov dword [esi + 8], edx
cmp edi, 0x7ffffffe
mov dword [esi + 0x48], edi
cmovb ecx, edi
lea eax, [ecx + ecx]
cmp ecx, 0x7ff
jb 0x41a7fe
cmp ecx, 0x7fffffee
mov dword [esi + 0x138], 4
jae 0x41aa98
add eax, 0x25
push eax
call fcn.005d0220
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x41a814
add eax, 2
mov dword [esi + 0x138], 4
push eax
call fcn.005d0220
add esp, 4
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esi + 0x18], eax
lea ecx, [edi + edi + 2]
push ecx
push edx
push eax
call fcn.0061e340
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x48]
cmp ecx, 7
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x138], 5
jb 0x41a909
lea eax, [esi + 0x68]
push eax
call fcn.0044a7f0
add esp, 4
lea eax, [esi + 0x30]
mov dword [esi + 0x138], 7
lea ecx, [esi + 0x50]
push eax
lea eax, [esi + 0x68]
push eax
push ecx
call fcn.0044b110
add esp, 0xc
mov ecx, dword [esi + 0x2c]
cmp ecx, 8
jb 0x41a8b0
mov eax, dword [esi + 0x18]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x41a8a6
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41aabb
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x7c]
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
cmp ecx, 8
movsd qword [esi + 0x28], xmm0
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm2
jb 0x41a909
mov eax, dword [esi + 0x68]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x41a8ff
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41aaca
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0x138], 5
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x41a9a8
push 0
call fcn.00410ec0
add esp, 4
test al, al
je 0x41a987
lea ecx, [esi + 0x68]
push 0
push 0xab7
push str.policy_configurator.cpp
call fcn.0041f9f0
lea eax, [esi + 0x78]
mov dword [esi + 0x138], 6
push str.Adding_custom_policy:
push eax
call fcn.005df800
add esp, 8
push dword [esi + 0x14]
push eax
call fcn.00424400
add esp, 8
push 0x67b985
push eax
call fcn.005df800
add esp, 8
cmp dword [esi + 0x2c], 7
jbe 0x41a993
mov ecx, dword [esi + 0x18]
jmp 0x41a996
push 0
call fcn.00410ec0
add esp, 4
jmp 0x41a9a8
lea ecx, [esi + 0x18]
push ecx
push eax
call fcn.00424400
add esp, 8
lea ecx, [esi + 0x68]
call fcn.00424810
mov eax, dword [esi + 0x4c]
cmp dword [esi + 0x2c], 7
mov edi, dword [eax]
jbe 0x41a9b8
mov eax, dword [esi + 0x18]
jmp 0x41a9bb
lea eax, [esi + 0x18]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x678b4c]
mov eax, dword [eax + 0x678b50]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi]
mov dword [esi + 0x10], eax
mov ebx, dword [ecx + 0x60]
mov dword [esi + 0x138], 0xffffffff
mov ecx, ebx
call dword [0x64689c]
mov dword [esi + 0x138], 5
mov ecx, edi
push dword [esi + 0xc]
push dword [esi + 0x14]
push dword [esi + 0x10]
call ebx
mov ecx, dword [esi + 0x2c]
cmp ecx, 8
jb 0x41aa38
mov eax, dword [esi + 0x18]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x41aa2e
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41aa9d
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [esi + 0x44]
cmp ecx, 8
jb 0x41aa6f
mov eax, dword [esi + 0x30]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x41aa65
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41aaac
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov eax, dword [esi + 0x130]
mov dword fs:[0], eax
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0
call fcn.00410ec0
add esp, 4
jmp 0x41aa6f
call fcn.005e8c60
call fcn.005e8c60
mov dword [esi + 0x138], 2
call fcn.006207e0
mov dword [esi + 0x138], 3
call fcn.006207e0
mov dword [esi + 0x138], 0
call fcn.006207e0
mov dword [esi + 0x138], 1
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
mov ecx, dword [esi + 0x7c]
cmp ecx, 8
jb 0x41ab67
mov eax, dword [esi + 0x68]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x41ab5d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41ab80
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 7
mov word [esi + 0x68], 0
add esp, 0xc
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
call fcn.0061de80
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
mov ecx, dword [esi + 0x2c]
cmp ecx, 8
jb 0x41ac17
mov eax, dword [esi + 0x18]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x41ac0d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41ac30
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 7
mov word [esi + 0x18], 0
add esp, 0xc
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
mov ecx, dword [esi + 0x44]
cmp ecx, 8
jb 0x41ac87
mov eax, dword [esi + 0x30]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x41ac7d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41ac8c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0xc
pop ebp
ret
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax + eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x13c]
mov ebp, dword [esi + 0x128]
lea ecx, [esi + 0x68]
call fcn.00424810
add esp, 0xc
pop ebp
ret