Function at 0x4761e6
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
mov dword [ebp - 0x4c], ecx
mov esi, edx
xor eax, eax
mov dword [ebp - 8], 0xe1757117
push edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 8], eax
jmp 0x476229
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x18], eax
jne 0x47622f
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476226
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor eax, eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff0
jl 0x476207
mov dword [ebp - 4], 0xfffffff8
mov dword [ebp - 0x18], 0x5c62e089
push 2
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
pop edx
jmp 0x476259
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0xe4], 0x9a924c00
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x476248
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
push 1
pop edi
cmp ecx, dword [ebp - 4]
jge 0x476276
mov ecx, eax
cmp dword [ebp - 8], eax
je 0x476278
mov ecx, edi
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 8], 6
jmp 0x4762a1
mov dword [ebp - 4], eax
jmp 0x476299
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xe4], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x47628c
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffffd
jge 0x476287
mov ecx, dword [0xaa4ea0]
test cl, 1
jne 0x476337
push eax
or ecx, edi
mov dword [0xaa4eb0], eax
push eax
mov dword [0xaa4ea0], ecx
mov dword [0xaa4eb4], eax
call fcn.0040f5ab
mov dword [0xaa4eb0], eax
xor esi, esi
mov dword [ebp - 0xac], eax
mov ecx, 0xaa4eb8
lea eax, [ebp - 0xac]
mov dword [0xaa4eb8], esi
push eax
push 0x10
push esi
lea eax, [ebp - 0x144]
mov dword [0xaa4ec0], esi
push eax
mov dword [0xaa4ecc], 0x3f800000
mov dword [0xaa4ebc], esi
call fcn.0040f2e1
push 0x4aa8ca
mov dword [0xaa4ec4], 7
mov dword [0xaa4ec8], 8
call fcn.004946cf
mov esi, dword [ebp - 0x3c]
xor eax, eax
pop ecx
mov dword [ebp - 4], eax
jmp 0x47634d
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1d4], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x47633c
mov dword [ebp - 4], eax
jmp 0x476365
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xdc], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x476358
mov dword [ebp - 0xd4], eax
jmp 0x4763aa
mov dword [ebp - 8], 9
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47638c
push eax
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x47639e
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x1d4], edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x476391
inc dword [ebp - 0xd4]
cmp dword [ebp - 0xd4], 3
jle 0x476373
imul ecx, dword [ebp - 0x4c], 0x2710
push 0xfffffffffffffffd
pop edx
add ecx, esi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], eax
jmp 0x4763d4
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x34], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x4763ca
mov dword [ebp - 0x34], 0xffffffec
jmp 0x476548
mov dword [ebp - 4], eax
jmp 0x4763f8
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x2c], 2
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x4763ea
mov dword [ebp - 4], eax
jmp 0x47640c
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x28], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x476402
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], eax
jg 0x476545
mov dword [ebp - 8], 0xcd49598a
mov dword [ebp - 4], eax
jmp 0x47643a
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x138], 0x54ab1007
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x476429
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp + ecx*4 - 0x2c]
cmp dword [ebp - 0x28], eax
je 0x47646c
cmp dword [ebp - 0x34], eax
jne 0x476468
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + ecx*4 - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + ecx*4 - 0x2c], edx
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov esi, edi
jmp 0x47646e
mov esi, eax
mov ecx, dword [ebp - 8]
xor edx, edx
cmp esi, ecx
setge dl
mov dword [ebp - 8], edx
mov dword [ebp - 8], eax
jmp 0x47652c
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x14], 0xffffffea
jmp 0x4764a2
mov dword [ebp - 0x18], 0x717f
cmp dword [ebp - 0x18], eax
jne 0x4764a8
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe8
jle 0x476493
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], eax
jl 0x476529
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + ecx*4 - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + ecx*4 - 0x2c], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], eax
jl 0x476524
mov ecx, dword [ebp - 0x28]
mov dword [ebp + ecx*4 - 0x2c], 0xe6966ef3
mov ecx, dword [ebp - 4]
cmp dword [ebp + ecx*4 - 0x2c], eax
je 0x4764f1
mov ecx, dword [ebp - 0x28]
cmp dword [ebp + ecx*4 - 0x2c], eax
je 0x4764f1
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov ecx, dword [ebp + ecx*4 - 0x2c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
test ecx, ecx
mov ecx, dword [ebp - 0x14]
setns dl
add ecx, edx
mov dword [ebp - 0x18], ecx
dec dword [ebp - 4]
jns 0x4764cd
dec dword [ebp - 0x14]
jns 0x4764b0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1d
je 0x476483
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jle 0x47641d
push 0xfffffffffffffffd
pop edx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], edx
jg 0x4763e5
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476567
push 0x4aa
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x70]
push eax
call fcn.004777d4
mov eax, dword [eax]
test eax, eax
je 0x476707
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0x257a10dd
mov dword [ebp - 0x10], 0x6773196e
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4765a2
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x54], 0xfffffffb
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x476594
mov dword [ebp - 4], eax
jmp 0x4765b9
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x204], edi
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x4765ac
cmp dword [ebp - 0x54], eax
je 0x476622
mov dword [ebp - 8], 0xc4d8e5c
mov byte [ebp + 0xb], al
cmp byte [ebp + 0xb], al
je 0x4765ec
push eax
push 0xa12
push eax
push 0xdf3
push 0x13b9
call dword [sym.imp.GDI32.dll_ExtCreatePen]
xor eax, eax
mov dword [ebp - 8], 0xe
jmp 0x476617
mov dword [ebp + 8], 0x2e31d832
mov dword [ebp + 8], eax
jmp 0x47660f
mov ecx, dword [ebp + 8]
mov dword [ebp + ecx*4 - 0x54], 0x7a3a11c1
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jl 0x476601
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff7
jl 0x4765f5
jmp 0x476700
mov edi, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], 0xfffffff6
mov dword [ebp - 0x3c], 0x571c097b
mov dword [ebp - 4], eax
jmp 0x4766d2
mov dword [ebp - 0x1c], 0x12a7b09f
xor edx, edx
mov dword [ebp - 0x18], 0xffffffff
inc edx
mov dword [ebp - 8], eax
jmp 0x47665e
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x38], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x476654
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], eax
jl 0x476696
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476691
push eax
push 0x6ba
push 0x11ee
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call edi
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
xor eax, eax
dec dword [ebp - 0x38]
jns 0x47666b
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
cmp edx, ecx
mov ecx, dword [ebp - 0x38]
push 0
pop edx
setne dl
cmp edx, ecx
push 0
pop ecx
setg cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x18], ecx
setge dl
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 8
jge 0x47663e
mov byte [ebp + 0xb], al
cmp byte [ebp + 0xb], 0
je 0x476700
push 0x12d5
push 0x789
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov eax, esi
jmp 0x47775f
mov dword [ebp - 0x1c], 0x3623
xor eax, eax
mov dword [ebp - 8], 0x3af7
mov dword [ebp - 0x10], 0xb622b607
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], eax
jmp 0x476738
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x44], 0xfffffff9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x47672a
mov dword [ebp - 0x14], eax
jmp 0x476750
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x6c], 0x7632667a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x476742
mov dword [ebp - 0x14], eax
jmp 0x47676c
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0xc4], 0xaba8d6e8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x47675b
mov dword [ebp - 0x64], eax
jmp 0x476785
mov ecx, dword [ebp - 0x64]
mov dword [ebp + ecx*4 - 0x44], 0xcd795364
inc dword [ebp - 0x64]
cmp dword [ebp - 0x64], edi
jl 0x476777
cmp dword [ebp - 0x44], eax
je 0x4767e3
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 0x64]
cmp ecx, edx
push 0
pop ecx
setg cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 0x18], ecx
setg dl
mov dword [ebp - 0x44], edx
mov edx, edi
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xc4], edi
mov ecx, dword [ebp - 0xc4]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x44]
jmp 0x4767e5
mov edx, eax
xor ecx, ecx
cmp edx, 0xfff8
setne cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x18], ecx
setne dl
cmp edi, edx
mov edx, dword [ebp - 8]
sbb ecx, ecx
neg ecx
imul edx, ecx
mov ecx, 0xcd4d3380
sub edx, dword [ebp - 0x64]
neg edx
sbb edx, edx
inc edx
cmp ecx, edx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x64], ecx
mov ecx, dword [0xaa4ea0]
test cl, 2
jne 0x4768aa
push eax
or ecx, 2
mov dword [0xaa4e80], eax
push eax
mov dword [0xaa4ea0], ecx
mov dword [0xaa4e84], eax
call fcn.0040f5ab
mov dword [0xaa4e80], eax
xor esi, esi
mov dword [ebp - 0xa4], eax
mov ecx, 0xaa4e88
lea eax, [ebp - 0xa4]
mov dword [0xaa4e88], esi
push eax
push 0x10
push esi
lea eax, [ebp - 0x130]
mov dword [0xaa4e90], esi
push eax
mov dword [0xaa4e9c], 0x3f800000
mov dword [0xaa4e8c], esi
call fcn.0040f2e1
push 0x4aa8c5
mov dword [0xaa4e94], 7
mov dword [0xaa4e98], 8
call fcn.004946cf
pop ecx
xor eax, eax
mov ecx, 0x96dd1e1e
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 8], eax
jmp 0x4768d9
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xb8], edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x4768cc
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xb0], 0xfffffff8
jmp 0x47691f
mov dword [ebp - 8], 0xfffffff9
mov dword [ebp - 8], eax
jmp 0x476913
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476910
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetCommState]
xor eax, eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff0
jne 0x4768fd
inc dword [ebp - 0xb0]
cmp dword [ebp - 0xb0], 0x19
jge 0x4768f1
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x10], 0xa17d
mov dword [ebp - 8], 0xfaab39e2
mov dword [ebp - 4], edi
mov dword [ebp - 4], eax
jmp 0x47695a
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xa8], 0x6847dfa8
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x476949
mov dword [ebp - 4], eax
jmp 0x476972
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x5c], 0x871c7bf0
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x476964
mov esi, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], eax
jl 0x476ae4
mov dword [ebp - 0x14], 0xe6da504
mov dword [ebp - 0x18], 0x5ff57440
mov dword [ebp - 0x18], 0x82f744ed
mov dword [ebp - 0x14], eax
jmp 0x476a47
mov dword [ebp - 8], eax
jmp 0x4769bd
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x12c], 0x9c3f9080
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x4769ac
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
inc ecx
je 0x4769eb
mov ecx, edi
cmp dword [ebp - 0x14], eax
jne 0x4769ed
mov ecx, eax
cmp ecx, dword [ebp - 0x14]
jle 0x4769f9
mov ecx, eax
cmp dword [ebp - 0x58], eax
je 0x4769fb
mov ecx, edi
mov dword [ebp - 0x18], ecx
xor edx, edx
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
mov ecx, dword [ebp - 4]
setne dl
neg edx
mov dword [ebp - 0x18], edx
xor edx, edx
cmp dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
setge dl
mov dword [ebp - 0x18], edx
xor edx, edx
cmp dword [ebp - 0x18], ecx
setge dl
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x18]
sub ecx, 0xe53e
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x12c], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
jle 0x4769a7
jmp 0x476ad2
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476aa7
push 0x1ea4
push 0x17e0
push 0x1a8e
push 0x57c
push 0xd53
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
push eax
push 0x936
push 0x1a1b
push 0x1fd5
push 0x2462
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], eax
jl 0x476acf
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476aca
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
push eax
call dword [sym.imp.GDI32.dll_GetBkColor]
xor eax, eax
dec dword [ebp - 0x10]
jns 0x476aaf
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jle 0x476a55
dec dword [ebp - 0x5c]
jns 0x47698a
mov dword [ebp - 8], 0xd
jmp 0x476b29
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x15
jmp 0x476b20
cmp dword [ebp - 0xa8], eax
je 0x476b08
cmp dword [ebp - 0x18], eax
jne 0x476b26
jmp 0x476b1d
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476b1d
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
xor eax, eax
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffe3
je 0x476af9
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffe6
jle 0x476aed
lea eax, [ebp - 0x4c]
push eax
call fcn.00477836
mov edi, dword [eax]
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x18], edi
test al, al
jne 0x476b4c
test edi, edi
jne 0x477008
lea ecx, [ebp - 0x220]
mov dl, al
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.0045cfdd
mov esi, eax
lea edi, [ebp - 0xa0]
xor eax, eax
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 0x10], 0xffffffff
inc edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
jmp 0x476b8f
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x48], 0xf2f4
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x476b81
mov dword [ebp - 4], eax
jmp 0x476baa
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x154], 0x4f31bc46
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x476b99
mov dword [ebp - 0x14], 0xfffffffd
jmp 0x476d0a
mov dword [ebp - 4], 0x256a9ef7
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x600ac80e
mov dword [ebp - 0x24], 0xac77acae
mov dword [ebp - 0x10], 0x6747b1d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], eax
jl 0x476ce9
mov dword [ebp - 8], 8
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x124], 0xfc9aeb9d
mov dword [ebp - 0x120], 0xfc9aeb9d
mov dword [ebp - 0x11c], 0xfc9aeb9d
mov dword [ebp - 0x118], 0xfc9aeb9d
mov dword [ebp - 0x10], eax
jmp 0x476c2e
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x1a4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x476c21
mov dword [ebp - 8], eax
cmp dword [ebp - 8], eax
jl 0x476ce0
mov dword [ebp - 0x10], eax
jmp 0x476c56
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x190], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x476c45
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
cmp ecx, edx
push 0
pop ecx
setge cl
xor edx, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 8]
push 0
mov ecx, dword [ebp + ecx*4 - 0x48]
cmp dword [ebp - 0x20], ecx
setle dl
xor ecx, ecx
cmp edx, 0x360d
setge cl
cmp edi, ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, 0x7413
mov ecx, dword [ebp - 0x48]
setl dl
imul edx, edx, 0xe2db
cmp edx, ecx
pop ecx
setge cl
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
sub edx, ecx
mov dword [ebp - 0x20], edx
xor edx, edx
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xe434
setl dl
mov dword [ebp - 0x10], edx
dec dword [ebp - 8]
jns 0x476c40
dec dword [ebp - 4]
jns 0x476be6
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x10], 0xaf57
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
sub edx, ecx
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1a
je 0x476bbb
cmp byte [ebp + 0xc], al
je 0x476fc2
cmp dword [ebp - 0x98], eax
je 0x476fc2
mov dword [ebp - 4], 0xad6f2ee
mov dword [ebp - 8], 0x7c8748af
mov dword [ebp - 0x20], 0x11d962ee
mov dword [ebp - 0x20], 0xa835a23e
mov dword [ebp - 0x24], 0xfa90ef87
mov dword [ebp - 0x14], 0xf0c3
mov dword [ebp - 0x10], eax
jmp 0x476d65
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x178], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x476d58
cmp dword [ebp - 4], eax
je 0x476da6
mov dword [ebp - 0x1c], 0x2ffab8c3
mov dword [ebp - 0x20], 0x152c58fb
mov byte [ebp - 9], al
cmp byte [ebp - 9], al
je 0x476d8c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x476dbb
mov byte [ebp - 9], al
cmp byte [ebp - 9], al
je 0x476dbb
push eax
push 0x1f80
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
xor eax, eax
cmp dword [ebp - 0x20], eax
jne 0x476dc9
mov edx, eax
cmp dword [ebp - 4], eax
je 0x476dcb
mov edx, edi
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 8]
add esi, edx
sub esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
neg esi
push 0
sbb esi, esi
xor edx, edx
inc esi
cmp esi, ecx
mov ecx, dword [ebp - 0x178]
setne dl
dec edx
mov dword [ebp - 0x1c], edx
xor edx, edx
cmp dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x24]
setle dl
inc edx
cmp edx, ecx
pop ecx
setle cl
cmp edi, ecx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
sbb esi, esi
xor edx, edx
inc esi
cmp esi, ecx
mov ecx, dword [ebp - 0x94]
mov dword [edi + 4], ecx
setg dl
mov dword [ebp - 0x20], edx
xor edx, edx
mov dword [ebp - 0x1c], 0x257a10dd
inc edx
mov dword [ebp - 0x20], 0x6773196e
mov dword [ebp - 4], eax
jmp 0x476e54
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x50], 0xfffffffb
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x476e46
mov dword [ebp - 4], eax
jmp 0x476e6b
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1e0], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x476e5e
cmp dword [ebp - 0x50], eax
je 0x476ed7
mov dword [ebp - 0x10], 0xc4d8e5c
mov byte [ebp - 9], al
cmp byte [ebp - 9], al
je 0x476ea1
push eax
push 0xa12
push eax
push 0xdf3
push 0x13b9
call dword [sym.imp.GDI32.dll_ExtCreatePen]
xor edx, edx
xor eax, eax
inc edx
mov dword [ebp - 0x10], 0xe
jmp 0x476ecc
mov dword [ebp - 8], 0x2e31d832
mov dword [ebp - 8], eax
jmp 0x476ec4
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x50], 0x7a3a11c1
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x476eb6
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffff7
jl 0x476eaa
jmp 0x476fb7
mov dword [ebp - 8], 0xfffffff6
mov dword [ebp - 0x1c], 0x571c097b
mov dword [ebp - 8], eax
jmp 0x476f85
mov dword [ebp - 0x24], 0x12a7b09f
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x10], eax
jmp 0x476f0a
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x30], edx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x476f00
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], eax
jl 0x476f46
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476f41
push eax
push 0x6ba
push 0x11ee
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
xor eax, eax
dec dword [ebp - 0x30]
jns 0x476f17
inc dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
cmp edx, ecx
mov ecx, dword [ebp - 0x30]
push 0
pop edx
setne dl
cmp edx, ecx
push 0
pop ecx
setg cl
xor edx, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], ecx
push 1
setge dl
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
inc dword [ebp - 8]
pop edx
cmp dword [ebp - 8], 8
jge 0x476eed
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x476fb7
push 0x12d5
push 0x789
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov eax, dword [ebp - 0x98]
mov dword [edi + 8], eax
xor eax, eax
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], 0xf37831e4
xor esi, esi
mov dword [ebp - 0x1c], 0x580d416d
inc esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0x5131d8b9
mov dword [ebp - 0x1c], 0x9ebf495e
mov dword [ebp - 0x1c], 0x29f58382
mov dword [ebp - 0x1c], 0xa2b82c44
mov dword [ebp - 0x1c], 0x20f746e3
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 4], eax
jmp 0x47701d
xor eax, eax
jmp 0x476fc5
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x150], 0xcf5720e8
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x47700c
mov dword [ebp - 4], eax
jmp 0x477034
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1ac], esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x477027
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47704c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], eax
jl 0x477122
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x1c], 0x23fa3a92
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], 0xe0752570
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], eax
jmp 0x477089
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x1ec], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x477078
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4770b2
push esi
push 0x169b
push 0x284
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollPos]
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x477114
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x1c], 0x99a5671
mov dword [ebp - 0x1c], 0x859bb7a1
mov dword [ebp - 0x1c], 0x223b16aa
mov dword [ebp - 4], eax
jmp 0x4770ec
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x230], 0xda2ae7b7
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x4770db
mov dword [ebp - 4], eax
jmp 0x477108
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1b4], 0xb07fb07d
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x4770f7
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x4770b7
dec dword [ebp - 8]
jns 0x477058
test edi, edi
jne 0x477576
cmp dword [ebp - 0xa0], edi
jle 0x477576
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
push 3
mov dword [ebp - 8], 0xc4d8e5c
mov dword [ebp - 8], eax
pop edx
jmp 0x47718d
mov dword [ebp - 0x10], 0xe31d8329
mov dword [ebp - 0x1c], 0xed1ad67a
mov dword [ebp - 0x10], eax
jmp 0x477185
mov ecx, dword [ebp - 8]
cmp dword [ebp + ecx*4 - 0x114], eax
jne 0x47718a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jle 0x477170
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jle 0x47715d
mov dword [ebp - 8], 0xc7bf0b96
mov dword [ebp - 0x1c], 0x1dba3399
mov dword [ebp - 0x18], 0x4ab2
mov dword [ebp - 0x10], eax
jmp 0x4771bd
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x1f8], 4
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x4771ac
inc dword [ebp - 0x18]
mov dword [ebp - 8], 0xfffffff2
jmp 0x4771f9
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x10], eax
jmp 0x4771e7
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x140], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x4771da
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x1c], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x18
jle 0x4771ce
mov dword [ebp - 4], 0xfffffffc
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
jmp 0x47721f
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x16c], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x47720e
mov dword [ebp - 4], eax
jmp 0x47723a
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x1c4], 0x628e
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x477229
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x47730d
mov dword [ebp - 8], 0xbc9c3d06
mov dword [ebp - 0x18], 0xfffffffc
mov ecx, dword [ebp - 0x10]
inc ecx
je 0x477264
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
inc ecx
cmp ecx, 0xffffffff
mov ecx, dword [ebp - 8]
setge dl
mov dword [ebp - 0x1c], edx
xor edx, edx
cmp dword [ebp - 0x1c], ecx
setl dl
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
neg ecx
sbb ecx, ecx
neg ecx
sub esi, ecx
mov ecx, dword [ebp - 0x164]
neg esi
sbb esi, esi
xor edx, edx
inc esi
cmp esi, ecx
setl dl
cmp edx, dword [ebp - 8]
jl 0x4772b5
cmp dword [ebp - 8], eax
jne 0x4772b5
mov esi, eax
jmp 0x4772b8
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp esi, ecx
setne dl
xor ecx, ecx
cmp edx, 0x1ec1
setl cl
cmp ecx, dword [ebp - 0x168]
jl 0x4772e1
cmp dword [ebp - 0x10], eax
je 0x4772e1
xor esi, esi
mov ecx, eax
inc esi
imul edx, ecx, 0xffff
mov ecx, dword [ebp - 4]
push 0
cmp edx, ecx
pop ecx
setg cl
mov dword [ebp - 0x1c4], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jle 0x47724d
mov dword [ebp - 0x14], 0xfffffffc
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x1c], 0x4d996497
mov dword [ebp - 0x18], 6
mov dword [ebp - 4], eax
jmp 0x477350
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x19c], 0x1a05132d
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x47733f
mov dword [ebp - 4], eax
jmp 0x47736b
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xb24adc9f
mov dword [ebp - 8], eax
jmp 0x47763b
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x10], eax
jmp 0x4775b7
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x184], 0xbe3d0e72
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x4775a6
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
inc edx
cmp edx, ecx
push 0
pop ecx
setle cl
xor edx, edx
cmp ecx, 0xcd3b
mov ecx, dword [ebp - 4]
setle dl
mov dword [ebp - 0x1c], edx
xor edx, edx
cmp ecx, dword [ebp - 0x1c]
setg dl
add edx, dword [ebp - 4]
cmp edx, dword [ebp - 4]
je 0x4775fd
mov ecx, eax
cmp dword [ebp - 0x18], eax
je 0x4775ff
mov ecx, esi
add ecx, 0xffff98d5
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x20]
sub ecx, 6
cmp edx, ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 9], al
cmp byte [ebp - 9], dl
je 0x477638
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
xor eax, eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x15
jge 0x477593
lea ecx, [ebp - 0xa0]
call fcn.0046a7cc
xor esi, esi
test edi, edi
je 0x4776ec
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0xf4], eax
inc ecx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], esi
jmp 0x47768b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x40], 0xd4081c29
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x47767d
mov dword [ebp - 4], esi
jmp 0x4776a6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xbc], 0xfffffff6
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x477695
mov dword [ebp - 0x40], esi
jmp 0x4776c7
mov eax, dword [ebp - 0x40]
cmp dword [ebp + eax*4 - 0xf4], 0xfffffffc
sbb eax, eax
inc eax
mov dword [ebp - 0xbc], eax
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 3
jle 0x4776b0
push dword [ebp - 0x3c]
push edi
call fcn.0045cf07
mov edi, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi], eax
lea eax, [ebp - 0x70]
push eax
call fcn.004777d4
mov ecx, dword [edi]
mov dword [eax], ecx
jmp 0x4776ef
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 0xc7bf0b96
mov dword [ebp + 8], 0x1dba3399
mov dword [ebp - 0x3c], 0x4ab2
mov dword [ebp + 8], esi
jmp 0x47771a
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x210], 4
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x477709
inc dword [ebp - 0x3c]
mov dword [ebp - 0x10], 0xfffffff2
jmp 0x477757
mov dword [ebp + 8], 8
mov dword [ebp + 8], esi
jmp 0x477745
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x14c], esi
inc dword [ebp + 8]
cmp dword [ebp + 8], 2
jl 0x477738
mov ecx, dword [ebp - 0x148]
mov dword [ebp + 8], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x18
jle 0x47772c
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret