Function at 0x1004d66d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push esi
mov dword [ebp - 0x94], 0
jmp 0x1004d6a5
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
jge 0x1004d6c1
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x84], 0xfc558bac
jmp 0x1004d698
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
je 0x1004d6ed
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
je 0x1004d6ed
mov dword [ebp - 0x11c], 1
jmp 0x1004d6f4
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
jne 0x1004d710
mov dword [ebp - 0xb8], 1
jmp 0x1004d717
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0
jle 0x1004d72c
mov dword [ebp - 0x168], 1
jmp 0x1004d733
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x168]
jl 0x1004d74d
mov dword [ebp - 0xc0], 1
jmp 0x1004d754
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc0]
mov dword [ebp + eax - 0x84], ecx
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004d784
push 0
push 0x185c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jge 0x1004d7c1
mov dword [ebp - 0x118], 1
jmp 0x1004d7c8
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x8029
jle 0x1004d7e0
mov dword [ebp - 0xc8], 1
jmp 0x1004d7e7
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x14]
jl 0x1004d807
mov dword [ebp - 0x15c], 1
jmp 0x1004d80e
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x15c], eax
jge 0x1004d825
mov dword [ebp - 0xd0], 1
jmp 0x1004d82c
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xe4e91208
jne 0x1004d844
mov dword [ebp - 0x124], 1
jmp 0x1004d84b
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0xf09a2b44
jb 0x1004d863
mov dword [ebp - 0xd8], 1
jmp 0x1004d86a
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd8], eax
jl 0x1004d88b
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004d889
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x1004d8e7
mov dword [ebp - 0x4c], 0
jmp 0x1004d89b
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xfffffffc
jne 0x1004d8e7
mov dword [ebp - 0x18c], 0xfffffff8
mov dword [ebp - 0x14], 8
jmp 0x1004d8bb
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xe
jne 0x1004d8e5
mov dword [ebp - 0x14c], 1
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x18c], 0
je 0x1004d8e3
jmp 0x1004d8e5
jmp 0x1004d8b4
jmp 0x1004d894
mov dword [ebp - 0x9c], 0xfdf99ff6
mov dword [ebp - 0x218], 0x5bf25cbd
mov dword [ebp - 0x220], 0xfffffff7
mov dword [ebp - 0x228], 0xe673292c
mov dword [ebp - 0x64], 0
jmp 0x1004d91f
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x1004d935
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x28c], 0xfffffffe
jmp 0x1004d918
mov dword [ebp - 0x9c], 0
jmp 0x1004d94e
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xfffffffc
je 0x1004d9d0
mov dword [ebp - 0x230], 0x6444
mov dword [ebp - 0x238], 0xeb7161ab
push 1
lea ecx, [ebp - 0x250]
call fcn.10016dd3
and dword [ebp - 4], 0
mov dword [ebp - 0xe0], 0xd91e66c6
mov dword [ebp - 0x6c], 0
jmp 0x1004d996
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x1004d9af
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x250]
call fcn.10016e40
or dword [eax], 0xffffffff
jmp 0x1004d98f
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.10016e3b
jmp 0x1004d941
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004deda
push 3
lea ecx, [ebp - 0x1ec]
call fcn.10016dd3
mov dword [ebp - 4], 1
mov dword [ebp - 0x50], 0xfffffff7
mov dword [ebp - 0x240], 0xfffffff9
mov dword [ebp - 0x270], 0x22e974a5
mov dword [ebp - 0x204], 0xfffffffb
mov dword [ebp - 0x26c], 1
mov dword [ebp - 0x194], 0xfffffffe
mov dword [ebp - 0x74], 0xab46
mov dword [ebp - 0x19c], 0xfc37f20b
mov dword [ebp - 0x18], 0
jmp 0x1004da4a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004da66
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1ec]
call fcn.10016e40
mov dword [eax], 0xc204
jmp 0x1004da43
mov dword [ebp - 0x18], 0
jmp 0x1004da76
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004da8c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x184], 6
jmp 0x1004da6f
mov dword [ebp - 0x50], 2
jmp 0x1004da9c
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1004db02
mov dword [ebp - 0x8c], 0xfffffffb
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1004dac8
push 0x1455
push 0x18d2
call dword [sym.imp.USER32.dll_SetCaretPos]
mov dword [ebp - 0x8c], 0
jmp 0x1004dae1
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jg 0x1004db00
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004dafe
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x1004dad4
jmp 0x1004da95
cmp dword [ebp - 0x50], 0xdb5a
jne 0x1004db62
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x184], 0xffffffff
jb 0x1004db27
mov dword [ebp - 0x12c], 1
jmp 0x1004db2e
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0xcc33bab7
jae 0x1004db46
mov dword [ebp - 0xe8], 1
jmp 0x1004db4d
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 1
ja 0x1004db62
mov dword [ebp - 0x16c], 1
jmp 0x1004db69
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0xfffffffa
jne 0x1004db7e
mov dword [ebp - 0xf0], 1
jmp 0x1004db85
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0xf0]
sub eax, 0xb221
imul eax, eax, 0x9f36
cmp eax, 0xfb38
jl 0x1004dbb4
mov dword [ebp - 0x134], 1
jmp 0x1004dbbb
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0x134], eax
jge 0x1004dbd8
cmp dword [ebp - 0x74], 0
jne 0x1004dbd8
and dword [ebp - 0xf8], 0
jmp 0x1004dbe2
mov dword [ebp - 0xf8], 1
push 0
lea ecx, [ebp - 0x1ec]
call fcn.10016e40
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [eax]
jl 0x1004dc05
mov dword [ebp - 0x154], 1
jmp 0x1004dc0c
and dword [ebp - 0x154], 0
imul eax, dword [ebp - 0x154], 0x700d
mov dword [ebp - 0x19c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.10016e3b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x188], 0xbeaa
push 1
lea ecx, [ebp - 0x1f8]
call fcn.10016dd3
mov dword [ebp - 4], 2
mov dword [ebp - 0x20c], 0xf69f
mov dword [ebp - 0x98], 0
jmp 0x1004dc75
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1004dc97
push dword [ebp - 0x98]
lea ecx, [ebp - 0x1f8]
call fcn.10016e40
mov dword [eax], 0xb457102d
jmp 0x1004dc68
mov esi, dword [ebp - 0x188]
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10016e40
mov dword [eax], esi
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004dcbe
call dword [sym.imp.KERNEL32.dll_GetVersion]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.10016e3b
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x23c], 0xfffffffa
mov dword [ebp - 0x1c8], 0x822c
mov dword [ebp - 0x1c4], 0x822c
mov dword [ebp - 0x1c0], 0x822c
mov dword [ebp - 0x1bc], 0x822c
mov dword [ebp - 0x7c], 0xb
jmp 0x1004dd22
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffff
jge 0x1004dd94
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x1fc], 0x693e932
mov dword [ebp - 0x264], 0xfffffff8
mov dword [ebp - 0x21c], 0xa98815cb
mov dword [ebp - 0x58], 0
jmp 0x1004dd5d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jl 0x1004dd92
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1c8]
inc eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x1c8], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1c8], 0
je 0x1004dd90
jmp 0x1004dd92
jmp 0x1004dd56
jmp 0x1004dd1b
mov eax, dword [ebp - 0x1b4]
movzx eax, byte [eax]
test eax, eax
je 0x1004ded5
push 2
lea ecx, [ebp - 0x260]
call fcn.10016dd3
mov dword [ebp - 4], 3
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
jmp 0x1004ddd0
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x1004ddec
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x260]
call fcn.10016e40
mov dword [eax], 0x55bb2c21
jmp 0x1004ddc9
mov dword [ebp - 0x60], 0
jmp 0x1004ddfc
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jg 0x1004deb2
mov dword [ebp - 0x54], 0x5260417b
mov dword [ebp - 0x54], 1
jmp 0x1004de1d
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1004dea2
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x28], 0
jmp 0x1004de3a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x1004de5c
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004de5a
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
jmp 0x1004de33
mov dword [ebp - 0x28], 0
jmp 0x1004de6c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x1004de9d
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004de9b
push 0
push 0x2606
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
jmp 0x1004de65
jmp 0x1004de16
cmp dword [ebp - 0x54], 0
je 0x1004dead
jmp 0x1004ddf5
jmp 0x1004ddf5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.10016e3b
push 0x12e6
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1004e799
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x198], 0xfffffffc
mov dword [ebp - 0x68], 0
jmp 0x1004defb
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1004df11
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x1ac], 0xffffffff
jmp 0x1004def4
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004df33
push 0
push 0
push 0x1404
push 0xf59
push 0
call dword [sym.imp.USER32.dll_InsertMenuW]
mov dword [ebp - 0x3c], 2
jmp 0x1004df43
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1004e28c
mov dword [ebp - 0x34], 7
push 2
lea ecx, [ebp - 0x180]
call fcn.10016dd3
mov dword [ebp - 4], 4
mov dword [ebp - 0x70], 0
jmp 0x1004df78
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x1004df94
push dword [ebp - 0x70]
lea ecx, [ebp - 0x180]
call fcn.10016e40
mov dword [eax], 3
jmp 0x1004df71
mov dword [ebp - 0x34], 0
jmp 0x1004dfa4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x1004e278
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xa0], 4
mov dword [ebp - 0x1c], 0x34cb4417
mov dword [ebp - 0x24], 2
jmp 0x1004dfd6
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1004e0ff
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x1ac]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x34]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1ac]
cmp dword [ebp + eax*4 - 0x1ac], ecx
jg 0x1004e022
mov dword [ebp - 0x100], 1
jmp 0x1004e029
and dword [ebp - 0x100], 0
imul eax, dword [ebp - 0x3c], 0x38d9
mov dword [ebp - 0x13c], eax
push 1
lea ecx, [ebp - 0x180]
call fcn.10016e40
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x13c], eax
jl 0x1004e062
mov dword [ebp - 0x108], 1
jmp 0x1004e069
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x108]
jge 0x1004e080
mov dword [ebp - 0x164], 1
jmp 0x1004e087
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x164], eax
jl 0x1004e09e
mov dword [ebp - 0x110], 1
jmp 0x1004e0a5
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x2c512dc6
jg 0x1004e0bd
mov dword [ebp - 0x144], 1
jmp 0x1004e0c4
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x144]
je 0x1004e0e1
cmp dword [ebp - 0x34], 0
je 0x1004e0e1
mov dword [ebp - 0xb4], 1
jmp 0x1004e0e8
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
neg eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0x1ac], eax
jmp 0x1004dfcf
mov dword [ebp - 0x1c], 0
jmp 0x1004e10f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1004e273
cmp dword [ebp - 0x3c], 1
jne 0x1004e12b
mov dword [ebp - 0xbc], 1
jmp 0x1004e132
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x1004e157
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x180]
call fcn.10016e40
cmp dword [eax], 0
jne 0x1004e157
and dword [ebp - 0xc4], 0
jmp 0x1004e161
mov dword [ebp - 0xc4], 1
cmp dword [ebp - 0xc4], 0xfff8102e
jne 0x1004e179
mov dword [ebp - 0xcc], 1
jmp 0x1004e180
and dword [ebp - 0xcc], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x180]
call fcn.10016e40
mov esi, eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x180]
call fcn.10016e40
mov ecx, dword [ebp - 0xcc]
add ecx, dword [eax]
cmp dword [esi], ecx
jne 0x1004e1b6
mov dword [ebp - 0xd4], 1
jmp 0x1004e1bd
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd4], eax
jle 0x1004e1d4
mov dword [ebp - 0xdc], 1
jmp 0x1004e1db
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xdc], eax
jg 0x1004e1f2
mov dword [ebp - 0xe4], 1
jmp 0x1004e1f9
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xe4], eax
jl 0x1004e213
mov dword [ebp - 0xec], 1
jmp 0x1004e21a
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0
jae 0x1004e22f
mov dword [ebp - 0xf4], 1
jmp 0x1004e236
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1ac], 0xffffffff
cmp dword [ebp - 0xf4], 0xffffffff
jg 0x1004e25b
mov dword [ebp - 0xfc], 1
jmp 0x1004e262
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x198], eax
jmp 0x1004e108
jmp 0x1004df9d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.10016e3b
jmp 0x1004df3c
mov dword [ebp - 0x78], 0x4ec2e0cf
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x1004e2c6
push 0x23d0
push 0
push 0x21f8
push 0x6ae
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
mov dword [ebp - 0x78], 0
jmp 0x1004e2d6
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x19
jle 0x1004e2f0
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1004e2ee
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x1004e2cf
mov byte [ebp - 0x29], 0
push 2
lea ecx, [ebp - 0xb0]
call fcn.10016dd3
mov dword [ebp - 4], 5
mov dword [ebp - 0x10], 0
jmp 0x1004e318
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004e32e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1e0], 1
jmp 0x1004e311
mov dword [ebp - 0x10], 0
jmp 0x1004e33e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1004e35a
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb0]
call fcn.10016e40
mov dword [eax], 0xde19d29b
jmp 0x1004e337
mov dword [ebp - 0x10], 0
jmp 0x1004e36a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1004e380
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x280], 0xb5d1cb6a
jmp 0x1004e363
push 0
lea ecx, [ebp - 0xb0]
call fcn.10016e40
and dword [eax], 0
jmp 0x1004e3b6
push 0
lea ecx, [ebp - 0xb0]
call fcn.10016e40
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x104]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xb0]
call fcn.10016e40
cmp dword [eax], 2
jg 0x1004e435
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x80], 0
jmp 0x1004e3df
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jg 0x1004e430
mov dword [ebp - 0x88], 0xa07e4fc2
mov dword [ebp - 0x88], 0
jmp 0x1004e408
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jg 0x1004e42e
push 0
lea ecx, [ebp - 0xb0]
call fcn.10016e40
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1e0], 0
je 0x1004e42c
jmp 0x1004e42e
jmp 0x1004e3fb
jmp 0x1004e3d8
jmp 0x1004e392
push 0
lea ecx, [ebp - 0xb0]
call fcn.10016e40
cmp dword [eax], 0xfd43
jge 0x1004e456
mov dword [ebp - 0x10c], 1
jmp 0x1004e45d
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e0]
cmp eax, dword [ebp - 0x10c]
jge 0x1004e47e
mov dword [ebp - 0x1b0], 1
jmp 0x1004e485
and dword [ebp - 0x1b0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e0]
mov dword [ebp - 0x224], eax
mov eax, 0xff12
test eax, eax
jge 0x1004e4ad
mov dword [ebp - 0x114], 1
jmp 0x1004e4b4
and dword [ebp - 0x114], 0
push 1
lea ecx, [ebp - 0xb0]
call fcn.10016e40
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [eax]
jg 0x1004e4d7
mov dword [ebp - 0x120], 1
jmp 0x1004e4de
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 1
je 0x1004e4f3
mov dword [ebp - 0x128], 1
jmp 0x1004e4fa
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp + eax - 0x1e0]
mov dword [ebp - 0x130], ecx
push 1
lea ecx, [ebp - 0xb0]
call fcn.10016e40
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x130]
mov dword [ebp + eax - 0x280], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.10016e3b
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004e799
mov dword [ebp - 0x44], 0xffffffff
push 2
lea ecx, [ebp - 0x1d4]
call fcn.10016dd3
mov dword [ebp - 4], 6
mov dword [ebp - 0x138], 5
mov dword [ebp - 0x90], 0xbbd4856c
mov dword [ebp - 0x1b8], 0xb51f0ef2
mov dword [ebp - 0x20], 0
jmp 0x1004e59e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004e5ba
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1d4]
call fcn.10016e40
mov dword [eax], 0x43836745
jmp 0x1004e597
mov dword [ebp - 0x20], 0
jmp 0x1004e5ca
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004e5e0
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x174], 0xaf7b
jmp 0x1004e5c3
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x44], 0xb5411457
je 0x1004e5fe
mov dword [ebp - 0xa4], 1
jmp 0x1004e605
and dword [ebp - 0xa4], 0
push 1
lea ecx, [ebp - 0x1d4]
call fcn.10016e40
mov ecx, dword [ebp - 0xa4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 1
jb 0x1004e63b
mov dword [ebp - 0x140], 1
jmp 0x1004e642
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 1
jge 0x1004e657
mov dword [ebp - 0x148], 1
jmp 0x1004e65e
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x148], eax
je 0x1004e687
push 1
lea ecx, [ebp - 0x1d4]
call fcn.10016e40
cmp dword [eax], 0
je 0x1004e687
mov dword [ebp - 0x150], 1
jmp 0x1004e68e
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x150]
jl 0x1004e6a5
mov dword [ebp - 0x158], 1
jmp 0x1004e6ac
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x1004e6cf
xor eax, eax
inc eax
jne 0x1004e6cf
and dword [ebp - 0x160], 0
jmp 0x1004e6d9
mov dword [ebp - 0x160], 1
mov eax, dword [ebp - 0x160]
add eax, 7
je 0x1004e6f9
cmp dword [ebp - 0x90], 0
je 0x1004e6f9
mov dword [ebp - 0x1a0], 1
jmp 0x1004e700
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x22c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x174]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x234], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x174]
mov dword [ebp - 0x200], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x174]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x174]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1b8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.10016e3b
push 0x20af
push 0
push 0
push 0x26a3
push 0xa2b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret