Function at 0x41e0c0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434096
mov eax, dword fs:[0]
push eax
sub esp, 0x9c4
mov eax, dword [0x440100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x970], eax
lea eax, [ebp - 0x810]
push 0x800
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 0
movups xmmword [ebp - 0x828], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e131
sub ecx, edx
lea eax, [ebp - 0x810]
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.004012f0
cmp dword [ebp - 0x814], 0xf
lea esi, [ebp - 0x828]
mov edi, dword [ebp - 0x818]
cmova esi, dword [ebp - 0x828]
mov dword [ebp - 4], 0
test edi, edi
je 0x41e1d8
push 0x5c
lea eax, [ebp - 0x96c]
push 0
push eax
call sub.msvcrt.dll_memset
push 0xa3
lea eax, [ebp - 0x90f]
push 0
push eax
call sub.msvcrt.dll_memset
or ecx, 0xffffffff
mov byte [ebp - 0x910], 1
lea eax, [edi - 1]
add esp, 0x18
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + esi]
add ecx, esi
mov al, byte [ebp + eax - 0x96c]
test al, al
jne 0x41e1d4
nop dword [eax + eax]
cmp ecx, esi
je 0x41e1d8
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x96c]
test al, al
je 0x41e1c0
sub ecx, esi
jmp 0x41e1db
or ecx, 0xffffffff
cmp edi, ecx
mov dword [ebp - 0x830], 0
lea eax, [ebp - 0x828]
mov dword [ebp - 0x82c], 0
cmovb ecx, edi
xorps xmm0, xmm0
cmp dword [ebp - 0x814], 0xf
push ecx
cmova eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x840]
push eax
movups xmmword [ebp - 0x840], xmm0
call fcn.004012f0
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xf
jbe 0x41e259
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e24f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e67b
push ecx
push edx
call fcn.0042799b
add esp, 8
movups xmm0, xmmword [ebp - 0x840]
mov eax, 0x7fffffff
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [ebp - 0x830]
movq qword [ebp - 0x818], xmm0
mov edi, dword [ebp - 0x818]
sub eax, edi
cmp eax, 0x12
jb 0x41e676
cmp dword [ebp - 0x814], 0xf
lea eax, [ebp - 0x828]
mov ecx, 0xf
mov dword [ebp - 0x848], 0
cmova eax, dword [ebp - 0x828]
lea esi, [ebp - 0x858]
mov dword [ebp - 0x974], eax
xorps xmm0, xmm0
lea eax, [edi + 0x12]
mov dword [ebp - 0x844], 0
movups xmmword [ebp - 0x858], xmm0
cmp eax, ecx
jbe 0x41e31e
or eax, ecx
cmp eax, 0x7fffffff
jbe 0x41e2e7
mov eax, 0x7fffffff
jmp 0x41e2f1
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x978], eax
lea eax, [ebp - 0x978]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.00401290
mov ecx, dword [ebp - 0x978]
mov esi, eax
add esp, 8
mov dword [ebp - 0x858], esi
lea eax, [edi + 0x12]
push edi
push dword [ebp - 0x974]
mov dword [ebp - 0x848], eax
push esi
mov dword [ebp - 0x844], ecx
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [str.Locale_Remulator_]
add esp, 0xc
movups xmmword [esi + edi], xmm0
mov ax, word [0x437ab0]
mov word [esi + edi + 0x10], ax
mov byte [esi + edi + 0x12], 0
mov edi, dword [ebp - 0x970]
xorps xmm0, xmm0
xor ecx, ecx
mov dword [ebp - 0x82c], 7
movups xmmword [ebp - 0x840], xmm0
mov word [ebp - 0x840], cx
mov eax, dword [edi + 4]
mov dword [ebp - 0x974], eax
xor eax, eax
mov dword [ebp - 0x830], eax
mov esi, 1
mov byte [ebp - 4], 2
cmp dword [ebp + 8], esi
jle 0x41e400
nop word [eax + eax]
push 1
push 0x437ab4
lea ecx, [ebp - 0x840]
call fcn.00405b70
mov edx, dword [edi + esi*4]
mov eax, edx
lea edi, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e3c0
sub eax, edi
lea ecx, [ebp - 0x840]
sar eax, 1
push eax
push edx
call fcn.00405b70
push 2
push 0x437ab8
lea ecx, [ebp - 0x840]
call fcn.00405b70
mov edi, dword [ebp - 0x970]
inc esi
cmp esi, dword [ebp + 8]
jl 0x41e3a0
mov eax, dword [ebp - 0x830]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004279a9
mov edi, dword [ebp - 0x840]
lea ecx, [ebp - 0x840]
add esp, 4
mov dword [ebp - 0x970], eax
cmp dword [ebp - 0x82c], 7
mov edx, eax
cmova ecx, edi
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41e440
lea eax, [ebp - 0x97c]
push eax
push dword [ebp - 0x974]
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
cmp dword [ebp - 0x97c], 6
mov ecx, str.LRHookx32.dll
mov eax, str.LRHookx64.dll
cmovne eax, ecx
lea ecx, [ebp - 0x858]
push 0xd
push eax
call fcn.00402db0
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [ebp - 0x86c]
push eax
push str.LRCodePage
mov dword [ebp - 0x86c], 0x3a4
mov dword [ebp - 0x868], 0x411
mov dword [ebp - 0x864], 0x21c
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 1
call esi
lea eax, [ebp - 0x868]
push eax
push str.LRLCID
call esi
lea eax, [ebp - 0x864]
push eax
push str.LRBIAS
call esi
lea eax, [ebp - 0x860]
push eax
push str.LRHookIME
call esi
lea eax, [ebp - 0x85c]
push eax
push str.LRHookLCID
call esi
cmp dword [ebp - 0x844], 0xf
lea eax, [ebp - 0x858]
push 0
cmova eax, dword [ebp - 0x858]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x9d0]
movlpd qword [ebp - 0x9bc], xmm0
push eax
lea eax, [ebp - 0x9c0]
movlpd qword [ebp - 0x9b4], xmm0
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push dword [ebp - 0x970]
movlpd qword [ebp - 0x9ac], xmm0
push 0
movlpd qword [ebp - 0x9a4], xmm0
movlpd qword [ebp - 0x99c], xmm0
movlpd qword [ebp - 0x994], xmm0
movlpd qword [ebp - 0x98c], xmm0
movlpd qword [ebp - 0x984], xmm0
movups xmmword [ebp - 0x9d0], xmm0
mov dword [ebp - 0x9c0], 0x44
call fcn.00424970
mov eax, dword [ebp - 0x82c]
cmp eax, 7
jbe 0x41e5d2
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41e5c8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e67b
push ecx
push edi
call fcn.0042799b
add esp, 8
mov ecx, dword [ebp - 0x844]
cmp ecx, 0xf
jbe 0x41e608
mov edx, dword [ebp - 0x858]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e5fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e67b
push ecx
push edx
call fcn.0042799b
add esp, 8
mov ecx, dword [ebp - 0x814]
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], 0
cmp ecx, 0xf
jbe 0x41e659
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41e64f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e67b
push ecx
push edx
call fcn.0042799b
add esp, 8
xor eax, eax
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.00427958
mov esp, ebp
pop ebp
ret
call fcn.00402da0
call fcn.00428a50
int3