Function at 0x412140
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0x17bc
mov byte [ebp - 0x9b], 1
movzx eax, byte [ebp - 0x9b]
cmp eax, 1
jne 0x41218f
mov dword [ebp - 0x18], 0x265a
mov byte [ebp - 0x9b], 0
jmp 0x412173
cmp dword [ebp - 0x18], 0x2433
jne 0x4121a1
mov dword [ebp - 0x18], 0x12
jmp 0x4121b1
cmp dword [ebp - 0x18], 0x265a
jne 0x4121b1
mov dword [ebp - 0x18], 0xb9e
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x236a
jmp 0x4121ce
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0x1785
jmp 0x4121f2
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0xb07
jmp 0x412216
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x822
jne 0x41222f
mov dword [ebp - 0x18], 0x85d
jmp 0x41223f
cmp dword [ebp - 0x18], 0xb07
jne 0x41223f
mov dword [ebp - 0x18], 0x181f
mov byte [ebp - 0x9e], 1
movzx ecx, byte [ebp - 0x9e]
cmp ecx, 1
jne 0x412262
mov dword [ebp - 0x18], 0x1000
mov byte [ebp - 0x9e], 0
jmp 0x412246
cmp dword [ebp - 0x18], 0x1000
jne 0x412272
mov dword [ebp - 0x18], 0x4c5
mov dword [ebp - 4], 6
mov dword [ebp - 0x18], 0x15dd
jmp 0x41228f
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x15dd
jne 0x4122a6
mov dword [ebp - 0x18], 0xd35
mov dword [ebp - 4], 8
mov dword [ebp - 0x18], 0x158f
jmp 0x4122c3
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x158f
jne 0x4122da
mov dword [ebp - 0x18], 0x1a42
cmp dword [ebp - 0x18], 0x92b
jne 0x4122ec
mov dword [ebp - 0x18], 0xd7
jmp 0x4122fc
cmp dword [ebp - 0x18], 0x1a42
jne 0x4122fc
mov dword [ebp - 0x18], 0x142e
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x18], 0x862
jmp 0x412319
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xa6], 1
movzx edx, byte [ebp - 0xa6]
cmp edx, 1
jne 0x412343
mov dword [ebp - 0x18], 0x139d
mov byte [ebp - 0xa6], 0
jmp 0x412327
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x18], 0x479
jmp 0x412360
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x1328
jne 0x412379
mov dword [ebp - 0x18], 0xb0c
jmp 0x412389
cmp dword [ebp - 0x18], 0x479
jne 0x412389
mov dword [ebp - 0x18], 0x2368
cmp dword [ebp - 0x18], 0x269e
jne 0x41239b
mov dword [ebp - 0x18], 0x1547
jmp 0x4123ab
cmp dword [ebp - 0x18], 0x2368
jne 0x4123ab
mov dword [ebp - 0x18], 0x1c00
mov byte [ebp - 0xa5], 1
movzx eax, byte [ebp - 0xa5]
cmp eax, 1
jne 0x4123ce
mov dword [ebp - 0x18], 0x4da
mov byte [ebp - 0xa5], 0
jmp 0x4123b2
cmp dword [ebp - 0x18], 0x17b8
jne 0x4123e0
mov dword [ebp - 0x18], 0xecd
jmp 0x4123f0
cmp dword [ebp - 0x18], 0x4da
jne 0x4123f0
mov dword [ebp - 0x18], 0xe54
mov byte [ebp - 0x1c], 1
movzx ecx, byte [ebp - 0x1c]
cmp ecx, 1
jne 0x41240a
mov dword [ebp - 0x18], 0xfce
mov byte [ebp - 0x1c], 0
jmp 0x4123f4
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x18], 0x507
jmp 0x412427
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x1b], 1
movzx edx, byte [ebp - 0x1b]
cmp edx, 1
jne 0x412448
mov dword [ebp - 0x18], 0xd3a
mov byte [ebp - 0x1b], 0
jmp 0x412432
cmp dword [ebp - 0x18], 0x1466
jne 0x41245a
mov dword [ebp - 0x18], 0xd27
jmp 0x41246a
cmp dword [ebp - 0x18], 0xd3a
jne 0x41246a
mov dword [ebp - 0x18], 0x193b
cmp dword [ebp - 0x18], 0x193b
jne 0x41247a
mov dword [ebp - 0x18], 0x4d5
cmp dword [ebp - 0x18], 0x4d5
jne 0x41248a
mov dword [ebp - 0x18], 0x491
cmp dword [ebp - 0x18], 0x11c
jne 0x41249c
mov dword [ebp - 0x18], 0x5a9
jmp 0x4124ac
cmp dword [ebp - 0x18], 0x491
jne 0x4124ac
mov dword [ebp - 0x18], 0xd2e
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x18], 0x805
jmp 0x4124c9
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x18], 0x1637
jmp 0x4124ed
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x1637
jne 0x412504
mov dword [ebp - 0x18], 0x21cf
cmp dword [ebp - 0x18], 0x224d
jne 0x412516
mov dword [ebp - 0x18], 0x149f
jmp 0x412526
cmp dword [ebp - 0x18], 0x21cf
jne 0x412526
mov dword [ebp - 0x18], 0x140d
cmp dword [ebp - 0x18], 0x140d
jne 0x412536
mov dword [ebp - 0x18], 0xdab
cmp dword [ebp - 0x18], 0x1d1c
jne 0x412548
mov dword [ebp - 0x18], 0xa0
jmp 0x412558
cmp dword [ebp - 0x18], 0xdab
jne 0x412558
mov dword [ebp - 0x18], 0x7ca
cmp dword [ebp - 0x18], 0x5c
jne 0x412567
mov dword [ebp - 0x18], 0x13b9
jmp 0x412577
cmp dword [ebp - 0x18], 0x7ca
jne 0x412577
mov dword [ebp - 0x18], 0x124c
mov byte [ebp - 0x8b], 1
movzx eax, byte [ebp - 0x8b]
cmp eax, 1
jne 0x41259a
mov dword [ebp - 0x18], 0x75f
mov byte [ebp - 0x8b], 0
jmp 0x41257e
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x18], 0x1251
jmp 0x4125b7
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x1a], 1
movzx ecx, byte [ebp - 0x1a]
cmp ecx, 1
jne 0x4125d8
mov dword [ebp - 0x18], 0x16e9
mov byte [ebp - 0x1a], 0
jmp 0x4125c2
cmp dword [ebp - 0x18], 0x16e9
jne 0x4125e8
mov dword [ebp - 0x18], 0x1480
cmp dword [ebp - 0x18], 0x10e2
jne 0x4125fa
mov dword [ebp - 0x18], 0x35d
jmp 0x41260a
cmp dword [ebp - 0x18], 0x1480
jne 0x41260a
mov dword [ebp - 0x18], 0x98d
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x18], 0x883
jmp 0x412627
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x883
jne 0x41263e
mov dword [ebp - 0x18], 0x248b
cmp dword [ebp - 0x18], 0x248b
jne 0x41264e
mov dword [ebp - 0x18], 0xcbd
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x18], 0xf7b
jmp 0x41266b
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x8e], 1
movzx edx, byte [ebp - 0x8e]
cmp edx, 1
jne 0x412695
mov dword [ebp - 0x18], 0x963
mov byte [ebp - 0x8e], 0
jmp 0x412679
cmp dword [ebp - 0x18], 0x963
jne 0x4126a5
mov dword [ebp - 0x18], 0x1dcb
mov byte [ebp - 0x9d], 1
movzx eax, byte [ebp - 0x9d]
cmp eax, 1
jne 0x4126c8
mov dword [ebp - 0x18], 0x2525
mov byte [ebp - 0x9d], 0
jmp 0x4126ac
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x18], 0xf7
jmp 0x4126e5
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x648
jne 0x4126fe
mov dword [ebp - 0x18], 0x1094
jmp 0x41270e
cmp dword [ebp - 0x18], 0xf7
jne 0x41270e
mov dword [ebp - 0x18], 0x270
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x18], 0x6a1
jmp 0x41272b
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xa1], 1
movzx ecx, byte [ebp - 0xa1]
cmp ecx, 1
jne 0x412755
mov dword [ebp - 0x18], 0x1fcd
mov byte [ebp - 0xa1], 0
jmp 0x412739
cmp dword [ebp - 0x18], 0x1644
jne 0x412767
mov dword [ebp - 0x18], 0x1460
jmp 0x412777
cmp dword [ebp - 0x18], 0x1fcd
jne 0x412777
mov dword [ebp - 0x18], 0x2490
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x18], 0xbd3
jmp 0x412794
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x1deb
jne 0x4127ad
mov dword [ebp - 0x18], 0x1930
jmp 0x4127bd
cmp dword [ebp - 0x18], 0xbd3
jne 0x4127bd
mov dword [ebp - 0x18], 0x3f2
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x18], 0x762
jmp 0x4127da
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x4e0
jne 0x4127f3
mov dword [ebp - 0x18], 0xdfa
jmp 0x412803
cmp dword [ebp - 0x18], 0x762
jne 0x412803
mov dword [ebp - 0x18], 0x1344
cmp dword [ebp - 0x18], 0x1344
jne 0x412813
mov dword [ebp - 0x18], 0xd04
mov dword [ebp - 4], 0x22
mov dword [ebp - 0x18], 0x1840
jmp 0x412830
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x1840
jne 0x412847
mov dword [ebp - 0x18], 0x1e94
mov dword [ebp - 4], 0x24
mov dword [ebp - 0x18], 0xf2e
jmp 0x412864
mov dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x97], 1
movzx edx, byte [ebp - 0x97]
cmp edx, 1
jne 0x41288e
mov dword [ebp - 0x18], 0x4e
mov byte [ebp - 0x97], 0
jmp 0x412872
mov byte [ebp - 0xa0], 1
movzx eax, byte [ebp - 0xa0]
cmp eax, 1
jne 0x4128b1
mov dword [ebp - 0x18], 0x194d
mov byte [ebp - 0xa0], 0
jmp 0x412895
cmp dword [ebp - 0x18], 0xd3f
jne 0x4128c3
mov dword [ebp - 0x18], 0x19a2
jmp 0x4128d3
cmp dword [ebp - 0x18], 0x194d
jne 0x4128d3
mov dword [ebp - 0x18], 0x6df
cmp dword [ebp - 0x18], 0x24b0
jne 0x4128e5
mov dword [ebp - 0x18], 0x1d75
jmp 0x4128f5
cmp dword [ebp - 0x18], 0x6df
jne 0x4128f5
mov dword [ebp - 0x18], 0x35a
cmp dword [ebp - 0x18], 0xd89
jne 0x412907
mov dword [ebp - 0x18], 0x1cb1
jmp 0x412917
cmp dword [ebp - 0x18], 0x35a
jne 0x412917
mov dword [ebp - 0x18], 0x1474
cmp dword [ebp - 0x18], 0x148f
jne 0x412929
mov dword [ebp - 0x18], 0x148f
jmp 0x412939
cmp dword [ebp - 0x18], 0x1474
jne 0x412939
mov dword [ebp - 0x18], 0x26ec
mov byte [ebp - 0x9f], 1
movzx ecx, byte [ebp - 0x9f]
cmp ecx, 1
jne 0x41295c
mov dword [ebp - 0x18], 0x1a2f
mov byte [ebp - 0x9f], 0
jmp 0x412940
cmp dword [ebp - 0x18], 0x1a2f
jne 0x41296c
mov dword [ebp - 0x18], 0x2342
cmp dword [ebp - 0x18], 0x2342
jne 0x41297c
mov dword [ebp - 0x18], 0x178b
cmp dword [ebp - 0x18], 0x7af
jne 0x41298e
mov dword [ebp - 0x18], 0x91
jmp 0x41299e
cmp dword [ebp - 0x18], 0x178b
jne 0x41299e
mov dword [ebp - 0x18], 0x1138
mov dword [ebp - 4], 0x26
mov dword [ebp - 0x18], 0x654
jmp 0x4129bb
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0x28
mov dword [ebp - 0x18], 0x133a
jmp 0x4129df
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x249f
jne 0x4129f8
mov dword [ebp - 0x18], 0x1a41
jmp 0x412a08
cmp dword [ebp - 0x18], 0x133a
jne 0x412a08
mov dword [ebp - 0x18], 0x1d8e
cmp dword [ebp - 0x18], 0x17a7
jne 0x412a1a
mov dword [ebp - 0x18], 0x143b
jmp 0x412a2a
cmp dword [ebp - 0x18], 0x1d8e
jne 0x412a2a
mov dword [ebp - 0x18], 0x3e9
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0x18], 0x1a27
jmp 0x412a47
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x1cfe
jne 0x412a60
mov dword [ebp - 0x18], 0x538
jmp 0x412a70
cmp dword [ebp - 0x18], 0x1a27
jne 0x412a70
mov dword [ebp - 0x18], 0xc13
mov byte [ebp - 0xa2], 1
movzx edx, byte [ebp - 0xa2]
cmp edx, 1
jne 0x412a93
mov dword [ebp - 0x18], 0x626
mov byte [ebp - 0xa2], 0
jmp 0x412a77
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0x18], 0x8fd
jmp 0x412ab0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0x18], 0x1f41
jmp 0x412ad4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0x30
mov dword [ebp - 0x18], 0x1349
jmp 0x412af8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x1349
jne 0x412b0f
mov dword [ebp - 0x18], 0x1225
cmp dword [ebp - 0x18], 0x1269
jne 0x412b21
mov dword [ebp - 0x18], 0x26bc
jmp 0x412b31
cmp dword [ebp - 0x18], 0x1225
jne 0x412b31
mov dword [ebp - 0x18], 0x25f9
cmp dword [ebp - 0x18], 0x158f
jne 0x412b43
mov dword [ebp - 0x18], 0x18e2
jmp 0x412b53
cmp dword [ebp - 0x18], 0x25f9
jne 0x412b53
mov dword [ebp - 0x18], 0x1202
cmp dword [ebp - 0x18], 0x1acf
jne 0x412b65
mov dword [ebp - 0x18], 0xb35
jmp 0x412b75
cmp dword [ebp - 0x18], 0x1202
jne 0x412b75
mov dword [ebp - 0x18], 0x1980
mov dword [ebp - 4], 0x32
mov dword [ebp - 0x18], 0xbf5
jmp 0x412b92
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x35f
jne 0x412bab
mov dword [ebp - 0x18], 0x2497
jmp 0x412bbb
cmp dword [ebp - 0x18], 0xbf5
jne 0x412bbb
mov dword [ebp - 0x18], 0x19c5
mov dword [ebp - 4], 0x34
mov dword [ebp - 0x18], 0x2036
jmp 0x412bd8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0x36
mov dword [ebp - 0x18], 0x13bf
jmp 0x412bfc
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x13bf
jne 0x412c13
mov dword [ebp - 0x18], 0x21bf
cmp dword [ebp - 0x18], 0x21bf
jne 0x412c23
mov dword [ebp - 0x18], 0xb94
mov byte [ebp - 0x8d], 1
movzx eax, byte [ebp - 0x8d]
cmp eax, 1
jne 0x412c46
mov dword [ebp - 0x18], 0x156a
mov byte [ebp - 0x8d], 0
jmp 0x412c2a
mov byte [ebp - 0xa4], 1
movzx ecx, byte [ebp - 0xa4]
cmp ecx, 1
jne 0x412c69
mov dword [ebp - 0x18], 0x10df
mov byte [ebp - 0xa4], 0
jmp 0x412c4d
cmp dword [ebp - 0x18], 0x25e9
jne 0x412c7b
mov dword [ebp - 0x18], 0x789
jmp 0x412c8b
cmp dword [ebp - 0x18], 0x10df
jne 0x412c8b
mov dword [ebp - 0x18], 0x1d32
cmp dword [ebp - 0x18], 0x1151
jne 0x412c9d
mov dword [ebp - 0x18], 0x189c
jmp 0x412cad
cmp dword [ebp - 0x18], 0x1d32
jne 0x412cad
mov dword [ebp - 0x18], 0x2170
cmp dword [ebp - 0x18], 0x2170
jne 0x412cbd
mov dword [ebp - 0x18], 0x1c2a
cmp dword [ebp - 0x18], 0x2217
jne 0x412ccf
mov dword [ebp - 0x18], 0x21d5
jmp 0x412cdf
cmp dword [ebp - 0x18], 0x1c2a
jne 0x412cdf
mov dword [ebp - 0x18], 0x4fe
cmp dword [ebp - 0x18], 0x4fe
jne 0x412cef
mov dword [ebp - 0x18], 0x30e
mov dword [ebp - 4], 0x38
mov dword [ebp - 0x18], 0xc0b
jmp 0x412d0c
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0xc0b
jne 0x412d23