Function at 0x449f54
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x449f5c
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x44a45a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x44a31f
push dword fs:[edx]
mov dword fs:[edx], esp
mov ax, 0x27f
call fcn.00404644
xor ecx, ecx
mov dl, 1
mov eax, dword [0x448364]
call fcn.00450dcc
mov dword [0x4dd68c], eax
xor edi, edi
mov dword [0x4dd578], 1
xor eax, eax
mov dword [ebp - 0x4c], eax
call fcn.0040455c
push eax
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x449f30]
call fcn.004084c4
add esp, 4
mov eax, dword [ebp - 0x28]
call fcn.004082fc
mov esi, eax
test esi, esi
jle 0x449ff1
mov ebx, 1
mov eax, dword [ebp - 0x28]
lea edx, [eax + ebx*4 - 4]
mov eax, ebx
call fcn.004045bc
inc ebx
dec esi
jne 0x449fdf
push 0
mov ecx, 1
mov edx, 1
mov ax, 0xc
call fcn.00449514
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x449f30]
call fcn.0041ea78
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x44]
push eax
call sub.oleaut32.dll_SafeArrayPutElement_1
test edi, edi
jne 0x44a09a
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov eax, 0x44a478
call fcn.00448ebc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x1c]
call fcn.00448fec
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x48]
mov eax, 0x44a488
call fcn.00448ebc
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00448fec
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00448e00
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
mov dx, 0x7c
call fcn.00449324
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
call fcn.00406de8
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 4]
call fcn.00406de8
mov eax, dword [ebp - 0x1c]
call fcn.0044943c
mov dword [ebp - 0x50], eax
call fcn.00449f24
test al, al
je 0x44a0b3
call fcn.0040629c
xor ebx, ebx
mov ecx, 0x4dd58c
lea eax, [ebx + 0x89d41]
imul eax, eax, 0x7a122
mov esi, 0xff
cdq
idiv esi
mov byte [ecx], dl
inc ebx
inc ecx
cmp ebx, 0x100
jne 0x44a0ba
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x24]
call fcn.004076f0
push eax
push 0x44a48c
call sub.kernel32.dll_SetEnvironmentVariableW
push 1
push 1
movzx eax, byte [0x44a494]
push eax
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x20]
call fcn.00406ff8
mov ecx, dword [ebp - 0x68]
mov dl, 1
mov eax, dword [0x443168]
call fcn.00444334
mov edi, eax
mov eax, edi
call fcn.00444d5c
lea eax, [ebp - 0x78]
push eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
call fcn.004082fc
dec eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
mov cx, 0x11
mov edx, 1
call fcn.0041fc6c
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x10]
call fcn.0041eb48
mov eax, dword [ebp - 0x1c]
call fcn.004082fc
mov esi, eax
dec esi
test esi, esi
jl 0x44a192
inc esi
xor ebx, ebx
push ebx
push 1
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x1c]
movzx edx, byte [edx + ebx]
mov cl, 1
call fcn.0041e730
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041fe2c
add esp, 0x10
inc ebx
dec esi
jne 0x44a164
mov ebx, dword [ebp - 8]
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00444634
lea eax, [ebp - 0x18]
call fcn.00409940
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
call fcn.00409a50
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00409a50
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00449d64
mov eax, dword [ebp - 0x1c]
call fcn.004082fc
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
xchg edx, eax
call fcn.00404870
xor ebx, ebx
push ebx
push 1
lea eax, [ebp - 0xa4]
xor edx, edx
mov cl, 1
call fcn.0041e730
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041fe2c
add esp, 0x10
inc ebx
cmp ebx, 0x3e9
jne 0x44a1ef
lea eax, [ebp - 0x10]
push eax
call sub.oleaut32.dll_VariantClear_1
cmp dword [ebp - 0x50], 0
je 0x44a231
call sub.kernel32.dll_AllocConsole
mov eax, dword [ebp - 0x54]
call fcn.004470f4
mov eax, dword [ebp - 0x18]
call fcn.004499bc
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa8]
call fcn.00409940
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00409a50
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00409a50
mov eax, dword [ebp - 0x94]
call fcn.00449118
inc eax
jne 0x44a2cb
lea eax, [ebp - 0xb8]
call fcn.00419734
push eax
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea eax, [ebp - 0xbc]
call fcn.00409940
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00409a50
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [eax]
call dword [eax + 0x94]
call fcn.00409a50
jmp 0x44a315
lea eax, [ebp - 0xcc]
call fcn.00419734
push eax
mov eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea eax, [ebp - 0xd0]
call fcn.00409940
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.00409a50
mov eax, dword [ebp - 0xd0]
push eax
mov eax, dword [eax]
call dword [eax + 0x94]
call fcn.00409a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44a364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a464
lea eax, [ebp - 0xd4]
call fcn.004063c0
lea eax, [ebp - 0xd0]
call fcn.00409940
lea eax, [ebp - 0xcc]
call fcn.00419734
lea eax, [ebp - 0xbc]
call fcn.00409940
lea eax, [ebp - 0xb8]
call fcn.00419734
lea eax, [ebp - 0xa8]
call fcn.00409940
lea eax, [ebp - 0xa4]
call fcn.00419734
lea eax, [ebp - 0x90]
call fcn.00419734
lea eax, [ebp - 0x78]
call fcn.00419734
lea eax, [ebp - 0x68]
call fcn.0040698c
lea eax, [ebp - 0x64]
mov edx, dword [0x447414]
mov ecx, 2
call fcn.00407a90
lea eax, [ebp - 0x5c]
call fcn.00406d84
lea eax, [ebp - 0x58]
mov edx, dword [0x447414]
call fcn.004085e4
lea eax, [ebp - 0x40]
call fcn.00419734
lea eax, [ebp - 0x2c]
mov edx, dword [0x4492f8]
call fcn.004085e4
lea eax, [ebp - 0x28]
mov edx, dword [0x449f30]
call fcn.004085e4
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406d8c
lea eax, [ebp - 0x1c]
mov edx, dword [0x447414]
call fcn.004085e4
lea eax, [ebp - 0x18]
call fcn.00409940
lea eax, [ebp - 0x14]
call fcn.00409940
lea eax, [ebp - 0x10]
call fcn.00419734
ret