Function at 0x49ba49
Capabilities:
Get common file path
Get session user name
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push esi
push edi
push 6
pop eax
mov dword [ebp - 0x4c], ecx
mov esi, edx
push 1
mov dword [ebp - 8], 0x7e2799ac
mov dword [ebp - 0x20], eax
pop edx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1b
push 0
mov dword [ebp - 0x78], esi
pop eax
jle 0x49baff
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 0x92c6eed1
cmp dword [ebp - 0x2c], eax
jne 0x49ba92
mov esi, eax
cmp dword [ebp - 8], eax
je 0x49baa3
mov esi, edx
cmp dword [ebp - 8], eax
je 0x49baa3
mov ecx, dword [ebp - 0x2c]
mov edi, edx
mov ecx, dword [ebp - 0x2c]
jmp 0x49baa5
mov edi, eax
mov ecx, dword [ebp - 8]
xor edx, edx
cmp ecx, edi
push 0
setle dl
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
cmp edx, ecx
pop ecx
setl cl
sub esi, ecx
mov dword [ebp - 0x24], esi
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49baf0
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x1670
push 0xd80
push 0x1bf7
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
xor eax, eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1b
push 1
pop edx
jg 0x49ba7c
mov esi, dword [ebp - 0x78]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 4], 0xf951fe7
mov dword [ebp - 0x24], 0x2a1e9487
mov dword [ebp - 0x18], 0xe790e864
mov dword [ebp - 0x18], 0x3735b263
mov dword [ebp - 0x20], 0xd203
imul ecx, dword [ebp - 4], 0xca4f
sub ecx, 0xca4f
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xfffffff5
jmp 0x49bb85
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], eax
jmp 0x49bb61
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x1b8], 0xfffffffd
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x49bb50
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49bb7f
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edx, edx
xor eax, eax
inc edx
inc dword [ebp - 0x20]
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jle 0x49bb41
mov ecx, dword [0xac82a0]
test cl, 1
jne 0x49bc12
push eax
or ecx, edx
mov dword [0xac82b0], eax
push eax
mov dword [0xac82a0], ecx
mov dword [0xac82b4], eax
call fcn.004042f0
mov dword [0xac82b0], eax
xor ecx, ecx
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa0]
push eax
push 0x10
push ecx
lea eax, [ebp - 0x118]
mov dword [0xac82b8], ecx
mov dword [0xac82c0], ecx
mov dword [0xac82bc], ecx
mov ecx, 0xac82b8
push eax
mov dword [0xac82cc], 0x3f800000
call fcn.00404026
push 0x4cafe0
mov dword [0xac82c4], 7
mov dword [0xac82c8], 8
call fcn.004b4d8f
pop ecx
mov dword [ebp - 0xc], 0x42a1
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0x24], 3
inc edx
mov dword [ebp - 8], 0x302aff63
mov dword [ebp - 0x18], 0x22a1efe0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], 0xb2d505bc
mov dword [ebp - 0x18], 6
cmp dword [ebp - 0xc], eax
jne 0x49bc4f
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jmp 0x49bd26
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x18], 0xfffffffb
mov dword [ebp - 4], eax
jmp 0x49bc8a
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1cc], 0x23e46920
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x49bc79
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1b
jg 0x49bcfd
push 6
pop ecx
mov dword [ebp - 0x18], 0x1f0dfbc4
mov dword [ebp - 0x18], 0x1e13ca4d
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x18], 0x403132d6
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0xa1dd7933
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x18], 0x21692869
mov dword [ebp - 0x18], 0x983c17a3
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x18], 0x1f51b437
mov dword [ebp - 0x20], 9
dec dword [ebp - 0x20]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1b
jle 0x49bc9c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffee
jne 0x49bd23
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49bd17
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor eax, eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffee
je 0x49bd06
xor edx, edx
inc edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xe
jg 0x49bc66
imul ecx, dword [ebp - 0x4c], 0x2710
add ecx, esi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 8], 4
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x1c], 8
mov dword [ebp - 4], eax
jmp 0x49bd63
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x8c], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x49bd56
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49bd7d
push 0x46b
call dword [sym.imp.KERNEL32.dll_ExitThread]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x84]
add ecx, 0x671c
imul ecx, ecx, 0x4c20
test ecx, ecx
jne 0x49bdac
cmp dword [ebp - 0x84], eax
jne 0x49bdac
mov edx, eax
inc dword [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, edx
setle cl
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x84]
imul edx, eax
mov eax, dword [ebp - 8]
cmp edx, eax
mov eax, dword [ebp - 8]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 8]
setle dl
xor ecx, ecx
cmp edx, eax
lea eax, [ebp - 0x80]
push eax
setl cl
add ecx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], ecx
call fcn.0049d065
xor edx, edx
inc edx
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 0x22124f84
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x18], 0xfffffffa
mov dword [ebp - 0x18], 0xd509978f
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x18], 0x4edf6b3e
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0xd7feae21
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x20], 0xfff6
mov dword [ebp - 0xc], eax
jmp 0x49be6b
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x190], 0x387fb0b0
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x49be5a
mov dword [ebp - 0xc], eax
jmp 0x49be87
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x11c], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edx
jl 0x49be76
dec dword [ebp - 0x20]
test esi, esi
je 0x49bee1
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
jmp 0x49beac
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x13c], 0x29bf39
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x49be9b
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], al
je 0x49bece
push 0xf2e
push 0x6f
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_CreateCaret]
xor edx, edx
inc edx
mov eax, dword [ebp + 8]
inc dword [ebp - 0x20]
mov dword [ebp - 0x138], edx
mov dword [eax], esi
jmp 0x49cfb2
mov ecx, dword [0xac82a0]
test cl, 2
jne 0x49bf6b
push eax
or ecx, 2
mov dword [0xac8280], eax
push eax
mov dword [0xac82a0], ecx
mov dword [0xac8284], eax
call fcn.004042f0
mov dword [0xac8280], eax
xor ecx, ecx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
push 0x10
push ecx
lea eax, [ebp - 0x120]
mov dword [0xac8288], ecx
mov dword [0xac8290], ecx
mov dword [0xac828c], ecx
mov ecx, 0xac8288
push eax
mov dword [0xac829c], 0x3f800000
call fcn.00404026
push 0x4cafdb
mov dword [0xac8294], 7
mov dword [0xac8298], 8
call fcn.004b4d8f
pop ecx
xor eax, eax
mov dword [ebp - 0xc], 0x6d0374c7
xor esi, esi
mov dword [ebp - 0x1c], 0xf6a715cc
inc esi
mov dword [ebp - 0x20], 0x2ba29f58
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 8], eax
jmp 0x49bfa3
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xd8], 0xf803
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x49bf92
mov dword [ebp - 8], eax
jmp 0x49bfbf
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x128], 0x11c25c53
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x49bfae
cmp dword [ebp - 0xc], eax
je 0x49c024
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], eax
je 0x49bfdf
mov edx, esi
mov ecx, dword [ebp - 0xc]
imul ecx, edx
test ecx, ecx
je 0x49bfec
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0xc]
jge 0x49c004
mov ecx, eax
cmp dword [ebp - 0xd4], eax
je 0x49c006
mov ecx, esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0xc]
shl ecx, 2
mov dword [ebp - 0x124], ecx
mov dword [ebp - 4], eax
jmp 0x49c089
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c064
push 0x1c02
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c086
push 0x1f27
push eax
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PolyPolyline]
xor eax, eax
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffffb
jl 0x49c04d
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x14], 0xb72f
mov dword [ebp - 4], 0xffffffff
push 2
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 4], eax
pop edi
jmp 0x49c0c8
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x144], 4
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x49c0b7
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x89a6
setne dl
imul ecx, edx, 0x40cc7b50
mov edx, dword [ebp - 0x14]
sub edx, ecx
sub edx, dword [ebp - 4]
sub edx, dword [ebp - 0x14]
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0x1c
jmp 0x49c1fd
mov dword [ebp - 0xc], 0xb8bffbef
mov dword [ebp - 0x20], 6
mov dword [ebp - 8], eax
jmp 0x49c12a
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xe8], 0xbb66efe0
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x49c119
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 0xc], eax
je 0x49c1df
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 8], eax
jmp 0x49c158
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x154], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x49c14b
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x144], eax
jne 0x49c170
cmp dword [ebp - 0x14], eax
jne 0x49c170
mov esi, eax
mov dword [ebp - 0xe4], esi
xor edx, edx
mov dword [ebp - 0x154], esi
mov ecx, dword [ebp - 0xc]
cmp esi, ecx
push 0
sete dl
xor esi, esi
mov dword [ebp - 0x20], edx
inc esi
mov ecx, dword [ebp - 0x20]
cmp esi, ecx
sbb ecx, ecx
neg ecx
imul edx, ecx, 0x1a1f
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
pop ecx
setle cl
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov ecx, dword [ebp - 0x24]
neg edx
sbb edx, edx
inc edx
add ecx, edx
imul ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x49c1cd
mov edx, esi
cmp dword [ebp - 0x154], eax
jne 0x49c1cf
mov edx, eax
xor ecx, ecx
cmp edx, 0x11b55e9
setne cl
mov dword [ebp - 0x24], ecx
jmp 0x49c1fa
mov dword [ebp - 0xc], eax
jmp 0x49c1f5
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0xe8], 0x64e62b50
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jle 0x49c1e4
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffec
jl 0x49c106
lea eax, [ebp - 0x4c]
push eax
call fcn.0049d0c7
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xc], 0x24ec2e0c
mov dword [ebp - 0x18], 0xffff
mov dword [ebp - 0xc], eax
jmp 0x49c238
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x34], 0x3526c715
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x49c22a
push 4
mov dword [ebp - 0xc], eax
pop edx
jmp 0x49c256
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x164], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edx
jl 0x49c245
mov dword [ebp - 0xc], eax
jmp 0x49c271
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x1a0], 0x65dd4d14
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edx
jl 0x49c260
mov dword [ebp - 0xc], 0xfffffff3
jmp 0x49c2e0
mov dword [ebp - 0x1c], 0xa2b82c44
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0xffffffff
cmp dword [ebp - 0xc], eax
jne 0x49c2d3
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x34], ecx
shl ecx, 2
cmp ecx, 0x752570e
setle dl
xor ecx, ecx
test edx, edx
mov dword [ebp - 0x160], edx
sete cl
imul ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x49c2cd
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1a0], 0xffffffff
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xd
jg 0x49c27f
mov edi, esi
cmp dword [ebp - 0x34], eax
jne 0x49c2ef
mov edi, eax
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x6511c25c
setge dl
mov dword [ebp - 0xc], edx
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
neg esi
sbb esi, esi
xor edx, edx
inc esi
sub esi, edi
cmp esi, ecx
setne dl
mov dword [ebp - 0x160], edx
cmp byte [ebp + 0xc], al
jne 0x49c32b
cmp dword [ebp - 0x2c], eax
jne 0x49c748
mov dword [ebp - 4], 0xe1757117
mov dword [ebp - 4], 8
jmp 0x49c3a7
mov dword [ebp - 0x24], 0xccce1e2c
mov dword [ebp - 0x14], eax
jmp 0x49c358
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x170], 0xcdcb363f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x49c347
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x170], ecx
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c3a4
push 0x1b10
push 0xe3a
push 0x1fa4
push 0x1212
push 0x791
push 0x1409
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RoundRect]
xor eax, eax
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffffa
je 0x49c33b
mov dl, byte [ebp + 0xc]
lea eax, [ebp - 0x1dc]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00479199
mov esi, eax
lea edi, [ebp - 0x9c]
pop ecx
push 3
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 0x18], 0xffffffff
inc esi
mov dword [ebp - 0x18], 0xd4e7937
mov dword [ebp - 0x18], 0x38462751
mov dword [ebp - 0x18], 0xe7e55059
mov dword [ebp - 0x18], 0x8e1b61ba
mov dword [ebp - 0x18], 0x15e1abe8
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0xa10aa43b
mov dword [ebp - 0x18], 0x8b6b0e1b
mov dword [ebp - 0x18], 0x3880e033
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0x23ccde6b
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], 0x860a421e
mov dword [ebp - 0x18], 0x93826a05
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], 0x335c22c9
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x14], eax
jmp 0x49c45f
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x134], 0x59b504db
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x49c44e
inc dword [ebp - 0x20]
cmp byte [ebp + 0xc], al
je 0x49c74e
cmp dword [ebp - 0x94], eax
je 0x49c74e
mov dword [ebp - 0xc], 0x68ec0ae9
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x24], 0x6b59229a
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xe5ec3521
mov dword [ebp - 0x14], eax
jmp 0x49c4b5
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x7c], 0xbf261718
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x49c4a7
mov dword [ebp - 0xc], 0xb
jmp 0x49c5a7
mov dword [ebp - 0x1c], 0xe57b
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x28], 0x2fd8
mov dword [ebp - 0x14], eax
jmp 0x49c502
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x1ec], 0x187b35f1
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x49c4f1
cmp dword [ebp - 0x1c], eax
je 0x49c591
mov dword [ebp - 0x14], 0xc299e885
mov dword [ebp - 8], eax
jmp 0x49c52e
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x114], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x49c51d
mov dword [ebp - 8], eax
jmp 0x49c549
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x1c0], 0xf7c629c4
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x49c538
cmp dword [ebp - 0x1c], eax
jne 0x49c587
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
push 0
pop ecx
setne cl
cmp ecx, 0xfffffff8
sbb ecx, ecx
inc ecx
cmp ecx, dword [ebp - 0x114]
mov ecx, eax
jne 0x49c589
mov ecx, esi
mov dword [ebp - 0x14], ecx
dec dword [ebp - 0x28]
jmp 0x49c59b
mov dword [ebp - 0x20], 0x9e13
dec dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffea
jg 0x49c4c6
mov dword [ebp - 4], 0x1d
jmp 0x49c617
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x20], 0x54fd57ec
cmp dword [ebp - 0x7c], eax
je 0x49c5e1
cmp dword [ebp - 0x28], eax
jne 0x49c5dd
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 4], eax
je 0x49c5e1
mov ecx, esi
jmp 0x49c5e3
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
setns dl
add edx, dword [ebp - 4]
sub edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x20], edx
xor edx, edx
cmp dword [ebp - 0x20], ecx
setg dl
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x28], eax
jne 0x49c61d
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffe8
jg 0x49c5ba
mov ecx, dword [ebp - 0x90]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], ecx
mov dword [ebp - 0x70], 0xffffffe3
jmp 0x49c733
mov dword [ebp - 4], 0xe5f36f6d
mov dword [ebp - 0x14], eax
jmp 0x49c65e
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x64], 0xfffffff9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x49c650
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x70]
add ecx, edx
mov edx, dword [ebp - 4]
inc dword [ebp - 4]
add edx, ecx
je 0x49c681
mov ecx, dword [ebp - 0x68]
jmp 0x49c70d
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0xc], eax
jl 0x49c6ae
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x64], edx
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c6a9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
xor eax, eax
dec dword [ebp - 0xc]
jns 0x49c68c
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x64], esi
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
dec ecx
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
imul ecx, ecx, 0xcda2
cmp ecx, 0xffffffff
setne dl
xor ecx, ecx
sub edx, dword [ebp - 0xc]
cmp edx, 0xffffffff
setg cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ecx
setne dl
xor ecx, ecx
cmp esi, edx
sete cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
setle dl
xor esi, esi
imul ecx, edx
dec ecx
inc esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0xc], eax
jl 0x49c730
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + ecx*4 - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x64], edx
cmp dword [ebp - 0x64], eax
jne 0x49c730
dec dword [ebp - 0xc]
jns 0x49c718
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0xffffffea
je 0x49c644
mov ecx, dword [ebp - 0x94]
mov dword [edi + 8], ecx
jmp 0x49c74b
xor esi, esi
inc esi
push 3
pop edi
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x14], eax
jmp 0x49c775
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x38], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x49c76b
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c78d
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x49c81f
mov dword [ebp - 4], 0xfffffffd
mov dword [ebp - 0x18], 0xfffffffb
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edi
jg 0x49c81c
mov dword [ebp - 0x24], 0x8c9dffbe
mov dword [ebp - 0x14], eax
jmp 0x49c7c8
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0xa8], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x49c7b7
mov ecx, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp + ecx*4 - 0xcc]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + ecx*4 - 0xcc]
imul esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0xcc]
cmp esi, ecx
setge dl
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x18], 0x1791
cmp dword [ebp - 0x18], eax
jne 0x49c819
inc dword [ebp - 4]
push 1
pop esi
cmp dword [ebp - 4], edi
jle 0x49c7ab
xor esi, esi
inc esi
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x1a
jle 0x49c795
mov esi, dword [ebp - 0x2c]
mov edi, dword [sym.imp.GDI32.dll_SetMapMode]
test esi, esi
jne 0x49cca9
cmp dword [ebp - 0x9c], 0
jle 0x49cca9
mov dword [ebp - 8], 0x20bd2ab
mov dword [ebp - 0x1c], 0x578cca69
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0x24489be6
mov dword [ebp - 0x24], 0xdda259c4
mov dword [ebp - 0x24], 0xd38c4615
mov dword [ebp - 0x14], eax
jmp 0x49c887
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x30], 0x3e70d28e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jl 0x49c879
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], eax
je 0x49c8ab
cmp dword [ebp - 0x1c], eax
je 0x49c8ab
xor ecx, ecx
inc ecx
jmp 0x49c8ad
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
cmp ecx, edx
push 0
pop ecx
setge cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
setle dl
sub ecx, edx
sub ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x30]
je 0x49c8e3
cmp dword [ebp - 8], eax
je 0x49c8e3
xor esi, esi
inc esi
jmp 0x49c8e5
mov esi, eax
mov ecx, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
setne dl
cmp edx, dword [ebp - 0x30]
jg 0x49c904
cmp dword [ebp - 0x1c], eax
je 0x49c904
xor esi, esi
inc esi
jmp 0x49c906
mov esi, eax
mov ecx, dword [ebp - 0x30]
xor edx, edx
cmp esi, ecx
setge dl
xor ecx, ecx
or esi, 0xffffffff
cmp edx, esi
setle cl
xor edx, edx
cmp ecx, 0x69a0165d
mov ecx, dword [ebp - 0x30]
setge dl
mov dword [ebp - 0x18], edx
xor edx, edx
cmp dword [ebp - 0x18], ecx
setle dl
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], 0x2b5bddd
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 8], 0xfffffff9
mov dword [ebp - 4], 0x73838a1f
mov dword [ebp - 0x14], eax
jmp 0x49c987
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x188], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x49c97a
mov dword [ebp - 4], eax
jmp 0x49c9a1
mov ecx, dword [ebp - 4]
cmp dword [ebp + ecx*4 - 0x188], eax
jne 0x49c9a7
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jle 0x49c992
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49c9c7
push 0x135e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
xor eax, eax
mov dword [ebp - 0x28], 0x71a05132
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 8], eax
jmp 0x49c9fc
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x130], 0xa6318529
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x49c9eb
mov dword [ebp - 8], eax
jmp 0x49ca18
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xf8], 0xeb0647dc
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x49ca07
xor edx, edx
mov dword [ebp - 0xf4], eax
inc edx
jmp 0x49caf9
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0xfffffff9
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], edx
jg 0x49caf3
mov dword [ebp - 8], 0x8e41
mov ecx, dword [ebp - 4]
sub ecx, 0xfffffff7
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, 0xa7fe
je 0x49ca67
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
jmp 0x49cade
mov dword [ebp - 0x18], 0x7ea4c570
mov dword [ebp - 8], eax
cmp dword [ebp - 8], edx
jg 0x49cad6
xor eax, eax
inc eax
mov dword [ebp - 0x24], 0x14b11f38
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
push 0
pop ecx
setle cl
sub ecx, 0x2f3f6085
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x20]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 4]
setne dl
mov dword [ebp - 0x24], edx
xor edx, edx
cmp ecx, dword [ebp - 0x24]
setle dl
mov dword [ebp - 0x1c], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], eax
jle 0x49ca79
xor edx, edx
xor eax, eax
inc edx
cmp dword [ebp - 0x12c], eax
jne 0x49cae4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jle 0x49ca45
or esi, 0xffffffff
inc dword [ebp - 0xf4]
cmp dword [ebp - 0xf4], edx
jle 0x49ca2c
cmp dword [ebp - 0x98], 0
je 0x49cca6
mov ecx, 0x928c176b
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
jmp 0x49cb3c
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xe0], 0x580849f8
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x49cb2b
mov dword [ebp - 8], eax
jmp 0x49cb54
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xbc], esi
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x49cb47
mov dword [ebp - 0x54], 0xfffffff4
jmp 0x49cc7d
mov dword [ebp - 8], 0xb4bc662a
mov dword [ebp - 0x24], 0xc6578637
mov dword [ebp - 0x14], eax
jmp 0x49cb89
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x108], 0xfffffff6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x49cb78
mov dword [ebp - 8], eax
jmp 0x49cc71
cmp dword [ebp - 8], edx
jle 0x49cb97
cmp dword [ebp - 0x54], 0xfffffff3
jne 0x49cb65
mov ecx, dword [ebp - 0x98]
call fcn.0049b8b3
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x2c], esi
call fcn.0049d0c7
mov dword [eax], esi
xor eax, eax
jmp 0x49cca9
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 5
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49cccc
push 0xe4d
push 0x9e4
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
xor eax, eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49ccee
push eax
push eax
push 0x1bc7
push 0x1e31
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ScrollWindow]
lea ecx, [ebp - 0x9c]
call fcn.00488d87
xor eax, eax
mov dword [ebp - 4], 0x73838a1f
mov dword [ebp - 0x14], eax
jmp 0x49cd18
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x17c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x49cd07
mov dword [ebp - 4], eax
jmp 0x49cd32
mov ecx, dword [ebp - 4]
cmp dword [ebp + ecx*4 - 0x17c], eax
jne 0x49cd38
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jle 0x49cd23
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], al
je 0x49cd57
push 0x135e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
xor eax, eax
test esi, esi
je 0x49cf51
mov dword [ebp - 8], 0x7223b16a
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 4], 0x4d14b718
mov dword [ebp - 0x14], eax
jmp 0x49cd87
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x48], 0x416db6d0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x49cd79
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
imul edx, ecx, 0x3e35
mov ecx, dword [ebp - 0x3c]
push 0
cmp ecx, edx
pop ecx
setle cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
setne dl
imul ecx, edx
test ecx, ecx
jne 0x49cde3
cmp dword [ebp - 0x3c], eax
jne 0x49cde3
mov edx, eax
jmp 0x49cde6
xor edx, edx
inc edx
mov ecx, dword [ebp - 0x3c]
sub edx, ecx
mov dword [ebp - 0xc], edx
jne 0x49cdf9
cmp dword [ebp - 0xc], eax
jne 0x49cdf9
mov ecx, eax
jmp 0x49cdfc
xor ecx, ecx
inc ecx
cmp ecx, dword [ebp - 0x3c]
jg 0x49ce0a
cmp dword [ebp - 0x3c], eax
jne 0x49ce0a
mov ecx, eax
jmp 0x49ce0d
xor ecx, ecx
inc ecx
push 3
mov dword [ebp - 4], ecx
pop esi
mov dword [ebp - 0xc], esi
cmp dword [ebp - 0xc], eax
jl 0x49cf30
mov dword [ebp - 0x20], 0x2f5726b0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
jmp 0x49ce3f
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x1b0], 0x1194
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x49ce2e
mov dword [ebp - 8], eax
jmp 0x49cea4
mov dword [ebp - 4], esi
cmp dword [ebp - 4], eax
jl 0x49cea1
mov dword [ebp - 0x28], 0xfffffffe
mov dword [ebp - 0x28], eax
jmp 0x49ce97
mov dword [ebp - 0x14], 0xc25c5395
mov dword [ebp - 0x14], eax
jmp 0x49ce8f
mov dword [ebp - 0x1c], 0x4db9bec7
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], eax
jl 0x49ce8c
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x48]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x48], edx
dec dword [ebp - 0x1c]
jns 0x49ce79
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jle 0x49ce6a
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], esi
jle 0x49ce5e
dec dword [ebp - 4]
jns 0x49ce52
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jle 0x49ce4a
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp + ecx*4 - 0x48]
cmp dword [ebp - 8], eax
je 0x49ceb8
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push 0
mov ecx, dword [ebp + ecx*4 - 0x48]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + ecx*4 - 0x48]
imul esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp + ecx*4 - 0x48]
neg esi
sbb esi, esi
xor edx, edx
inc esi
cmp esi, ecx
mov ecx, dword [ebp - 0xc]
setg dl
mov dword [ebp - 0x18], edx
xor edx, edx
cmp dword [ebp - 0x18], ecx
setne dl
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp + ecx*4 - 0x48]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
pop ecx
setne cl
sub ecx, dword [ebp - 8]
inc ecx
je 0x49cf1f
cmp dword [ebp - 4], eax
je 0x49cf1f
xor ecx, ecx
inc ecx
jmp 0x49cf21
mov ecx, eax
mov dword [ebp - 0x18], ecx
dec dword [ebp - 0xc]
push 3
pop esi
jns 0x49ce1f
push dword [ebp - 0x78]
push dword [ebp - 0x2c]
call fcn.004790c2
mov esi, dword [ebp + 8]
pop ecx
pop ecx
mov dword [esi], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0049d065
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x49cf54
mov esi, dword [ebp + 8]
mov dword [ebp + 8], 9
xor eax, eax
mov dword [ebp + 8], 0xe85a7b05
mov dword [ebp - 4], 0x556123d4
mov dword [ebp + 8], eax
jmp 0x49cf81
mov ecx, dword [ebp + 8]
mov dword [ebp + ecx*4 - 0x1fc], 0x833fcb50
inc dword [ebp + 8]
cmp dword [ebp + 8], 4
jl 0x49cf70
inc dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x49cfaa
mov byte [ebp + 0xb], al
cmp byte [ebp + 0xb], 0
je 0x49cfa7
push eax
push 0x1281
push eax
call dword [sym.imp.GDI32.dll_GetBitmapBits]
xor eax, eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 6
jle 0x49cf8f
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret