Function at 0x10012dc1
Capabilities:
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f7a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push esi
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x70], 0
jmp 0x10012df7
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x10012e0d
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x1b0], 1
jmp 0x10012df0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0x1b0], ecx
mov dword [ebp - 0x4c], 0
jmp 0x10012e2d
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x1c
jg 0x10012e55
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10012e53
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
jmp 0x10012e26
mov dword [ebp - 0x238], 0x176b0f73
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10012e7a
push 0
push 0x1b
push 0x133
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x10012e95
push 0
push 0x1762
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x3c], 0xf4ed832c
mov dword [ebp - 0x7c], 0
jmp 0x10012ec4
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x10012eda
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x248], 0x30467731
jmp 0x10012ebd
cmp dword [ebp - 0x1c], 0
jne 0x1001305a
cmp dword [ebp - 0x1c], 0
je 0x10012f53
cmp dword [ebp - 0x1c], 0
je 0x10012f0e
mov eax, 0x6e5dc64f
test eax, eax
je 0x10012f0e
mov eax, 0x3cfcb8f
test eax, eax
je 0x10012f0e
mov dword [ebp - 0x128], 1
jmp 0x10012f15
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x128]
jne 0x10012f33
mov dword [ebp - 0x90], 1
jmp 0x10012f3a
and dword [ebp - 0x90], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0x248], ecx
mov eax, dword [ebp - 0x14c]
mov eax, 0xca925f32
test eax, eax
je 0x10012f78
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x248], 0
je 0x10012f78
mov dword [ebp - 0x160], 1
jmp 0x10012f7f
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x14c], eax
mov eax, 0xa0e40209
test eax, eax
jne 0x10012fa6
cmp dword [ebp - 0x60], 0
je 0x10012fa6
mov dword [ebp - 0xbc], 1
jmp 0x10012fad
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xbc]
jne 0x10012fc4
mov dword [ebp - 0x154], 1
jmp 0x10012fcb
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 6
jbe 0x10012fe0
mov dword [ebp - 0xc4], 1
jmp 0x10012fe7
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xf71d6917
jb 0x10012fff
mov dword [ebp - 0x15c], 1
jmp 0x10013006
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x15c]
cmp eax, 0xfff9
jae 0x10013023
mov dword [ebp - 0xcc], 1
jmp 0x1001302a
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xcc], eax
jg 0x10013041
mov dword [ebp - 0x164], 1
jmp 0x10013048
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 1
jae 0x1001305a
and dword [ebp - 0xd4], 0
jmp 0x10013064
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd4], eax
jg 0x1001307b
mov dword [ebp - 0x16c], 1
jmp 0x10013082
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x16c]
sub eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jne 0x100130ba
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
jmp 0x1001311f
mov dword [ebp - 0x174], 0x760e0689
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x100130f0
push 0
push 0x1201
push 0x26b3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov dword [ebp - 0x3c], 0
jmp 0x10013100
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x1001311f
mov dword [ebp - 0x24c], 0xffffffff
mov eax, dword [ebp - 0x174]
inc eax
mov dword [ebp - 0x174], eax
jmp 0x100130f9
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x84], 3
mov dword [ebp - 0xa8], 0xddcef989
mov dword [ebp - 0x17c], 0xfffffff7
push 1
lea ecx, [ebp - 0x268]
call fcn.10012648
and dword [ebp - 4], 0
mov dword [ebp - 0x1dc], 0xa9683648
mov dword [ebp - 0x104], 0xb0ae28de
mov dword [ebp - 0x18c], 0xfffffff6
push 4
lea ecx, [ebp - 0x218]
call fcn.10012648
mov byte [ebp - 4], 1
mov dword [ebp - 0xfc], 6
mov dword [ebp - 0x14], 0
jmp 0x1001319e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100131ba
push dword [ebp - 0x14]
lea ecx, [ebp - 0x268]
call fcn.100126e6
mov dword [eax], 0x7ace
jmp 0x10013197
mov dword [ebp - 0x14], 0
jmp 0x100131ca
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x100131e0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x29c], 0x3d8c5378
jmp 0x100131c3
mov dword [ebp - 0x14], 0
jmp 0x100131f0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1001320c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x218]
call fcn.100126e6
mov dword [eax], 0xa907865e
jmp 0x100131e9
mov dword [ebp - 0x14], 0
jmp 0x1001321c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10013232
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x258], 5
jmp 0x10013215
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x17c], 0
je 0x1001325c
cmp dword [ebp - 0x84], 0
je 0x1001325c
mov dword [ebp - 0xe4], 1
jmp 0x10013263
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x258]
cmp dword [ebp - 0xe4], eax
jg 0x1001328d
cmp dword [ebp - 0x17c], 0
je 0x1001328d
mov dword [ebp - 0xec], 1
jmp 0x10013294
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0xec], eax
jge 0x100132ae
mov dword [ebp - 0x184], 1
jmp 0x100132b5
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0xb650
jne 0x100132cd
mov dword [ebp - 0x1e0], 1
jmp 0x100132d4
and dword [ebp - 0x1e0], 0
mov eax, 0xd2ce6c1c
cmp eax, 0x5a1448af
je 0x100132ec
mov dword [ebp - 0xf4], 1
jmp 0x100132f3
and dword [ebp - 0xf4], 0
push 1
lea ecx, [ebp - 0x218]
call fcn.100126e6
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xac]
mov edx, dword [edx]
dec edx
mov esi, dword [ebp - 0xac]
mov dword [esi], edx
cmp eax, ecx
jl 0x1001333e
cmp dword [ebp - 0xa8], 0
je 0x1001333e
mov dword [ebp - 0x98], 1
jmp 0x10013345
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x258], ecx
mov eax, dword [ebp - 0x98]
add eax, 0x3632cac2
cmp dword [ebp - 0x84], eax
jl 0x10013377
mov dword [ebp - 0x1d8], 1
jmp 0x1001337e
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0xa8]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x29c]
cmp dword [ebp - 0x84], eax
jle 0x100133bd
mov dword [ebp - 0x1bc], 1
jmp 0x100133c4
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], eax
jl 0x100133ea
mov dword [ebp - 0xa0], 1
jmp 0x100133f1
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xa0]
mov dword [ebp + eax - 0x29c], ecx
cmp dword [ebp - 0xa0], 0
je 0x10013422
cmp dword [ebp - 0xfc], 0
je 0x10013422
mov dword [ebp - 0x194], 1
jmp 0x10013429
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.100126ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.100126ca
mov dword [ebp - 0x8c], 0
jmp 0x1001346c
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x10013488
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x1c4], 1
jmp 0x1001345f
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0x1c4], ecx
mov dword [ebp - 0x20], 0x5121ac48
mov dword [ebp - 0x78], 0x83674579
push 4
lea ecx, [ebp - 0x1f0]
call fcn.10012648
mov dword [ebp - 4], 2
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x80], 0
jmp 0x100134d4
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 4
jge 0x100134f0
push dword [ebp - 0x80]
lea ecx, [ebp - 0x1f0]
call fcn.100126e6
mov dword [eax], 0x7bdd4840
jmp 0x100134cd
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x10013517
push 0x1a78
push 0
push 0x1065
push 0
push 0x4d9
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp dword [ebp - 0x20], 0xffffffff
jle 0x10013529
mov dword [ebp - 0x19c], 1
jmp 0x10013530
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x20]
cmp eax, 0x1311e2db
je 0x1001354f
mov dword [ebp - 0x10c], 1
jmp 0x10013556
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x78]
jge 0x10013573
mov dword [ebp - 0x1f4], 1
jmp 0x1001357a
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x224], eax
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
sub edx, 0x3a80c632
sub ecx, edx
sub eax, ecx
imul esi, eax
push 3
lea ecx, [ebp - 0x1f0]
call fcn.100126e6
cmp esi, dword [eax]
jl 0x100135b9
mov dword [ebp - 0x1a4], 1
jmp 0x100135c0
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x20], eax
jge 0x100135dd
mov dword [ebp - 0x1ac], 1
jmp 0x100135e4
and dword [ebp - 0x1ac], 0
push 3
lea ecx, [ebp - 0x1f0]
call fcn.100126e6
mov ecx, dword [ebp - 0x1ac]
cmp ecx, dword [eax]
jne 0x10013607
mov dword [ebp - 0x118], 1
jmp 0x1001360e
and dword [ebp - 0x118], 0
push 3
lea ecx, [ebp - 0x1f0]
call fcn.100126e6
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [eax]
jg 0x10013631
mov dword [ebp - 0x188], 1
jmp 0x10013638
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1cc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.100126ca
mov dword [ebp - 0x50], 0
jmp 0x10013663
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x1c
jg 0x10013e9c
mov dword [ebp - 0x88], 0xe60f951f
mov dword [ebp - 0x120], 0xfffffffc
push 4
lea ecx, [ebp - 0x200]
call fcn.10012648
mov dword [ebp - 4], 3
push 2
lea ecx, [ebp - 0x20c]
call fcn.10012648
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], 0x2aff6358
mov dword [ebp - 0x44], 0x6d0c11e0
mov dword [ebp - 0x18], 0
jmp 0x100136c4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100136da
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x278], 0xd203
jmp 0x100136bd
mov dword [ebp - 0x18], 0
jmp 0x100136ea
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10013706
push dword [ebp - 0x18]
lea ecx, [ebp - 0x200]
call fcn.100126e6
mov dword [eax], 0x14f4e797
jmp 0x100136e3
mov dword [ebp - 0x18], 0
jmp 0x10013716
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10013732
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20c]
call fcn.100126e6
mov dword [eax], 0x6cc9ca31
jmp 0x1001370f
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x88], eax
jg 0x1001374c
mov dword [ebp - 0x138], 1
jmp 0x10013753
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x120], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x278]
add eax, 0x1af7
mov dword [ebp - 0x168], eax
push 1
lea ecx, [ebp - 0x200]
call fcn.100126e6
mov ecx, dword [ebp - 0x168]
mov dword [eax], ecx
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x168]
jl 0x100137a5
mov dword [ebp - 0xb0], 1
jmp 0x100137ac
and dword [ebp - 0xb0], 0
mov eax, 0x6b471dfd
sub eax, dword [ebp - 0xb0]
mov dword [ebp - 0x1a8], eax
push 1
lea ecx, [ebp - 0x20c]
call fcn.100126e6
mov ecx, dword [ebp - 0x1a8]
mov dword [eax], ecx
cmp dword [ebp - 0x1a8], 0x74e8
jne 0x100137ed
cmp dword [ebp - 0x34], 0
jne 0x100137ed
and dword [ebp - 0x130], 0
jmp 0x100137f7
mov dword [ebp - 0x130], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x278]
imul eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x88]
jl 0x1001381f
mov dword [ebp - 0x170], 1
jmp 0x10013826
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x170], eax
je 0x1001383d
mov dword [ebp - 0x190], 1
jmp 0x10013844
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x138]
add eax, dword [ebp - 0x190]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x44], 0
jmp 0x10013863
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x33
jg 0x1001391d
mov dword [ebp - 0x54], 0
jmp 0x1001387d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10013893
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x1b4], 0
jmp 0x10013876
mov dword [ebp - 0x34], 0
jmp 0x100138a3
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x10013918
mov dword [ebp - 0x94], 0xb7c39c9d
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1e4], eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x200]
call fcn.100126e6
mov eax, dword [eax]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [ebp - 0x1d4]
jle 0x100138fc
mov dword [ebp - 0x140], 1
jmp 0x10013903
and dword [ebp - 0x140], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax - 0x1b4], ecx
jmp 0x1001389c
jmp 0x1001385c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20c]
call fcn.100126ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.100126ca
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x9c], 0x3185
mov dword [ebp - 0x1b8], 0x647dc4b4
mov dword [ebp - 0x28c], 0xae97
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x1c0], 0x4a1d2daf
cmp dword [ebp - 0x9c], 0
je 0x10013992
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x1b8], eax
jmp 0x100139a6
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x100139a6
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x9c], 1
jl 0x100139bb
mov dword [ebp - 0x178], 1
jmp 0x100139c2
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1c0], eax
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x10013e97
mov dword [ebp - 0x10], 0x70ad
push 1
lea ecx, [ebp - 0x6c]
call fcn.10012648
mov dword [ebp - 4], 5
mov dword [ebp - 0x40], 0x334adc6f
mov dword [ebp - 0x74], 0
jmp 0x10013a09
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x10013a22
push dword [ebp - 0x74]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
mov dword [eax], 1
jmp 0x10013a02
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0
jmp 0x10013a39
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x10013e77
mov dword [ebp - 0xa4], 0xbb402848
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
cmp dword [eax], 0
je 0x10013a85
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x10013a80
push 0x26c
push 0x17db
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnableScrollBar]
jmp 0x10013c9c
mov dword [ebp - 0x24], 0x48af
mov dword [ebp - 0x1a0], 1
cmp dword [ebp - 0x10], 0
je 0x10013ab4
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10013ab2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x10013acb
mov dword [ebp - 0x148], 0xee6d058a
mov eax, dword [ebp - 0x148]
dec eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x24], 0
jmp 0x10013adb
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10013c9c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
imul eax, dword [eax], 0xfffffff9
mov dword [ebp - 0x1a0], eax
mov esi, dword [ebp - 0x1a0]
sub esi, dword [ebp - 0x24]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
sub esi, dword [eax]
test esi, esi
jg 0x10013b21
or eax, 0xffffffff
jne 0x10013b21
and dword [ebp - 0x1c8], 0
jmp 0x10013b2b
mov dword [ebp - 0x1c8], 1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jge 0x10013b48
mov dword [ebp - 0x150], 1
jmp 0x10013b4f
and dword [ebp - 0x150], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x150]
cmp dword [eax], ecx
jge 0x10013b73
mov dword [ebp - 0x180], 1
jmp 0x10013b7a
and dword [ebp - 0x180], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
mov esi, dword [ebp - 0x180]
sub esi, dword [eax]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
cmp esi, dword [eax]
jne 0x10013ba8
mov dword [ebp - 0x158], 1
jmp 0x10013baf
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0xd743ccc
jne 0x10013bc7
mov dword [ebp - 0x198], 1
jmp 0x10013bce
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x10], 0
jne 0x10013bec
cmp dword [ebp - 0x40], 0
jne 0x10013bec
and dword [ebp - 0x110], 0
jmp 0x10013bf6
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x110], eax
jle 0x10013c0d
mov dword [ebp - 0x114], 1
jmp 0x10013c14
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0xc3da550e
jb 0x10013c2c
mov dword [ebp - 0x11c], 1
jmp 0x10013c33
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 5
ja 0x10013c48
mov dword [ebp - 0x124], 1
jmp 0x10013c4f
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x124], eax
jle 0x10013c66
mov dword [ebp - 0x12c], 1
jmp 0x10013c6d
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x12c], eax
jle 0x10013c84
mov dword [ebp - 0x134], 1
jmp 0x10013c8b
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xa4], eax
jmp 0x10013ad4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
cmp dword [eax], 0
jne 0x10013cc3
mov dword [ebp - 0x13c], 1
jmp 0x10013cca
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x13c], eax
jne 0x10013ce1
mov dword [ebp - 0x144], 1
jmp 0x10013ce8
and dword [ebp - 0x144], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [eax]
jle 0x10013d09
mov dword [ebp - 0xb4], 1
jmp 0x10013d10
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
neg eax
jne 0x10013d2c
mov eax, 0xe5f8f0b5
test eax, eax
jne 0x10013d2c
and dword [ebp - 0xb8], 0
jmp 0x10013d36
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xb8], eax
jl 0x10013d4d
mov dword [ebp - 0xc0], 1
jmp 0x10013d54
and dword [ebp - 0xc0], 0
push 0
lea ecx, [ebp - 0x6c]
call fcn.100126e6
mov ecx, dword [ebp - 0xc0]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0x10]
jg 0x10013d77
mov dword [ebp - 0x1d0], 1
jmp 0x10013d7e
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x27c], eax
mov eax, 0x1d319d7f
test eax, eax
je 0x10013da5
mov eax, 0xea59f7c1
test eax, eax
je 0x10013da5
mov dword [ebp - 0xc8], 1
jmp 0x10013dac
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc8]
neg ecx
sub eax, ecx
cmp eax, 0xffffffff
jl 0x10013dca
mov dword [ebp - 0xd0], 1
jmp 0x10013dd1
and dword [ebp - 0xd0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [eax]
jle 0x10013df2
mov dword [ebp - 0xd8], 1
jmp 0x10013df9
and dword [ebp - 0xd8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.100126e6
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd8]
jle 0x10013e20
cmp dword [ebp - 0xa4], 0
jne 0x10013e20
and dword [ebp - 0xe0], 0
jmp 0x10013e2a
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xe0], eax
jl 0x10013e41
mov dword [ebp - 0xe8], 1
jmp 0x10013e48
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xe8]
jg 0x10013e62
mov dword [ebp - 0xf0], 1
jmp 0x10013e69
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x40], eax
jmp 0x10013a32
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.100126ca
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
jmp 0x1001365c
mov dword [ebp - 0x5c], 0x398
mov dword [ebp - 0xf8], 0x7f5ed9a9
mov dword [ebp - 0x48], 0
push 3
lea ecx, [ebp - 0x288]
call fcn.10012648
mov dword [ebp - 4], 6
mov dword [ebp - 0x58], 0
jmp 0x10013ed8
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x10013ef1
push dword [ebp - 0x58]
lea ecx, [ebp - 0x288]
call fcn.100126e6
and dword [eax], 0
jmp 0x10013ed1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0xf8], eax
jne 0x10013f23
mov dword [ebp - 0x100], 1
jmp 0x10013f2a
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0xffff
jae 0x10013f42
mov dword [ebp - 0x108], 1
jmp 0x10013f49
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x48], 0
jmp 0x10013f62
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x10013f96
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10013f94
push 0
push 0x1201
push 0x26b3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
jmp 0x10013f5b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.100126ca
push 0
push 0x1201
push 0x26b3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret