Function at 0x10048980
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10098070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
jmp 0x100489a4
mov ecx, dword [ebp - 0x50]
add ecx, 0x3a
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0xc]
add edx, 0x10fe
cmp dword [ebp - 0x50], edx
ja 0x10048e1c
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4f26
ja 0x10048ab7
cmp dword [ebp - 0x2c], 0x4f26
je 0x10048d4c
cmp dword [ebp - 0x2c], 0x1beb
ja 0x10048a50
cmp dword [ebp - 0x2c], 0x1beb
je 0x10048c34
cmp dword [ebp - 0x2c], 0x1b3d
ja 0x10048a2e
cmp dword [ebp - 0x2c], 0x1b3d
je 0x10048d90
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
sub dword [ebp - 0x34], 0x1a8f
je 0x10048bb8
sub dword [ebp - 0x34], 0x3a
je 0x10048de5
sub dword [ebp - 0x34], 0x3a
je 0x10048c9c
jmp 0x10048e17
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], edx
sub dword [ebp - 0x44], 0x1b77
je 0x10048b98
sub dword [ebp - 0x44], 0x3a
je 0x10048c19
jmp 0x10048e17
cmp dword [ebp - 0x2c], 0x4e78
ja 0x10048a95
cmp dword [ebp - 0x2c], 0x4e78
je 0x10048c64
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
sub dword [ebp - 0x38], 0x1c25
je 0x10048be5
sub dword [ebp - 0x38], 0x3a
je 0x10048ccc
sub dword [ebp - 0x38], 0x31df
je 0x10048dfd
jmp 0x10048e17
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
sub dword [ebp - 0x48], 0x4eb2
je 0x10048d65
sub dword [ebp - 0x48], 0x3a
je 0x10048dcd
jmp 0x10048e17
cmp dword [ebp - 0x2c], 0x6520
ja 0x10048b2e
cmp dword [ebp - 0x2c], 0x6520
je 0x10048ce1
cmp dword [ebp - 0x2c], 0x500e
ja 0x10048b0f
cmp dword [ebp - 0x2c], 0x500e
je 0x10048d2d
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
sub dword [ebp - 0x3c], 0x4f60
je 0x10048d79
sub dword [ebp - 0x3c], 0x3a
je 0x10048cf0
sub dword [ebp - 0x3c], 0x3a
je 0x10048d10
jmp 0x10048e17
cmp dword [ebp - 0x2c], 0x5048
je 0x10048b9f
cmp dword [ebp - 0x2c], 0x64e6
je 0x10048c46
jmp 0x10048e17
cmp dword [ebp - 0x2c], 0x6608
ja 0x10048b6c
cmp dword [ebp - 0x2c], 0x6608
je 0x10048b8a
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
sub dword [ebp - 0x40], 0x655a
je 0x10048caf
sub dword [ebp - 0x40], 0x3a
je 0x10048d1a
sub dword [ebp - 0x40], 0x3a
je 0x10048d40
jmp 0x10048e17
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], ecx
sub dword [ebp - 0x4c], 0x6642
je 0x10048bf7
sub dword [ebp - 0x4c], 0x3a
je 0x10048d9d
jmp 0x10048e17
mov edx, 0x6c
mov word [ebp - 0x18], dx
jmp 0x10048e17
jbe 0x10048b9f
jmp 0x10048e17
call fcn.10041060
add esp, 0x18
pop edi
mov byte [esi + 0x642], 7
pop esi
ret 4
push ebx
push esi
push edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebp
push edx
push eax
push ecx
push ecx
push 0x43ac70
push dword fs:[0]
mov eax, dword ds:[0x45fccc]
xor eax, esp
jmp 0x10048e17
mov ecx, 1
mov eax, dword [ebx + 8]
call fcn.1000de30
jmp 0x10048e17
mov eax, 0x65
mov word [ebp - 0x16], ax
xor ecx, ecx
mov word [ebp - 0x14], cx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x10048e17
lea esi, [esi + esi*2]
lea ebx, [ebx + esi*4 + 0x10]
mov ecx, dword [ebx]
mov dword [eax + 0xc], ecx
cmp dword [ebx + 4], 0
jne 0x10048d2d
jmp 0x10048e17
push 0x101
mov eax, dword [ebx + 8]
call fcn.10006540
jmp 0x10048e17
push 3
push 0x10091352
lea ecx, [ebp - 0x10]
push ecx
call fcn.1006fe81
add esp, 0xc
xor edx, edx
mov word [ebp - 0xa], dx
jmp 0x10048e17
mov eax, 0x4040404
mov byte [esi + 0x86c], 0
mov byte [esi + 0x86d], 2
push 0xf5
mov dword [esi + 0x86e], eax
lea ecx, [esi + 0x877]
push 6
mov dword [esi + 0x872], eax
push ecx
mov byte [esi + 0x876], al
jmp 0x10048e17
xor ebx, dword [ecx]
mov esi, dword [eax + 0xc]
cmp esi, 0xfffffffe
je 0x10048d90
jmp 0x10048e17
xor eax, eax
mov word [ebp - 8], ax
mov ecx, 0x4d
mov word [ebp - 0x28], cx
mov edx, 0x79
mov word [ebp - 0x26], dx
jmp 0x10048e17
jmp 0x10048d1a
mov ax, word [str.temperature_]
mov word [ebp - 0xa], ax
jmp 0x10048e17
inc edi
mov ecx, edi
inc edx
inc eax
cmp eax, 0x100
jl 0x10048dfd
push 0x40
lea edx, [esi + 0x96c]
push 0
push edx
jmp 0x10048e17
call fcn.10032220
jmp 0x10048e17
mov dword [ebp - 0x24], 0x610056
mov dword [ebp - 0x20], 0x690072
jmp 0x10048e17
push 0xc0
lea eax, [esi + 0x9ac]
push 8
push eax
jmp 0x10048e17
mov dword [ebp - 0x1c], 0x620061
jmp 0x10048e17
cmp eax, 0x100
mov edi, 1
mov edx, eax
mov ecx, edi
jge 0x10048c34
jmp 0x10048e17
call fcn.1000b130
add esp, 0xc
xor eax, eax
jmp 0x10048c64
lea ecx, [ecx]
sub ecx, 1
mov byte [esi + eax + 0x76c], dl
jne 0x10048ccc
jmp 0x10048e17
mov edx, dword [esp + 0x34]
cmp edx, 0xfffffffe
je 0x10048d1a
cmp esi, edx
jmp 0x10048e17
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 9
jg 0x10048db6
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
add ecx, 0x30
mov dword [ebp - 0x54], ecx
jmp 0x10048dc2
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
add eax, 0x57
mov dword [ebp - 0x54], eax
mov cl, byte [ebp - 0x54]
mov byte [ebp - 0x2d], cl
mov al, byte [ebp - 0x2d]
jmp 0x10048e1f
test byte [eax - 0xf], dl
sbb ebx, edx
mov byte [esi + eax + 0x76c], al
inc eax
cmp eax, 3
jl 0x10048be5
jmp 0x10048e17
mov dword [esp + 8], eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
jmp 0x10048e17
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov byte [esi + 0xa6c], 1
mov dword [esi + 0x660], eax
call fcn.100573f0
jmp 0x1004899b
mov al, byte [ebp - 0x2d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100685c5
mov esp, ebp
pop ebp
ret