Function at 0x1004950c
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10146caf
call fcn.1014399c
sub esp, 0x1d0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], edx
xor ebx, ebx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x34], ebx
call fcn.10046674
mov esi, eax
push 0xe09a
mov dword [ebp - 4], 1
call fcn.10018e4c
pop ecx
movzx ecx, ax
mov edx, esi
push ecx
mov ecx, edi
call fcn.10015d9c
pop ecx
xor eax, eax
mov byte [ebp - 4], bl
inc eax
lea ecx, [ebp - 0x188]
push ebx
push eax
mov dword [ebp - 0x34], eax
call fcn.10014706
push 8
pop edx
mov dword [ebp - 0x54], edx
xor ecx, ecx
mov dword [ebp - 0x50], edx
inc ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
jmp 0x1004959d
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x38], 0x4a8c6a53
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], ecx
jl 0x1004958f
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x50], ebx
jl 0x100495f9
mov dword [ebp - 0x20], 0xbe92e3f9
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x38], ebx
je 0x100495c1
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x50], ecx
jne 0x100495ef
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x38], ebx
mov eax, ecx
jne 0x100495f1
mov eax, ebx
mov dword [ebp - 0x20], eax
dec dword [ebp - 0x50]
jns 0x100495aa
mov dword [ebp - 0x14], 0xfffffff1
cmp dword [ebp - 0x14], edx
jle 0x1004962f
mov dword [ebp - 0x24], 0xbb000e2e
xor edx, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setl dl
xor ecx, ecx
cmp eax, edx
setg cl
mov dword [ebp - 0x48], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 8
jg 0x10049605
push 3
lea ecx, [ebp - 0xfc]
call fcn.100141a5
push 3
pop edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], ebx
jmp 0x10049658
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x11c], 0xae35
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x10049647
mov dword [ebp - 0x18], ebx
jmp 0x10049675
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xfc]
mov dword [eax + ecx*4], 0xcd453606
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x10049662
mov edi, dword [ebp - 0xfc]
mov dword [edi + 8], 2
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x24], 0x2aa9dade
cmp dword [edi + 8], ebx
je 0x100496a4
cmp dword [ebp - 0x24], ebx
je 0x100496a4
xor ecx, ecx
inc ecx
jmp 0x100496a6
mov ecx, ebx
mov eax, dword [ebp - 0x11c]
sub ecx, eax
cmp ecx, dword [ebp - 0x118]
jge 0x100496c0
cmp dword [edi + 8], ebx
je 0x100496c0
xor ecx, ecx
inc ecx
jmp 0x100496c2
mov ecx, ebx
mov eax, dword [edi + 8]
mov esi, 0x693009c
sub eax, ecx
mov ecx, dword [ebp - 0x20]
dec ecx
add ecx, eax
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
sub esi, ecx
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x11c]
cmp ecx, eax
setg dl
xor eax, eax
cmp edx, esi
setl al
dec dword [edi + 8]
mov dword [ebp - 0x24], eax
jns 0x10049687
mov edx, dword [ebp - 0xfc]
xor ecx, ecx
push edx
mov eax, dword [edx + 4]
add eax, 0xab79
cmp eax, 0x2c02
setle cl
mov dword [ebp - 0x20], ecx
call fcn.10123626
pop ecx
mov ecx, ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
mov esi, ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0x44], 0x68027303
mov dword [ebp - 0x40], 0x7a015a00
mov dword [ebp - 0x3c], 0xb2c3c004
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x14], 0xfffffff0
cmp dword [ebp - 0x14], 0xffffffe8
je 0x1004979f
mov dword [ebp - 0x20], 0x8b10
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1004978e
push 1
push 0x1191
push 0x1e5
push 0x157e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollRange]
cmp dword [ebp - 0x20], ebx
jne 0x1004979c
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe8
jne 0x10049760
mov ecx, dword [ebp - 0x24]
cmp esi, 8
jne 0x10049882
mov dword [ebp - 0x14], 0x8e5c
lea ecx, [ebp - 0xd8]
push 4
call fcn.100141a5
mov dword [ebp - 0x28], 0xd711e7bf
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 9
mov dword [ebp - 0x18], ebx
jmp 0x100497e9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xd8]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x100497d6
mov dword [ebp - 0x18], ebx
jmp 0x10049805
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x10c], 0xc60edac7
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x100497f4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 8], eax
test eax, eax
je 0x10049851
mov dword [ebp - 0x28], 0x7308f472
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], edx
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x24], ebx
je 0x10049851
xor eax, eax
inc eax
jmp 0x10049853
mov eax, ebx
push dword [ebp - 0xd8]
mov dword [ebp - 0x20], eax
call fcn.10123626
pop ecx
push 4
pop ecx
push 0xa
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0x24], ecx
pop esi
jmp 0x10049959
movzx eax, byte [ebp + esi - 0x43]
lea edi, [ecx - 1]
sub eax, esi
mov dword [ebp - 0x20], 0xff18ee85
add edi, eax
mov dword [ebp - 0x14], ebx
jmp 0x100498a8
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x30], 0x4fd3df75
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x1004989a
mov dword [ebp - 0x30], 0xffffffe3
cmp dword [ebp - 0x30], 0xffffffed
je 0x10049936
mov dword [ebp - 0x14], 0xfffffff6
cmp dword [ebp - 0x14], ebx
je 0x100498e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
sub eax, ecx
je 0x100498e0
xor ecx, ecx
inc ecx
jmp 0x100498e2
mov ecx, ebx
mov eax, dword [ebp - 0x14]
imul eax, ecx
neg eax
sbb eax, eax
neg eax
add eax, 0xffff
je 0x100498ff
cmp dword [ebp - 0x30], ebx
je 0x100498ff
xor eax, eax
inc eax
jmp 0x10049901
mov eax, ebx
push 0xfffffffffffffffe
pop ecx
cmp ecx, eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x30]
cmp eax, 0xfffffffb
jg 0x1004991b
cmp dword [ebp - 0x14], ebx
je 0x1004991b
xor edx, edx
inc edx
jmp 0x1004991d
mov edx, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x20], ecx
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0xffffffed
jne 0x100498bb
mov ecx, dword [ebp - 0x24]
test edi, edi
jns 0x1004994c
or eax, 0xffffffff
sub eax, edi
add edi, 0x100
and eax, 0xffffff00
add edi, eax
movzx eax, byte [ebp + esi - 0x44]
mov word [ebp + eax*2 - 0x134], di
add esi, 2
cmp esi, 0xc
jb 0x1004974c
xor eax, eax
lea ecx, [ebp - 0xb4]
mov word [ebp - 0x12c], ax
mov dword [ebp - 0x14], 0x42eb90da
push 4
call fcn.100141a5
mov dword [ebp - 4], 2
lea eax, [ebp - 0x144]
push dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0xa7221ebc
push eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0xa0], ebx
push eax
push ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x9c], ebx
movdqu xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x98], ebx
call fcn.10015178
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], 0x7736
mov dword [ebp - 0x14], ebx
jmp 0x100499ec
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb4]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x100499dd
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 0xfffffffb
jg 0x10049c02
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x104], eax
push 3
lea ecx, [ebp - 0xc0]
call fcn.100141a5
push 4
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.100141a5
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x18], ebx
jmp 0x10049a48
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x10049a35
mov dword [ebp - 0x18], ebx
jmp 0x10049a66
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xcc]
mov dword [eax + ecx*4], 0x5261fc42
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x10049a53
mov esi, dword [ebp - 0xc0]
mov dword [ebp - 0x110], esi
mov dword [esi + 4], 0x18
mov dword [ebp - 0x18], 0x8cccddd1
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 3
jg 0x10049b35
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xa8], 0xd68f985
mov dword [ebp - 0x108], 5
mov dword [ebp - 0x20], 0x79d44f4c
mov ecx, dword [eax]
mov eax, dword [ebp - 0xcc]
mov dword [eax], ecx
xor ecx, ecx
mov dword [ebp - 0xa8], 1
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x108]
cmp eax, 0x97b0
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa8]
setg cl
xor edx, edx
cmp dword [esi + edi*4], ecx
setg dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x14]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setle dl
xor ecx, ecx
cmp edx, 0x84b7
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x20], ecx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jle 0x10049a93
mov esi, dword [ebp - 0x110]
dec dword [esi + 4]
cmp dword [esi + 4], 9
jge 0x10049a7f
mov eax, dword [ebp - 0x14]
xor ecx, ecx
imul eax, dword [ebp - 0x28], 0xfffffff6
mov edx, dword [ebp - 0x104]
cmp eax, dword [edx + 0xc]
mov eax, dword [ebp - 0xcc]
setge cl
xor edx, edx
cmp ecx, dword [eax]
setge dl
sub edx, 0xe82b
neg edx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, 5
setl al
cmp eax, 0xe3c2
jge 0x10049b89
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 4], ebx
je 0x10049b93
cmp dword [esi + 4], ebx
je 0x10049b93
xor ecx, ecx
inc ecx
jmp 0x10049b95
mov ecx, ebx
dec dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
cmp eax, ecx
jge 0x10049ba8
mov eax, dword [ebp - 0x100]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xcc]
push eax
mov dword [eax], 0x6f576105
call fcn.10123626
pop ecx
mov byte [ebp - 4], 3
push dword [ebp - 0xc0]
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
call fcn.10123626
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffffb
pop ecx
jle 0x10049a0b
cmp dword [ebp - 0xa0], 0
je 0x10049c29
push dword [ebp - 0xa0]
call fcn.10123626
pop ecx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xb4], 0
je 0x10049c53
push dword [ebp - 0xb4]
call fcn.10123626
pop ecx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x64], 0x6c046201
mov esi, ebx
mov dword [ebp - 0x60], 0x52002a02
mov ecx, ebx
mov dword [ebp - 0x5c], 0x77056c06
mov dword [ebp - 0x58], 0x70027303
cmp ecx, 4
jne 0x10049c7d
push 2
pop esi
jmp 0x10049caa
movzx eax, byte [ebp + ecx - 0x63]
lea edx, [esi - 1]
sub eax, ecx
add edx, eax
jns 0x10049c9d
or eax, 0xffffffff
sub eax, edx
add edx, 0x100
and eax, 0xffffff00
add edx, eax
movzx eax, byte [ebp + ecx - 0x64]
mov word [ebp + eax*2 - 0x144], dx
add ecx, 2
cmp ecx, 0x10
jb 0x10049c73
xor eax, eax
mov word [ebp - 0x136], ax
cmp dword [ebp - 0x2c], eax
jne 0x10049cdd
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.100140d4
mov dword [ebp - 4], 5
push 3
jmp 0x10049cf8
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x1b8]
call fcn.100140d4
mov dword [ebp - 4], 6
push 5
pop ecx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0xa4]
push eax
call fcn.10028a9a
mov eax, dword [ebp - 0x34]
test al, 4
je 0x10049d29
push ebx
and eax, 0xfffffffb
lea ecx, [ebp - 0x1b8]
push 1
mov dword [ebp - 0x34], eax
call fcn.10014706
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], ebx
test al, 2
je 0x10049d44
push ebx
and eax, 0xfffffffd
lea ecx, [ebp - 0x1d0]
push 1
mov dword [ebp - 0x34], eax
call fcn.10014706
xor eax, eax
lea edi, [ebp - 0x134]
stosd dword es:[edi], eax
lea ecx, [ebp - 0xe4]
push 4
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x144]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0x3248c66
mov dword [ebp - 0x20], 0xba6b42be
mov dword [ebp - 0x20], 0x551fa4c8
call fcn.100141a5
mov dword [ebp - 0x20], 0x91c84132
mov dword [ebp - 0x20], 0x72d50fa8
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x2c], 0x914a
mov dword [ebp - 0x14], ebx
jmp 0x10049db2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe4]
mov dword [eax + ecx*4], 0x5bb08661
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10049d9f
mov eax, dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
inc ecx
cmp ecx, eax
setge dl
sub edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
xor edx, edx
cmp dword [ebp - 0x2c], 0x2717
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp edx, eax
mov edx, 0x1215
setge cl
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, edx
mov esi, dword [ebp - 0xe4]
setl cl
add ecx, dword [ebp - 0x18]
mov dword [esi + 8], edx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 3
sbb edx, edx
xor ecx, ecx
inc edx
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
setg cl
cmp ecx, edx
je 0x10049e44
cmp dword [esi + 8], ebx
jne 0x10049e44
mov eax, ebx
jmp 0x10049e47
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10049e5f
call dword [sym.imp.USER32.dll_WaitMessage]
push dword [ebp - 0xe4]
call fcn.10123626
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0x18], 0x68ec0ae9
mov dword [ebp - 0x2c], 0xbf2d3f50
pop ecx
mov dword [ebp - 0x18], 0x1b
jmp 0x10049ee7
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x14], ebx
jmp 0x10049eb1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1dc], 1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10049ea0
mov dword [ebp - 0x14], ebx
jmp 0x10049ec4
cmp dword [ebp - 0x14], ebx
jne 0x10049eca
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jle 0x10049ebc
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10049ee4
push 0x1769
push 0xe14
push ebx
call dword [sym.imp.USER32.dll_RemoveMenu]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffffa
jg 0x10049e94
mov dword [ebp - 0x2c], 1
mov ecx, ebx
mov dword [ebp - 0x94], 0x6a036602
mov esi, ebx
mov dword [ebp - 0x90], 0x69137707
mov dword [ebp - 0x8c], 0x3480fece
mov dword [ebp - 0x88], 0x683b4a1c
mov dword [ebp - 0x84], 0x697aef92
mov dword [ebp - 0x80], 0xab060399
mov dword [ebp - 0x7c], 0xb7b065e
mov dword [ebp - 0x78], 0xc390978
mov dword [ebp - 0x74], 0xa880879
mov dword [ebp - 0x70], 0x650181
mov dword [ebp - 0x6c], 0x48a0571
mov byte [ebp - 0x68], 0x82
cmp ecx, 6
jne 0x10049f65
push 0x13
pop esi
push 0x17
pop ecx
jmp 0x10049f98
movzx eax, byte [ebp + ecx - 0x93]
lea edx, [esi - 1]
sub eax, ecx
add edx, eax
jns 0x10049f88
or eax, 0xffffffff
sub eax, edx
add edx, 0x100
and eax, 0xffffff00
add edx, eax
movzx eax, byte [ebp + ecx - 0x94]
mov word [ebp + eax*2 - 0x170], dx
add ecx, 2
cmp ecx, 0x2d
jb 0x10049f58
xor eax, eax
lea ecx, [ebp - 0x1a0]
mov word [ebp - 0x156], ax
lea eax, [ebp - 0x170]
push eax
call fcn.100140d4
push 7
pop edi
push 0xffffffffffffffff
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0xa4]
mov ecx, esi
push ebx
push eax
call fcn.10028a9a
push ebx
push 1
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], bl
call fcn.10014706
mov ecx, edi
xor eax, eax
lea edi, [ebp - 0x170]
rep stosd dword es:[edi], eax
push 2
lea ecx, [ebp - 0x128]
call fcn.100141a5
mov dword [ebp - 4], 8
mov dword [ebp - 0x24], 0xfffffff6
mov dword [ebp - 0x14], ebx
jmp 0x1004a022
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x128]
mov dword [eax + ecx*4], 1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1004a00f
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], ebx
jl 0x1004a16b
push 1
lea ecx, [ebp - 0xf0]
call fcn.100141a5
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x1004a05c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xf0]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1004a04d
mov eax, dword [ebp - 0xf0]
mov dword [eax], ebx
mov dword [ebp - 0x28], 0xffffffff
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1004a08a
push ebx
push ebx
push 0x1cd2
push ebx
call dword [sym.imp.USER32.dll_AppendMenuA]
xor edx, edx
inc edx
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], ebx
jl 0x1004a139
mov dword [ebp - 0x14], 0x5f0ed1ad
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
jl 0x1004a10a
mov dword [ebp - 0x18], 0x498e64e6
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1004a0d1
push 0x1ef3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
xor edx, edx
inc edx
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], ebx
jl 0x1004a105
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1004a0ef
push ebx
push 0x7fa
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x128]
cmp dword [eax + ecx*4], ebx
jne 0x1004a102
dec dword [ebp - 0x18]
jns 0x1004a0d9
xor edx, edx
inc edx
dec dword [ebp - 0x14]
jns 0x1004a0a5
mov dword [ebp - 0x14], ebx
jmp 0x1004a12b
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1004a128
push 0x1aad
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xor edx, edx
inc edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jle 0x1004a10f
dec dword [ebp - 0x28]
jns 0x1004a096
mov eax, dword [ebp - 0xf0]
inc dword [eax]
cmp dword [eax], edx
jle 0x1004a069
push eax
call fcn.10123626
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], ebx
dec dword [ebp - 0x24]
pop ecx
jns 0x1004a038
cmp dword [ebp - 0x128], 0
je 0x1004a180
push dword [ebp - 0x128]
call fcn.10123626
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret