Function at 0x1004898f
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Get system information on windows
Identify system language via api
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006b861
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
push esi
push edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x28], 0x1972
cmp dword [esp + 0x28], 0x8eb
push 0
mov dword [esp + 0x8c], edx
pop ebx
jge 0x10048ac0
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x5c]
push eax
push 0x10008464
call fcn.10050b5b
add esp, 0x10
lea ecx, [esp + 0x190]
push dword [esp + 0x54]
call fcn.1000ebc1
mov dword [esp + 0x26c], ebx
mov esi, dword [esp + 0x190]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x54], ebx
jle 0x10048a39
mov edi, esi
push edi
push 0x1000813c
call fcn.10050b5b
inc ebx
add edi, 4
pop ecx
pop ecx
cmp ebx, dword [esp + 0x54]
jl 0x10048a20
xor ebx, ebx
mov eax, dword [esp + 0x64]
and eax, 0x8000003f
jns 0x10048a49
dec eax
or eax, 0xffffffc0
inc eax
je 0x10048a83
push dword [esp + 0x194]
dec eax
push esi
mov dword [esp + 0x6c], eax
call fcn.100399e3
cmp dword [esp + 0x5c], 0
pop ecx
pop ecx
mov ecx, ebx
jle 0x10048a7b
mov eax, dword [esp + 0x148]
xor dword [esi + ecx*4], eax
add ecx, 2
cmp ecx, dword [esp + 0x54]
jl 0x10048a68
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x10048a4b
push dword [esp + 0x194]
dec eax
push esi
mov dword [esp + 0x6c], eax
call fcn.100399e3
mov eax, dword [esp + 0x5c]
push dword [esi]
push dword [esi + eax*4 - 4]
push 0x100083a8
call fcn.10050d76
or dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0x1a4]
add esp, 0x14
call fcn.1000f7cf
mov dword [esp + 0x20], 0x24a8c6a5
lea ecx, [esp + 0x70]
mov dword [esp + 0x38], 0x66c93ee
push 4
call fcn.1000ebc1
xor edi, edi
inc edi
mov dword [esp + 0x26c], edi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x1c], 0xfffffff7
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
jmp 0x10048b12
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x13717be9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10048aff
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x20], 0x13
jle 0x10048d98
mov esi, dword [esp + 0x70]
mov dword [esp + 0x44], esi
mov dword [esp + 0x60], 0xa810d21d
mov dword [esp + 0x30], 0x9cb61d22
mov dword [esp + 0x2c], 0x8254981c
mov dword [esp + 0x34], 0x1574
cmp dword [esp + 0x34], 0xe79
jge 0x10048cde
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
push eax
push 0x10008464
call fcn.10050b5b
add esp, 0x10
lea ecx, [esp + 0xc8]
push dword [esp + 0x6c]
call fcn.1000ebc1
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x34], ebx
test esi, esi
jle 0x10048bbf
mov ebx, dword [esp + 0xc8]
mov edi, dword [esp + 0x34]
push ebx
push 0x1000813c
call fcn.10050b5b
mov esi, dword [esp + 0x74]
inc edi
pop ecx
add ebx, 4
pop ecx
cmp edi, esi
jl 0x10048ba1
xor edi, edi
xor ebx, ebx
inc edi
mov eax, esi
mov ecx, ebx
and eax, 0x80000001
jns 0x10048bcf
dec eax
or eax, 0xfffffffe
inc eax
je 0x10048bf4
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0xc8]
sar eax, 1
cmp dword [edx + eax*4], 2
jne 0x10048bf4
mov eax, dword [esp + 0x5c]
mov ecx, eax
cmp dword [esp + 0x68], eax
cmovl ecx, dword [esp + 0x68]
mov eax, esi
mov dword [esp + 0x14], ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x60], eax
test eax, eax
jle 0x10048cc1
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x68]
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x5c]
add eax, 0xfffffffc
mov dword [esp + 0x10], eax
mov eax, ebx
mov ebx, dword [esp + 0xc8]
push 0
mov eax, dword [ebx + eax*4]
pop ebx
cmp eax, 2
jne 0x10048c64
mov ebx, dword [esp + 0x10]
push 0
cmp dword [ebx], 2
pop ebx
jne 0x10048c50
cmp esi, edx
mov eax, edx
cmovl eax, esi
lea ecx, [ecx + eax*2]
jmp 0x10048ca4
cmp eax, 2
jne 0x10048c64
mov eax, esi
mov esi, dword [esp + 0x10]
cmp dword [esi], ebx
cmovne eax, edx
add ecx, eax
jmp 0x10048c8e
mov ebx, dword [esp + 0x10]
push 0
mov ebx, dword [ebx]
cmp ebx, 2
mov dword [esp + 0x38], ebx
pop ebx
jne 0x10048c94
mov ebx, dword [esp + 0x14]
mov eax, esi
mov esi, dword [esp + 0xc8]
cmp dword [esi + ebx*4], 0
cmovne eax, edx
add ecx, eax
xor ebx, ebx
mov esi, dword [esp + 0x5c]
jmp 0x10048ca4
cmp eax, edi
jg 0x10048ca4
cmp dword [esp + 0x34], edi
jg 0x10048ca4
cmp eax, dword [esp + 0x34]
jne 0x10048cbe
mov eax, dword [esp + 0x14]
sub dword [esp + 0x10], 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x60]
jl 0x10048c26
jmp 0x10048cc1
or ecx, 0xffffffff
push ecx
push 0x100081d0
call fcn.10050d76
pop ecx
pop ecx
lea ecx, [esp + 0xc8]
call fcn.1000f7cf
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], ebx
jmp 0x10048cf7
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x210], 0x89328a06
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10048ce4
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], 0xffffffff
jne 0x10048d79
mov eax, dword [esp + 0x70]
cmp dword [eax], ebx
jne 0x10048d3a
mov eax, dword [esp + 0x38]
mov edx, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x21c], 0x11f0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
sub ecx, dword [eax]
cmp ecx, dword [esp + 0x30]
je 0x10048d3c
mov edx, edi
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
xor eax, eax
cmp edx, ecx
setle al
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x1c]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x30], ebx
jne 0x10048d69
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edx, edi
cmp dword [esp + 0x210], 0xffffffff
jl 0x10048d7b
mov edx, ebx
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [esi + 4], ecx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 0x13
jg 0x10048b30
push 3
mov dword [esp + 0x20], 0x14
pop esi
jmp 0x10048e69
mov dword [esp + 0x24], 0x493ab76a
lea ecx, [esp + 0xe0]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x24], 0xfffffff7
mov dword [esp + 0x24], 6
push esi
call fcn.1000ebc1
mov dword [esp + 0x14], ebx
jmp 0x10048dee
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x238], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10048ddb
mov dword [esp + 0x14], ebx
jmp 0x10048e10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xe0]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10048dfa
mov dword [esp + 0x14], ebx
jmp 0x10048e2f
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1fc], 0xf7d1d410
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10048e1c
dec dword [esp + 0x28]
cmp dword [esp + 0xe0], 0
je 0x10048e65
push dword [esp + 0xe0]
call fcn.10050ee7
pop ecx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xd
je 0x10048da8
or dword [esp + 0x26c], 0xffffffff
cmp dword [esp + 0x70], 0
je 0x10048e99
push dword [esp + 0x70]
call fcn.10050ee7
pop ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], 0xfffffffd
mov dword [esp + 0x24], 0xd69b45c7
mov dword [esp + 0x10], ebx
jmp 0x10048eca
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1e4], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10048eb7
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
jle 0x10049005
mov dword [esp + 0x1c], 0xe56f9b2c
mov dword [esp + 0x1c], ebx
jmp 0x10048fe9
push edi
lea ecx, [esp + 0xb4]
call fcn.1000ebc1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x20], ebx
jmp 0x10048f1d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xb0]
mov dword [eax + ecx*4], 0x23ed15d
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jl 0x10048f07
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10048f35
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [esp + 0x20], ebx
jmp 0x10048fb3
mov dword [esp + 0x28], 0xf23e93d0
xor edx, edx
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0xb0]
cmp dword [ecx + eax*4], 0x1648c8b8
setle dl
xor eax, eax
cmp edx, dword [ecx + esi*4]
setl al
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], ebx
jl 0x10048faf
mov dword [esp + 0x24], 0x707e294b
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x1e4]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x1c], ebx
jne 0x10048faf
dec dword [esp + 0x14]
jns 0x10048f7c
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jle 0x10048f3b
cmp dword [esp + 0xb0], 0
je 0x10048fe5
push dword [esp + 0xb0]
call fcn.10050ee7
pop ecx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xfffffffd
jg 0x10048ef0
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jg 0x10048edf
push 3
pop esi
mov eax, dword [0x10af970c]
test al, 1
jne 0x100490ab
or eax, edi
mov dword [0x10af970c], eax
push ebx
mov dword [esp + 0x270], 2
push ebx
mov dword [0x10af9710], ebx
mov dword [0x10af9714], ebx
call fcn.100120a6
mov dword [0x10af9710], eax
mov dword [0x10af9718], ebx
mov dword [0x10af9720], ebx
mov byte [esp + 0x26c], 4
mov ecx, 0x10af9718
mov dword [esp + 0x128], eax
lea eax, [esp + 0x128]
push eax
push 0x10
push ebx
lea eax, [esp + 0x1ec]
mov dword [0x10af972c], 0x3f800000
push eax
mov dword [0x10af971c], ebx
call fcn.10011e4a
push 0x1006bb2c
mov dword [0x10af9724], 7
mov dword [0x10af9728], 8
call fcn.10050d4c
or dword [esp + 0x270], 0xffffffff
pop ecx
mov dword [esp + 0x20], 0xfffffff7
mov dword [esp + 0x2c], 0xbac41177
mov dword [esp + 0x1c], ebx
jmp 0x100490d4
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0xa0], 0x876e
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jl 0x100490c1
mov dword [esp + 0x1c], ebx
jmp 0x100490f0
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x22c], edi
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], esi
jl 0x100490e1
mov dword [esp + 0x20], ebx
jmp 0x100492ff
mov dword [esp + 0x1c], 0xfffffffa
mov dword [esp + 0x14], 0x3f6d1d89
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049129
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x1c], ebx
jl 0x100492fb
mov dword [esp + 0x44], 0x95c3c62e
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004915e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_UpdateColors]
mov eax, dword [esp + 0x1c]
cmp dword [esp + eax*4 + 0xa0], ebx
je 0x10049197
mov eax, dword [esp + 0xa0]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0xa0]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0xa0]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0xa0]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0xa0]
test eax, eax
mov eax, dword [esp + 0x20]
setns cl
xor edx, edx
cmp ecx, 0xdfc
setge dl
neg edx
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov eax, dword [esp + 0x20]
setle cl
xor edx, edx
cmp ecx, eax
setl dl
sub edx, dword [esp + 0x20]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa8]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0xa4]
neg edx
cmp edx, eax
setle cl
cmp ecx, dword [esp + 0xac]
jne 0x100492e1
mov dword [esp + 0x38], 0xfffffff6
mov dword [esp + 0x24], 0x16d6ae4d
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x14], ebx
jmp 0x100492b7
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], ebx
jl 0x100492b3
xor ecx, ecx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x20]
cmp eax, 9
setge cl
cmp ecx, 5
sbb eax, eax
inc eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
neg ecx
sbb ecx, ecx
inc ecx
add ecx, dword [esp + eax*4 + 0xa0]
xor eax, eax
cmp ecx, 0x3e1f
setl al
sub eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
setne dl
add eax, dword [esp + 0x10]
xor ecx, ecx
inc edx
cmp eax, edx
setl cl
mov dword [esp + 0x44], ecx
dec dword [esp + 0x34]
dec dword [esp + 0x10]
jns 0x1004923e
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jle 0x1004922c
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x2c], ebx
jl 0x100492f1
mov dword [esp + 0x28], 0x6995e148
inc dword [esp + 0x28]
jne 0x100492f1
dec dword [esp + 0x2c]
jns 0x100492cb
jmp 0x100492f1
mov dword [esp + 0x24], 2
mov dword [esp + 0x24], 0x1edbcc77
dec dword [esp + 0x1c]
jns 0x10049137
dec dword [esp + 0x20]
cmp dword [esp + 0x20], 0xfffffff7
jge 0x100490ff
imul eax, dword [esp + 0x58], 0x2710
add eax, dword [esp + 0x88]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x2c], 0xfffffffb
mov dword [esp + 0x10], 0x6160cbeb
mov dword [esp + 0x24], 0xd28
cmp dword [esp + 0x1c], ebx
je 0x10049355
mov eax, dword [esp + 0x1c]
mov edx, edi
add eax, 7
cmp eax, dword [esp + 0x1c]
je 0x10049357
mov edx, ebx
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x2c], ebx
je 0x10049374
mov eax, edi
cmp dword [esp + 0x1c], ebx
jne 0x10049376
mov eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x1c]
je 0x100493d9
mov dword [esp + 0x28], 0x5fcb
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x1c], ebx
jne 0x100493ba
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
xor edx, edx
cmp eax, 0x65721867
mov eax, dword [esp + 0x28]
setge dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esp + 0x2c], ecx
jmp 0x100493e5
mov dword [esp + 0x28], 0x1f433c8a
dec dword [esp + 0x28]
lea eax, [esp + 0x9c]
push eax
call fcn.1004a64e
mov esi, dword [eax]
test esi, esi
je 0x10049866
mov dword [esp + 0x10], 0x7ddc85f7
push 0xfffffffffffffff6
pop eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x38], 0xfffffff8
mov dword [esp + 0x10], ebx
jmp 0x1004944c
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1a8], 4
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10049439
mov dword [esp + 0x10], ebx
jmp 0x10049624
mov dword [esp + 0x20], 0x8c3ad3b3
lea ecx, [esp + 0xbc]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], 0x279a20b2
push 4
call fcn.1000ebc1
mov dword [esp + 0x26c], 5
lea ecx, [esp + 0x110]
mov dword [esp + 0x30], 0xfffffff9
push 3
call fcn.1000ebc1
mov dword [esp + 0x1c], ebx
jmp 0x100494bb
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xbc]
mov dword [eax + ecx*4], 0x6364d64e
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 4
jl 0x100494a5
mov dword [esp + 0x1c], ebx
jmp 0x100494de
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x110]
mov dword [eax + ecx*4], 0x6ef6f0c3
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 3
jl 0x100494c8
mov dword [esp + 0x20], ebx
jmp 0x100495b6
mov dword [esp + 0x38], 7
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 4
mov dword [esp + 0x60], 0xda3c3d21
mov dword [esp + 0x1c], ebx
jmp 0x10049523
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x158], 0x4309642e
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
jl 0x10049510
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x1a8]
cmp dword [esp + 0x24], ebx
jne 0x1004953e
mov eax, dword [esp + 0x38]
inc dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xbc]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x20]
sub eax, 0x5b60
mov dword [esp + 0x1dc], eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x1a8]
cmp eax, dword [esp + 0x44]
jne 0x10049583
mov ecx, ebx
cmp dword [esp + 0x28], ebx
je 0x10049585
mov ecx, edi
xor eax, eax
cmp ecx, 0xd06de21e
sete al
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x100495b2
push ebx
push 0x1069
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetScrollInfo]
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jle 0x100494ee
cmp dword [esp + 0x110], 0
je 0x100495ec
push dword [esp + 0x110]
call fcn.10050ee7
pop ecx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
or dword [esp + 0x26c], 0xffffffff
cmp dword [esp + 0xbc], 0
je 0x10049620
push dword [esp + 0xbc]
call fcn.10050ee7
pop ecx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 8
jge 0x1004945c
push 2
mov dword [esp + 0x150], esi
lea ecx, [esp + 0x1a0]
pop esi
mov dword [esp + 0x28], 0xdf86
mov dword [esp + 0x10], 0x8f738f58
push esi
call fcn.1000ebc1
mov dword [esp + 0x26c], 6
mov dword [esp + 0x2c], 0xc7527853
mov dword [esp + 0x14], ebx
jmp 0x1004967f
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x50], 0x4a6847df
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x1004966f
mov dword [esp + 0x14], ebx
jmp 0x1004969b
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x3c], 0xfffffff6
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x1004968b
mov dword [esp + 0x14], ebx
jmp 0x100496bd
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x19c]
mov dword [eax + ecx*4], 7
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x100496a7
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x40], ebx
jl 0x10049779
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x15c]
push esi
call fcn.1000ebc1
mov dword [esp + 0x10], ebx
jmp 0x100496fe
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x15c]
mov dword [eax + ecx*4], 0xfffa
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x100496e8
mov eax, dword [esp + 0x40]
cmp dword [esp + eax*4 + 0x50], ebx
jne 0x1004973d
mov eax, dword [esp + 0x40]
mov eax, dword [esp + eax*4 + 0x50]
add eax, 0x4c03
jne 0x10049735
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + eax*4 + 0x50]
mov eax, dword [esp + 0x40]
mov dword [esp + eax*4 + 0x50], ecx
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x28], eax
push ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
call fcn.10050ee7
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
dec dword [esp + 0x44]
pop ecx
jns 0x100496d1
mov eax, dword [esp + 0x40]
xor edx, edx
mov esi, dword [esp + 0x19c]
cmp eax, dword [esi + 4]
mov eax, dword [esp + 0x40]
setg dl
xor ecx, ecx
cmp edx, eax
mov edx, dword [esp + 0x50]
mov eax, 0xe69ed994
setg cl
sub eax, ecx
sub edx, eax
mov eax, dword [esp + 0x50]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [esp + 0x3c]
setge cl
xor edx, edx
cmp ecx, 0x2e7c
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x40]
setle cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
cmp dword [esp + 0x24], eax
setle cl
xor edx, edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x19c]
add ecx, dword [eax]
mov eax, dword [esp + 0x40]
cmp ecx, eax
mov eax, dword [esp + 0x28]
setg dl
xor ecx, ecx
cmp edx, eax
setl cl
imul ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp ecx, 0xcd5c0f4f
sbb ecx, ecx
neg ecx
add eax, ecx
je 0x10049827
cmp dword [esp + 0x2c], ebx
jne 0x10049829
mov edi, ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
sub ecx, edi
push dword [esp + 0x19c]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [esi + 4]
imul eax, ecx
xor ecx, ecx
cmp eax, 0x7887b341
setle cl
mov dword [esp + 0x44], ecx
call fcn.10050ee7
pop ecx
jmp 0x1004a4dc
mov eax, dword [0x10af970c]
test al, 2
jne 0x10049908
or eax, 2
mov dword [0x10af970c], eax
push 7
pop esi
push ebx
mov dword [esp + 0x270], esi
push ebx
mov dword [0x10af9730], ebx
mov dword [0x10af9734], ebx
call fcn.100120a6
mov dword [0x10af9730], eax
mov dword [0x10af9738], ebx
mov dword [0x10af9740], ebx
mov byte [esp + 0x26c], 9
mov ecx, 0x10af9738
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x17c]
push eax
push 0x10
push ebx
lea eax, [esp + 0x184]
mov dword [0x10af974c], 0x3f800000
push eax
mov dword [0x10af973c], ebx
call fcn.10011e4a
push 0x1006bb27
mov dword [0x10af9744], esi
mov dword [0x10af9748], 8
call fcn.10050d4c
or dword [esp + 0x270], 0xffffffff
pop ecx
mov dword [esp + 0x14], 0x9bf39019
lea ecx, [esp + 0xf8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x6a5b5cf0
push 4
call fcn.1000ebc1
mov dword [esp + 0x10], ebx
jmp 0x10049946
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xf8]
mov dword [eax + ecx*4], 0x505c00d4
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10049930
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
imul edx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp edx, eax
setle cl
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
dec eax
sub eax, dword [esp + 0x14]
neg eax
sbb eax, eax
inc eax
cmp eax, dword [esp + 0x14]
je 0x1004998e
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp ecx, eax
setl dl
xor eax, eax
cmp edx, 0xe95a
setl al
imul eax, dword [esp + 0x14]
test eax, eax
je 0x100499ce
mov eax, edi
cmp dword [esp + 0x1c], ebx
jne 0x100499d0
mov eax, ebx
cmp eax, dword [esp + 0x14]
jne 0x100499de
mov ecx, ebx
cmp dword [esp + 0x20], ebx
je 0x100499e0
mov ecx, edi
mov eax, dword [esp + 0x14]
imul eax, ecx
xor ecx, ecx
cmp eax, 5
setg cl
cmp ecx, 0xdb5a26cd
je 0x10049aa2
mov dword [esp + 0x180], edi
mov dword [esp + 0x184], edi
mov dword [esp + 0x188], edi
mov dword [esp + 0x18c], edi
mov dword [esp + 0x30], 0xfffffff6
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x188], ebx
jne 0x10049a61
mov dword [esp + 0x30], ebx
mov ecx, 0xfffa
mov eax, dword [esp + 0x30]
mov edx, ebx
sub eax, dword [esp + 0x14]
neg eax
sbb eax, eax
inc eax
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp edx, eax
setl cl
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0xffffffff
setg dl
xor ecx, ecx
add edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, edx
setne cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov eax, dword [esp + 0x184]
cmp eax, 0xffffffff
setle cl
mov dword [esp + 0x1c], ecx
jmp 0x10049ac5
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049ac5
push 0x855
push ebx
push 0x1fa4
push 0x45d
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0x14], 0x1b
jmp 0x10049b17
mov dword [esp + 0x24], 0xfffe
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
jmp 0x10049b0c
mov dword [esp + 0x20], ebx
jmp 0x10049b01
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049afd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 3
jle 0x10049aeb
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xffffffee
jg 0x10049ae5
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffff9
jg 0x10049acf
cmp dword [esp + 0xf8], 0
je 0x10049b4a
push dword [esp + 0xf8]
call fcn.10050ee7
pop ecx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
lea eax, [esp + 0x58]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0x16c], xmm0
call fcn.1004a6b0
cmp byte [ebp + 0xc], 0
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
jne 0x10049b74
test esi, esi
jne 0x10049c88
mov dword [esp + 0x10], ebx
jmp 0x10049b8d
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x12c], 0xa8c6a53d
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10049b7a
mov dword [esp + 0x134], 0xfffffffb
jmp 0x10049c13
mov dword [esp + 0x20], 0xfffffff7
mov dword [esp + 0x20], ebx
jmp 0x10049bd8
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049bd4
push ebx
push ebx
push 0x145b
push ebx
push 0xbdf
push ebx
push 0x1b96
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 0x19
jle 0x10049baf
mov dword [esp + 0x20], ebx
jmp 0x10049c05
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049c01
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 0x1a
jle 0x10049be5
inc dword [esp + 0x134]
cmp dword [esp + 0x134], 0x13
jle 0x10049ba1
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049c39
push 0x14e2
push 0x114a
push ebx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov dl, byte [ebp + 0xc]
lea eax, [esp + 0x250]
mov ecx, dword [esp + 0x58]
push eax
call fcn.1003da0a
mov esi, eax
lea edi, [esp + 0x16c]
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 esi, dword [esp + 0x1c]
xor edi, edi
inc edi
cmp byte [ebp + 0xc], 0
je 0x10049c88
mov ecx, dword [esp + 0x170]
test ecx, ecx
je 0x10049c88
mov eax, dword [esp + 0x174]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
push 2
lea ecx, [esp + 0x80]
call fcn.1000ebc1
mov dword [esp + 0x1c], 0x9beb0647
mov dword [esp + 0x2c], 0x9ae77ab3
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], ebx
jmp 0x10049cc3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0xbca63185
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x10049cb0
mov dword [esp + 0x1c], ebx
jmp 0x10049d76
mov dword [esp + 0x10], ebx
jmp 0x10049cec
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x220], 0xfffffff9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10049cd9
mov dword [esp + 0x2c], 0xa624cdb8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ecx + edx*4]
sub ecx, eax
jne 0x10049d1a
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
xor edx, edx
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
setge dl
cmp edx, 0xe4cff15c
je 0x10049d56
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
cmp dword [eax + ecx*4], ebx
mov ecx, ebx
je 0x10049d58
mov ecx, edi
mov eax, 0x4d9e
sub eax, ecx
jne 0x10049d69
mov eax, ebx
cmp dword [esp + 0x30], ebx
je 0x10049d6b
mov eax, edi
mov dword [esp + 0x228], eax
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
jle 0x10049cd3
cmp dword [esp + 0x7c], 0
je 0x10049da3
push dword [esp + 0x7c]
call fcn.10050ee7
pop ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
test esi, esi
jne 0x1004a282
cmp dword [esp + 0x168], esi
jle 0x1004a282
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x104]
mov dword [esp + 0x24], 0xf951fe77
mov dword [esp + 0x24], 0x948708ef
push 3
call fcn.1000ebc1
mov dword [esp + 0x26c], 0xa
lea ecx, [esp + 0xec]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x24], 7
mov dword [esp + 0x24], 0xfffffff9
mov dword [esp + 0x24], edi
push edi
call fcn.1000ebc1
mov byte [esp + 0x26c], 0xb
lea ecx, [esp + 0xd4]
mov dword [esp + 0x24], 0x928694a2
push edi
call fcn.1000ebc1
push 3
mov dword [esp + 0x2c], 0xd0fe1f23
mov dword [esp + 0x18], ebx
pop edx
jmp 0x10049e47
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x244], edi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x10049e38
mov dword [esp + 0x14], ebx
jmp 0x10049e69
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x104]
mov dword [eax + ecx*4], 0x4210e164
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x10049e53
mov dword [esp + 0x14], ebx
jmp 0x10049e8b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xec]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10049e75
mov dword [esp + 0x14], ebx
jmp 0x10049ea9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xd4]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jl 0x10049e97
inc dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x2c], ebx
jl 0x10049ed6
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049ed0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
dec dword [esp + 0x2c]
jns 0x10049ebd
cmp dword [esp + 0xd4], 0
je 0x10049f02
push dword [esp + 0xd4]
call fcn.10050ee7
pop ecx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
cmp dword [esp + 0xec], 0
je 0x10049f2e
push dword [esp + 0xec]
call fcn.10050ee7
pop ecx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
or dword [esp + 0x26c], 0xffffffff
cmp dword [esp + 0x104], 0
je 0x10049f62
push dword [esp + 0x104]
call fcn.10050ee7
pop ecx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x10], ebx
jmp 0x10049f7b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1b0], 0xffffffff
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10049f68
mov dword [esp + 0x1b8], ebx
jmp 0x10049fbb
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10049fb4
push 0x12a0
push 0x11d7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
inc dword [esp + 0x1b8]
cmp dword [esp + 0x1b8], 0xb
jl 0x10049f8b
cmp dword [esp + 0x16c], 0
je 0x1004a282
push dword [esp + 0x178]
movdqa xmm0, xmmword [0x10008ae0]
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0x208]
mov dword [esp + 0x98], ebx
push eax
push ebx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa4], ebx
movdqu xmmword [esp + 0x210], xmm0
mov dword [esp + 0xa8], ebx
call fcn.10039f7d
mov dword [esp + 0x24], 0xe1b61bab
mov dword [esp + 0x38], 0x5e1abe8f
mov dword [esp + 0x10], ebx
jmp 0x1004a03f
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x4c], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1004a033
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x4c], 3
jg 0x1004a071
mov ebx, 0xffff
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x24], ebx
sbb eax, eax
inc eax
mov dword [esp + 0x38], eax
inc dword [esp + 0x4c]
cmp dword [esp + 0x4c], 3
jle 0x1004a055
xor ebx, ebx
cmp dword [esp + 0x90], 0
je 0x1004a09d
push dword [esp + 0x90]
call fcn.10050ee7
pop ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov ecx, dword [esp + 0x16c]
call fcn.1004895e
mov dword [esp + 0x14], 0x85299dad
mov esi, eax
mov dword [esp + 0x2c], 6
push 4
mov dword [esp + 0x28], 0xc5706b37
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
pop ecx
jmp 0x1004a0e3
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x1ec], 0xfffffffe
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ecx
jl 0x1004a0d0
mov dword [esp + 0x20], ebx
jmp 0x1004a102
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x8c], 0x1f3813bf
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jl 0x1004a0ef
mov dword [esp + 0x14], ebx
jmp 0x1004a121
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x1ec], 0x39beb064
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x1004a10e
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 5
jle 0x1004a276
lea ecx, [esp + 0x168]
call fcn.10044eb9
test esi, esi
je 0x1004a324
mov dword [esp + 0x10], edi
mov dword [esp + 0x10], 0x1c
jmp 0x1004a2f7
mov dword [esp + 0x24], ebx
or eax, 0xffffffff
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a2e4
push 0x7e9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x10]
mov dword [esp + 0x1c8], eax
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0x14
jle 0x1004a2a4
mov edx, dword [esp + 0x88]
mov ecx, esi
call fcn.10048985
mov esi, eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x150], esi
call fcn.1004a64e
mov dword [eax], esi
mov dword [esp + 0x24], 0x1b38
cmp dword [esp + 0x24], 0x859
jge 0x1004a433
lea eax, [esp + 0x48]
push eax
push 0x1000813c
call fcn.10050b5b
pop ecx
pop ecx
lea eax, [esp + 0x138]
mov dword [esp + 0x138], ebx
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x140]
add eax, eax
mov dword [esp + 0x140], ebx
push eax
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], ebx
call fcn.100185a0
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x13c]
cmp ecx, edi
jle 0x1004a3d3
mov ebx, edi
test bl, 1
je 0x1004a3b1
lea eax, [ebx + 1]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + ecx*4], ebx
mov dword [esi + eax*4], ebx
jmp 0x1004a3c8
mov eax, ebx
add ecx, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esi + ecx*4 - 4], ebx
add eax, dword [esp + 0x48]
mov dword [esi + eax*4 - 4], ebx
mov ecx, dword [esp + 0x48]
inc ebx
cmp ebx, ecx
jl 0x1004a393
xor ebx, ebx
mov dword [esi + ecx*8 - 4], ecx
mov ecx, dword [esp + 0x48]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test cl, 1
je 0x1004a3ec
mov dword [esi + eax*4], ecx
jmp 0x1004a3f2
add eax, ecx
mov dword [esi + eax*4 - 4], ecx
mov eax, dword [esp + 0x48]
add eax, eax
mov dword [esp + 0x24], ebx
test eax, eax
jle 0x1004a41c
push dword [esi + ebx*4]
push 0x10008328
call fcn.10050d76
mov eax, dword [esp + 0x50]
inc ebx
add eax, eax
pop ecx
pop ecx
cmp ebx, eax
jl 0x1004a400
xor ebx, ebx
push 0x100080a5
call fcn.10050eec
pop ecx
lea ecx, [esp + 0x13c]
call fcn.1000f7cf
mov dword [esp + 0x10], edi
mov dword [esp + 0x10], 0xffffffe7
jmp 0x1004a4d1
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x11c]
push 2
call fcn.1000ebc1
mov dword [esp + 0x20], ebx
jmp 0x1004a472
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x11c]
mov dword [eax + ecx*4], edi
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 2
jl 0x1004a460
cmp dword [esp + 0x24], ebx
jne 0x1004a487
mov ecx, ebx
cmp dword [esp + 0x10], ebx
je 0x1004a489
mov ecx, edi
mov eax, dword [esp + 0x11c]
mov dword [eax + 4], ecx
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1004a4ab
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [esp + 0x11c]
call fcn.10050ee7
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
inc dword [esp + 0x14]
pop ecx
cmp dword [esp + 0x10], 7
jge 0x1004a444
mov eax, dword [ebp + 8]
lea esi, [esp + 0x14c]
mov ecx, dword [esp + 0x264]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret