Function at 0x4741a0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4c9c79
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov ebx, 0x4f1bc8
mov dword [esp + 0x14], 0
mov ecx, dword [ebx]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x474217
mov edi, dword [esp + 0x28]
sub eax, esi
sar eax, 1
mov edx, edi
mov esi, edi
cmp edi, eax
jb 0x474234
mov esi, eax
cmp dword [esp + 0x20], 8
jb 0x474240
mov edx, dword [ebp + 4]
jmp 0x474243
lea edx, [ebp + 4]
test esi, esi
jbe 0x47425e
mov bp, word [edx]
cmp bp, word [ecx]
jne 0x4742bc
add edx, 2
add ecx, 2
sub esi, 1
jne 0x474247
mov ebp, dword [esp + 0x18]
cmp edi, eax
jb 0x47426d
xor ecx, ecx
cmp edi, eax
setne cl
test ecx, ecx
je 0x4742d2
mov eax, dword [esp + 0x14]
add eax, 0x10
add ebx, 0x10
mov dword [esp + 0x14], eax
cmp eax, 0x80
jb 0x474210
push 0
push 0x633
push str..policy_configurator.cpp
lea ecx, [esp + 0x58]
call fcn.00444980
mov edx, dword [esp + 0x1c]
mov ecx, 8
mov dword [esp + 0x138], 5
cmp dword [edx + 0x18], ecx
jb 0x47457f
mov edx, dword [edx + 4]
jmp 0x474582
mov dx, bp
cmp dx, word [ecx]
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
je 0x47425a
mov ebp, dword [esp + 0x18]
jmp 0x474269
mov ebp, dword [esp + 0x1c]
xor eax, eax
push 0xffffffffffffffff
push eax
push ebp
lea ecx, [esp + 0x100]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x118], 7
mov dword [esp + 0x114], 0
mov word [esp + 0x104], ax
call fcn.00401c51
cmp byte [ebx + 0xc], 0
mov dword [esp + 0x138], 0
je 0x4743bb
cmp dword [ebp + 0x18], 8
jb 0x47432d
mov eax, dword [ebp + 4]
add ebp, 4
jmp 0x474332
add ebp, 4
mov eax, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push eax
call ebx
test eax, eax
je 0x4743b7
lea esi, [eax + 2]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048e1ac
mov edi, eax
add esp, 4
test edi, edi
je 0x4743b7
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.0048f0d0
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp dword [ecx + 0x18], 8
jb 0x474383
mov ebp, dword [ebp]
push esi
push edi
push ebp
call ebx
cmp eax, esi
jae 0x4743ae
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474391
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0xfc]
call fcn.00401ce4
push edi
call fcn.0048f4b5
add esp, 4
mov ebx, dword [esp + 0x14]
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0xfc]
xor edx, edx
mov ebp, 7
push eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], ebp
mov dword [esp + 0xf8], edi
mov word [esp + 0xe8], dx
call fcn.00401c51
cmp byte [ebx + 0xd], 0
mov byte [esp + 0x138], 1
je 0x474488
lea ecx, [esp + 0x110]
push ecx
call fcn.00472850
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x148], 2
call fcn.00438b60
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x144], 3
call fcn.00401c51
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x474465
mov edx, dword [esp + 0x34]
push edx
call fcn.0048e976
add esp, 4
mov byte [esp + 0x138], 1
cmp dword [esp + 0x128], esi
jb 0x47448d
mov eax, dword [esp + 0x114]
push eax
call fcn.0048e976
add esp, 4
jmp 0x47448d
mov esi, 8
push edi
push 0x62b
push str..policy_configurator.cpp
lea ecx, [esp + 0x58]
call fcn.00444980
mov ecx, dword [esp + 0xdc]
mov byte [esp + 0x138], 4
cmp dword [esp + 0xf0], esi
jae 0x4744c0
lea ecx, [esp + 0xdc]
push ecx
mov ecx, dword [ebx]
push 0x4f1ba4
push ecx
add eax, 4
push str.Adding_custom_policy:
push eax
call fcn.0040afbf
add esp, 8
push eax
call fcn.00444140
add esp, 8
push eax
call fcn.0040afbf
add esp, 8
push eax
call fcn.00444140
add esp, 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x138], 1
call fcn.00444620
mov eax, dword [esp + 0xdc]
cmp dword [esp + 0xf0], esi
jae 0x47451d
lea eax, [esp + 0xdc]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 8]
push eax
call edx
cmp dword [esp + 0xf0], esi
jb 0x47454c
mov eax, dword [esp + 0xdc]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xec], edi
mov word [esp + 0xdc], cx
cmp dword [esp + 0x10c], esi
jb 0x4745d6
mov edx, dword [esp + 0xf8]
push edx
call fcn.0048e976
add esp, 4
jmp 0x4745d6
add edx, 4
cmp dword [ebp + 0x18], ecx
jb 0x47458c
mov ecx, dword [ebp + 4]
jmp 0x47458f
lea ecx, [ebp + 4]
push edx
push 0x4f1ba4
push ecx
add eax, 4
push str.Custom_policy_syntax_error:
push eax
call fcn.0040afbf
add esp, 8
push eax
call fcn.00444140
add esp, 8
push eax
call fcn.0040afbf
add esp, 8
push eax
call fcn.00444140
add esp, 8
lea ecx, [esp + 0x4c]
mov dword [esp + 0x138], 0xffffffff
call fcn.00444620
mov al, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0048ebcd
add esp, 0x128
ret 8