Function at 0x1002dcef
Capabilities:
Accept command line arguments
Create pipe
Enumerate files on windows
Get common file path
Get file attributes
Parse pe header
Query environment variable
Terminate process

Disassembly:
mov eax, 0x100797d6
call fcn.100780f0
mov eax, 0x1274
call fcn.100748a0
push ebx
push esi
push edi
mov dword [ebp - 0x54], 0x69fdf99f
mov ebx, 0xe08a1101
mov dword [ebp - 0x38], ebx
mov edi, 0x933bd3e0
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
push 1
mov byte [ebp - 0x69], dl
mov dword [ebp - 0x60], ecx
pop esi
jne 0x1002de4a
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0xa44]
mov dword [ebp - 0x58], 0xe0d1
mov dword [ebp - 0x5c], 0x8f27142b
push 2
call fcn.1001627b
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
jmp 0x1002dd74
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa44]
call fcn.100162f3
mov dword [eax], 0x1bd4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002dd5d
mov dword [ebp - 0x50], 0xfffffff0
jmp 0x1002ddee
mov dword [ebp - 0x18], 0xbfb3a4d
xor ecx, ecx
mov dword [ebp - 0x5c], 0xa80278ee
mov dword [ebp - 0x18], 0x1d91
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
sub edx, 0xa
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
cmp edx, eax
mov eax, dword [ebp - 0x38]
setle cl
sub eax, ecx
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0x4f943af7
mov eax, dword [ebp - 0x5c]
setle dl
sub edx, 0xa1c3
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, esi
setg al
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], esi
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 6
jge 0x1002dd83
xor eax, eax
lea ecx, [ebp - 0xa44]
push eax
call fcn.100162f3
inc dword [eax]
jne 0x1002de0a
mov edx, esi
jmp 0x1002de0e
xor eax, eax
mov edx, eax
mov eax, dword [ebp - 0x50]
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, dword [ebp - 0x54]
jne 0x1002de24
xor eax, eax
cmp dword [ebp - 0x18], eax
je 0x1002de26
mov eax, esi
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xa44]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0x10
push 0
pop eax
je 0x1002dd35
mov dword [ebp - 0x54], 0x69fdf99f
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
push 2
pop edi
jne 0x1002df7a
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x9c0]
mov dword [ebp - 0x58], 0xe0d1
mov dword [ebp - 0x5c], 0x8f27142b
push edi
call fcn.1001627b
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], eax
jmp 0x1002dea5
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x9c0]
call fcn.100162f3
mov dword [eax], 0x1bd4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1002de8e
mov dword [ebp - 0x50], 0xfffffff0
jmp 0x1002df1e
mov dword [ebp - 0x18], 0xbfb3a4d
xor ecx, ecx
mov dword [ebp - 0x5c], 0xa80278ee
mov dword [ebp - 0x18], 0x1d91
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
sub edx, 0xa
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
cmp edx, eax
mov eax, dword [ebp - 0x38]
setle cl
sub eax, ecx
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0x4f943af7
mov eax, dword [ebp - 0x5c]
setle dl
sub edx, 0xa1c3
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, esi
setg al
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], esi
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 6
jge 0x1002deb3
xor eax, eax
lea ecx, [ebp - 0x9c0]
push eax
call fcn.100162f3
inc dword [eax]
jne 0x1002df3a
mov edx, esi
jmp 0x1002df3e
xor eax, eax
mov edx, eax
mov eax, dword [ebp - 0x50]
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, dword [ebp - 0x54]
jne 0x1002df54
xor eax, eax
cmp dword [ebp - 0x18], eax
je 0x1002df56
mov eax, esi
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x9c0]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0x10
push 0
pop eax
je 0x1002de67
mov ecx, 0x3556
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0xecc]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x34], 0xb905d09e
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0xfffffffb
mov dword [ebp - 0x34], 0xfffffffd
mov dword [ebp - 0x34], eax
push edi
call fcn.1001627b
mov dword [ebp - 4], edi
xor eax, eax
mov dword [ebp - 0x18], 0xdc0e3e76
mov dword [ebp - 0x1c], eax
jmp 0x1002dfda
push dword [ebp - 0x1c]
call fcn.100162f3
mov dword [eax], 0x9ce456
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0xecc]
cmp dword [ebp - 0x1c], edi
jl 0x1002dfc9
dec dword [ebp - 0x18]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
mov edx, 0x69fdf99f
xor eax, eax
mov dword [ebp - 0x54], edx
push 3
mov dword [ebp - 0x14], eax
pop ecx
cmp dword [ebp - 0x14], ecx
jge 0x1002e01c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x6dc], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1002e008
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ecx
jge 0x1002e03c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x122c], 0xffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1002e024
xor eax, eax
mov dword [ebp - 0x6d4], 0xffffffeb
jmp 0x1002e06a
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e064
push 0x20ca
push 0x20c9
push eax
call dword [sym.imp.USER32.dll_RemoveMenu]
xor eax, eax
inc dword [ebp - 0x6d4]
cmp dword [ebp - 0x6d4], 5
jg 0x1002e048
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, 0xcf865116
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], 0xfffffffa
mov dword [ebp - 0xcb4], ecx
mov dword [ebp - 0xcb0], ecx
mov dword [ebp - 0xcac], ecx
mov dword [ebp - 0xca8], ecx
mov dword [ebp - 0x18], 0x495e0e2b
cmp dword [ebp - 0x54], eax
je 0x1002e1c3
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x894]
push 2
call fcn.1001627b
xor eax, eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002e0f1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x894]
call fcn.100162f3
mov dword [eax], 0x4b748abb
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002e0d2
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x1002e1a4
or ecx, 0xffffffff
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0xa43b2b74
mov dword [ebp - 0x58], 0x2ba8d7d2
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e122
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_ValidateRgn]
xor eax, eax
cmp dword [ebp - 0x24], eax
je 0x1002e181
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [ebp - 0x1c], eax
je 0x1002e15e
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
imul eax, dword [ebp - 0x1c], 0xffff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xca8], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x894]
call fcn.100162f3
push esi
lea ecx, [ebp - 0x894]
call fcn.100162f3
cmp dword [eax], 0
je 0x1002e17f
mov edx, esi
jmp 0x1002e183
xor eax, eax
mov edx, eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, edx
push 0
setle cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x54]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x58], eax
inc dword [ebp - 0x54]
pop eax
cmp dword [ebp - 0x54], 0x36
jle 0x1002e0f9
or eax, 0xffffffff
lea ecx, [ebp - 0x894]
mov dword [ebp - 4], eax
call fcn.100162d7
xor eax, eax
jmp 0x1002e1cd
mov dword [ebp - 0x18], 0xffff
dec dword [ebp - 0x18]
mov dword [ebp - 0x3c], 0x933bd3e0
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002e1fd
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xf38], 0x871c7bf0
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002e1e4
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e210
push eax
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov eax, dword [ebp - 0x58]
mov ebx, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xf38], eax
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jne 0x1002e597
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x38], 0xe0d1
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x18], 0x16db6d03
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002e278
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xda4], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1002e263
xor eax, eax
mov dword [ebp - 0x338], eax
jmp 0x1002e2c0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1002e2ba
mov eax, dword [ebp - 0x338]
mov eax, dword [ebp + eax*4 - 0xda4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x338]
mov eax, dword [ebp + eax*4 - 0xda4]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jle 0x1002e28c
xor eax, eax
inc dword [ebp - 0x338]
cmp dword [ebp - 0x338], 2
jle 0x1002e280
mov dword [ebp - 0x18], 8
lea ecx, [ebp - 0xb28]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x58], 0x8f27142b
mov dword [ebp - 0x14], 0xf6af1124
push 2
call fcn.1001627b
push 4
pop eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x58], 0xdfc3e8ce
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002e32b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xb28]
call fcn.100162f3
mov dword [eax], 0x665969a2
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002e30c
xor eax, eax
mov dword [ebp - 0x14], 0xffffffe2
cmp dword [ebp - 0x14], 3
jge 0x1002e40b
mov dword [ebp - 0x18], 0x3d78
mov dword [ebp - 0x1c], 0xd3ec93cc
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e38a
push 0x3ec
push 0x2173
push 0x17ed
call edi
push eax
call ebx
push eax
push 0x187e
push 0x15a9
push 0x14f9
push 0x2260
call edi
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
xor eax, eax
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0xb28]
push eax
call fcn.100162f3
xor ecx, ecx
push 0
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
cmp esi, eax
setl cl
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 6
mov eax, 0xc25fcc58
setne cl
cmp eax, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
sbb esi, esi
neg esi
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setl dl
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
imul esi, edx
cmp eax, esi
mov eax, dword [ebp - 0x14]
setg cl
xor edx, edx
imul ecx, ecx, 0xa0b3
cmp ecx, eax
pop eax
setg dl
mov dword [ebp - 0x58], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1002e33c
xor esi, esi
inc esi
or eax, 0xffffffff
lea ecx, [ebp - 0xb28]
mov dword [ebp - 4], eax
call fcn.100162d7
push 2
lea ecx, [ebp - 0x9d8]
call fcn.1001627b
mov dword [ebp - 4], 5
xor eax, eax
mov dword [ebp - 0x24], 0x7ddc85f7
mov dword [ebp - 0x1c], 0xfb770a77
mov dword [ebp - 0x24], eax
jmp 0x1002e49f
mov dword [ebp - 0x28], 9
mov dword [ebp - 0x28], 6
jmp 0x1002e496
mov dword [ebp - 0x18], 0x11d962ee
dec dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0xffffffe4
jmp 0x1002e48d
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e48a
push eax
push 0x254c
push 0x3cf
call edi
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
xor eax, eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe6
jge 0x1002e468
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xffffffe4
jle 0x1002e455
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x14
jle 0x1002e445
mov dword [ebp - 0x1c], eax
jmp 0x1002e4c1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x9d8]
call fcn.100162f3
mov dword [eax], 0x1bd4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002e4aa
mov dword [ebp - 0x50], 0xfffffff0
jmp 0x1002e53b
mov dword [ebp - 0x18], 0xbfb3a4d
xor ecx, ecx
mov dword [ebp - 0x58], 0xa80278ee
mov dword [ebp - 0x18], 0x1d91
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x38]
sub edx, 0xa
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
cmp edx, eax
mov eax, dword [ebp - 0x5c]
setle cl
sub eax, ecx
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0x4f943af7
mov eax, dword [ebp - 0x58]
setle dl
sub edx, 0xa1c3
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, esi
setg al
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], esi
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], 6
jge 0x1002e4d0
xor eax, eax
lea ecx, [ebp - 0x9d8]
push eax
call fcn.100162f3
inc dword [eax]
jne 0x1002e557
mov edx, esi
jmp 0x1002e55b
xor eax, eax
mov edx, eax
mov eax, dword [ebp - 0x50]
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, dword [ebp - 0x54]
jne 0x1002e571
xor eax, eax
cmp dword [ebp - 0x3c], eax
je 0x1002e573
mov eax, esi
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x9d8]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0x10
push 0
pop eax
je 0x1002e22e
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002e5b9
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1dc], 0x68ec0ae9
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002e5a0
xor eax, eax
mov dword [ebp - 0x1dc], eax
jmp 0x1002e617
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e600
push 0x5d7
push 0x1c97
push 0xa61
push 0x18d8
push 0x2187
push 0xa8
push 0x692
push 0x599
call edi
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_Arc]
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e611
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor eax, eax
dec dword [ebp - 0x1dc]
cmp dword [ebp - 0x1dc], 0xffffffe3
jg 0x1002e5c1
mov ecx, dword [ebp - 0x1dc]
xor eax, eax
add ecx, 0x1fc9a572
cmp ecx, esi
setl al
mov dword [ebp - 0x1dc], eax
xor eax, eax
mov dword [ebp - 0x28], 0x69fdf99f
mov dword [ebp - 0x28], 0x1713b910
mov dword [ebp - 0x3c], 0x4db
mov dword [ebp - 0x1c], eax
jmp 0x1002e666
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xe84], 0xfffffffe
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002e655
push 9
mov dword [ebp - 0x28], 0xffffffe2
pop eax
cmp dword [ebp - 0x28], eax
jg 0x1002e774
push 4
pop eax
push eax
lea ecx, [ebp - 0x310]
call fcn.1001627b
mov dword [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
jmp 0x1002e6ac
push dword [ebp - 0x1c]
call fcn.100162f3
mov dword [eax], esi
inc dword [ebp - 0x1c]
push 4
pop eax
lea ecx, [ebp - 0x310]
cmp dword [ebp - 0x1c], eax
jl 0x1002e69f
push 2
pop esi
push esi
call fcn.100162f3
mov dword [eax], 0x18
jmp 0x1002e70a
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002e6e4
push eax
call edi
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002e6fc
push eax
push 0x3bc
call edi
push eax
call dword [sym.imp.USER32.dll_GetScrollInfo]
push esi
lea ecx, [ebp - 0x310]
call fcn.100162f3
dec dword [eax]
push esi
lea ecx, [ebp - 0x310]
call fcn.100162f3
cmp dword [eax], 0xffffffe2
jle 0x1002e6cb
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x310]
mov eax, dword [ebp - 0x18]
push esi
call fcn.100162f3
push 2
lea ecx, [ebp - 0x310]
mov esi, eax
call fcn.100162f3
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
xor eax, eax
mov dword [esi], ecx
mov dword [ebp - 0xe84], eax
lea ecx, [ebp - 0x310]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
inc dword [ebp - 0x28]
push 9
pop eax
push 1
pop esi
cmp dword [ebp - 0x28], eax
jle 0x1002e67f
mov dword [ebp - 0x4c], 0xe08a1101
xor eax, eax
mov dword [ebp - 0x20], 0xc4b4e126
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 0x54], 0x582f80c3
mov dword [ebp - 0x58], 0x1efc39fa
mov dword [ebp - 0x1c], eax
jmp 0x1002e7af
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xa4], 0x3f30b91e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1002e79e
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp eax, esi
setle cl
imul ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x1002e7d2
xor eax, eax
mov ecx, eax
cmp dword [ebp - 0x20], eax
je 0x1002e7d4
mov ecx, esi
dec dword [ebp - 0x54]
xor eax, eax
cmp ecx, 0x132d7af2
setne al
xor edx, edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setg dl
xor ecx, ecx
cmp eax, edx
setge cl
xor edx, edx
cmp ecx, 0x4ca7
setle dl
xor ecx, ecx
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp edx, eax
mov eax, 0x13bf58aa
setne cl
xor edx, edx
sub eax, ecx
add eax, dword [ebp - 0x20]
cmp eax, 0xfffffffb
mov eax, dword [ebp - 0x20]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], eax
je 0x1002e8a3
mov ecx, dword [ebp - 0xa4]
xor edx, edx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
setl dl
cmp edx, 0x56a759f3
jg 0x1002e85b
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x54]
cmp ecx, eax
setle dl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa4]
imul eax, dword [ebp - 0x20], 0x64a0
test eax, eax
je 0x1002e8a1
mov ecx, esi
jmp 0x1002e8a5
xor eax, eax
mov ecx, eax
mov eax, dword [ebp - 0x20]
sub ecx, eax
imul eax, ecx, 0x37d
xor ecx, ecx
cmp eax, 0x58b
mov eax, dword [ebp - 0xa4]
setge cl
xor edx, edx
cmp ecx, 0x1779538e
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x54]
setne cl
imul eax, dword [ebp - 0x20]
imul eax, ecx
test eax, eax
je 0x1002e8eb
xor eax, eax
cmp dword [ebp - 0x14], eax
je 0x1002e8ed
mov eax, esi
jmp 0x1002e8ed
xor eax, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x3c], 0x933bd3e0
mov dword [ebp - 0x2c], 0x6a53
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], esi
jge 0x1002e91d
push 4
pop ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x5cc], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1002e90b
inc dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x13
jmp 0x1002ea5d
mov dword [ebp - 0x1c], 0x288a137b
lea ecx, [ebp - 0x8ac]
push 3
call fcn.1001627b
push 7
pop eax
mov dword [ebp - 4], eax
xor eax, eax
push 4
mov dword [ebp - 0x14], eax
pop edx
cmp dword [ebp - 0x14], edx
jge 0x1002e96a
or ecx, 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xd14], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1002e956
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002e992
push dword [ebp - 0x14]
lea ecx, [ebp - 0x8ac]
call fcn.100162f3
mov dword [eax], 0x467b47e0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1002e973
xor eax, eax
mov dword [ebp - 0x1c], 0xfffffffe
cmp dword [ebp - 0x1c], 0xfffffffb
jl 0x1002ea40
or ecx, 0xffffffff
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x40], 3
cmp dword [ebp - 0x40], eax
jl 0x1002ea33
mov dword [ebp - 0x54], 3
mov eax, dword [ebp - 0xd10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0xd14]
cmp dword [ebp - 0x54], eax
jg 0x1002e9e1
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0xd14]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x8ac]
push 2
mov eax, dword [ebp + eax*4 - 0xd14]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
call fcn.100162f3
or ecx, 0xffffffff
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x54], 2
cmp dword [ebp - 0x54], eax
jl 0x1002ea2c
push dword [ebp - 0x54]
lea ecx, [ebp - 0x8ac]
call fcn.100162f3
cmp dword [eax], 0
jne 0x1002ea29
dec dword [ebp - 0x54]
jns 0x1002ea11
or ecx, 0xffffffff
dec dword [ebp - 0x40]
jns 0x1002e9b5
xor eax, eax
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xfffffffb
jge 0x1002e9a6
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x8ac]
mov dword [ebp - 0x5cc], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x27
jge 0x1002e92c
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x10
jne 0x1002f508
jmp 0x1002ea7e
mov ebx, dword [sym.imp.USER32.dll_GetDC]
mov ecx, 0x3556
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
lea ecx, [ebp - 0xf84]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x34], 0xb905d09e
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0xfffffffb
mov dword [ebp - 0x34], 0xfffffffd
mov dword [ebp - 0x34], eax
push 2
call fcn.1001627b
mov dword [ebp - 4], 8
xor eax, eax
mov dword [ebp - 0x18], 0xdc0e3e76
mov dword [ebp - 0x1c], eax
jmp 0x1002eae3
push dword [ebp - 0x1c]
call fcn.100162f3
mov dword [eax], 0x9ce456
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
lea ecx, [ebp - 0xf84]
jl 0x1002ead2
dec dword [ebp - 0x18]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
xor eax, eax
mov dword [ebp - 0x30], eax
push 3
mov dword [ebp - 0x14], eax
pop ecx
cmp dword [ebp - 0x14], ecx
jge 0x1002eb25
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x614], 0x69fdf99f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1002eb0d
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ecx
jge 0x1002eb45
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1244], 0xffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1002eb2d
xor eax, eax
mov dword [ebp - 0x60c], 0xffffffeb
jmp 0x1002eb73
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002eb6d
push 0x20ca
push 0x20c9
push eax
call dword [sym.imp.USER32.dll_RemoveMenu]
xor eax, eax
inc dword [ebp - 0x60c]
cmp dword [ebp - 0x60c], 5
jg 0x1002eb51
mov dword [ebp - 0x50], 0xe0d1
mov ecx, 0xcf865116
mov dword [ebp - 0x54], 0xfffffffa
mov dword [ebp - 0xcd4], ecx
mov dword [ebp - 0xcd0], ecx
mov dword [ebp - 0xccc], ecx
mov dword [ebp - 0xcc8], ecx
mov dword [ebp - 0x18], 0x495e0e2b
cmp dword [ebp - 0x54], eax
je 0x1002ecc9
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x8c4]
push 2
call fcn.1001627b
push 9
pop eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002ebf7
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x8c4]
call fcn.100162f3
mov dword [eax], 0x4b748abb
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002ebd8
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x1002ecaa
or ecx, 0xffffffff
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0xa43b2b74
mov dword [ebp - 0x58], 0x2ba8d7d2
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002ec28
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_ValidateRgn]
xor eax, eax
cmp dword [ebp - 0x24], eax
je 0x1002ec87
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [ebp - 0x1c], eax
je 0x1002ec64
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
imul eax, dword [ebp - 0x1c], 0xffff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xcc8], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x8c4]
call fcn.100162f3
push esi
lea ecx, [ebp - 0x8c4]
call fcn.100162f3
cmp dword [eax], 0
je 0x1002ec85
mov edx, esi
jmp 0x1002ec89
xor eax, eax
mov edx, eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, edx
push 0
setle cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x54]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x58], eax
inc dword [ebp - 0x54]
pop eax
cmp dword [ebp - 0x54], 0x36
jle 0x1002ebff
or eax, 0xffffffff
lea ecx, [ebp - 0x8c4]
mov dword [ebp - 4], eax
call fcn.100162d7
xor eax, eax
jmp 0x1002ecd3
mov dword [ebp - 0x18], 0xffff
dec dword [ebp - 0x18]
push 4
mov dword [ebp - 0x58], 0x8f27142b
pop ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002ed02
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xe98], 0x871c7bf0
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002ece9
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002ed15
push eax
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x9f0]
mov dword [ebp - 0xe98], eax
push 2
call fcn.1001627b
mov dword [ebp - 4], 0xa
xor eax, eax
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x18], 0x16db6d03
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002ed74
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xdb4], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1002ed5f
xor eax, eax
push 2
mov dword [ebp - 0x354], eax
pop ecx
jmp 0x1002edbd
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ecx
jg 0x1002edb7
mov eax, dword [ebp - 0x354]
mov eax, dword [ebp + eax*4 - 0xdb4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x354]
mov eax, dword [ebp + eax*4 - 0xdb4]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ecx
jle 0x1002ed8a
xor eax, eax
inc dword [ebp - 0x354]
cmp dword [ebp - 0x354], ecx
jle 0x1002ed7f
mov dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x18]
push ecx
mov dword [ebp - 0x354], eax
lea ecx, [ebp - 0xc30]
mov dword [ebp - 0x14], 0xf6af1124
call fcn.1001627b
mov byte [ebp - 4], 0xb
xor eax, eax
mov dword [ebp - 0x58], 0xdfc3e8ce
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002ee1d
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xc30]
call fcn.100162f3
mov dword [eax], 0x665969a2
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002edfe
xor eax, eax
mov dword [ebp - 0x14], 0xffffffe2
cmp dword [ebp - 0x14], 3
jge 0x1002eefd
mov dword [ebp - 0x18], 0x3d78
mov dword [ebp - 0x1c], 0xd3ec93cc
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002ee7c
push 0x3ec
push 0x2173
push 0x17ed
call edi
push eax
call ebx
push eax
push 0x187e
push 0x15a9
push 0x14f9
push 0x2260
call edi
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
xor eax, eax
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0xc30]
push eax
call fcn.100162f3
xor ecx, ecx
push 0
mov dword [eax], esi
mov eax, dword [ebp - 0x18]
cmp esi, eax
setl cl
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 6
mov eax, 0xc25fcc58
setne cl
cmp eax, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
sbb esi, esi
neg esi
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setl dl
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
imul esi, edx
cmp eax, esi
mov eax, dword [ebp - 0x14]
setg cl
xor edx, edx
imul ecx, ecx, 0xa0b3
cmp ecx, eax
pop eax
setg dl
mov dword [ebp - 0x58], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1002ee2e
xor esi, esi
inc esi
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 0xa
call fcn.100162d7
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002ef36
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x9f0]
call fcn.100162f3
mov dword [eax], 0x1bd4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1002ef17
xor eax, eax
mov dword [ebp - 0x24], 0x7ddc85f7
mov dword [ebp - 0x1c], 0xfb770a77
mov dword [ebp - 0x24], eax
jmp 0x1002efa3
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x54], 6
jmp 0x1002ef9a
mov dword [ebp - 0x18], 0x11d962ee
dec dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0xffffffe4
jmp 0x1002ef91
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002ef8e
push eax
push 0x254c
push 0x3cf
call edi
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
xor eax, eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe6
jge 0x1002ef6c
dec dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0xffffffe4
jle 0x1002ef59
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x14
jle 0x1002ef49
mov dword [ebp - 0x30], 0xfffffff0
jmp 0x1002f2da
or eax, 0xffffffff
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x20], eax
push esi
call fcn.1001627b
mov byte [ebp - 4], 0xc
xor eax, eax
mov dword [ebp - 0x18], 0xe98c5348
mov dword [ebp - 0x5c], 0x907f7a79
mov dword [ebp - 0x1c], eax
jmp 0x1002effd
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x15c]
call fcn.100162f3
mov dword [eax], 0x9e68fc78
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1002efe6
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
setg dl
xor ecx, ecx
add edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
cmp edx, eax
setge cl
xor eax, eax
imul ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1002f02d
mov edx, esi
cmp dword [ebp - 0x48], eax
jne 0x1002f02f
mov edx, eax
mov eax, dword [ebp - 0x48]
xor ecx, ecx
cmp edx, eax
setg cl
xor edx, edx
imul ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x5ec35211
setge dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x15c]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
call fcn.100162f3
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jne 0x1002f086
xor eax, eax
cmp dword [ebp - 0x20], eax
je 0x1002f088
mov eax, esi
neg eax
je 0x1002f09a
xor eax, eax
lea ecx, [ebp - 0x15c]
push eax
call fcn.100162f3
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x15c]
xor eax, eax
push eax
call fcn.100162f3
xor ebx, ebx
lea ecx, [ebp - 0x15c]
cmp dword [eax], esi
setne bl
xor eax, eax
push eax
call fcn.100162f3
sub ebx, dword [eax]
mov eax, dword [ebp - 0x48]
add eax, ebx
je 0x1002f127
or ebx, 0xffffffff
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], 0x1c
jmp 0x1002f0fd
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002f0ea
push eax
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
setne dl
mov dword [ebp - 0x2c], edx
dec dword [ebp - 0x20]
xor eax, eax
cmp dword [ebp - 0x20], 0xfffffff3
je 0x1002f0d8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], esi
jge 0x1002f188
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x15c]
call fcn.100162f3
mov dword [eax], ebx
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], esi
jl 0x1002f10d
jmp 0x1002f186
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002f159
push eax
push 0xfbf
push 0x1a7f
push 0x1007
push 0xf9a
push 0x13ea
push 0x18bd
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], eax
jl 0x1002f186
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f181
push 0x218c
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
xor eax, eax
dec dword [ebp - 0x2c]
jns 0x1002f161
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], eax
jl 0x1002f260
push dword [ebp - 0x20]
lea ecx, [ebp - 0x15c]
call fcn.100162f3
cmp dword [eax], 0
jne 0x1002f257
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], eax
jg 0x1002f24e
jmp 0x1002f1bd
xor eax, eax
push eax
lea ecx, [ebp - 0x15c]
call fcn.100162f3
cmp dword [eax], 0
je 0x1002f1ef
push dword [ebp - 0x20]
lea ecx, [ebp - 0x15c]
call fcn.100162f3
mov ecx, dword [ebp - 0x18]
xor edx, edx
cmp ecx, dword [eax]
setle dl
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x15c]
call fcn.100162f3
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
push dword [ebp - 0x20]
cmp ecx, 0xfffffffe
lea ecx, [ebp - 0x15c]
setge bl
imul ebx, dword [eax]
call fcn.100162f3
push dword [ebp - 0x20]
lea ecx, [ebp - 0x15c]
mov edi, dword [eax]
sub edi, ebx
call fcn.100162f3
push dword [ebp - 0x48]
lea ecx, [ebp - 0x15c]
mov esi, dword [eax]
imul esi, edi
call fcn.100162f3
mov dword [eax], esi
xor eax, eax
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], eax
jle 0x1002f1bb
dec dword [ebp - 0x20]
jns 0x1002f194
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
xor esi, esi
inc esi
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xa
call fcn.100162d7
mov dword [ebp - 0x18], 0xbfb3a4d
xor ecx, ecx
mov dword [ebp - 0x58], 0xa80278ee
mov dword [ebp - 0x18], 0x1d91
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x50]
sub edx, 0xa
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
cmp edx, eax
mov eax, dword [ebp - 0x4c]
setle cl
sub eax, ecx
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0x4f943af7
mov eax, dword [ebp - 0x58]
setle dl
sub edx, 0xa1c3
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, esi
setg al
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], esi
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 6
jge 0x1002efb5
mov dword [ebp - 0x40], 0x3b26bdde
mov dword [ebp - 0x20], 0x609fa85f
mov dword [ebp - 0x1c], 0xfffffff6
mov dword [ebp - 0x54], 0xfffffffe
mov dword [ebp - 0x14], 0x9d5b611f
mov dword [ebp - 0x24], esi
push 9
mov dword [ebp - 0x58], 2
pop eax
mov dword [ebp - 0x38], 0x64a05a9e
mov dword [ebp - 0x40], eax
jmp 0x1002f467
or eax, 0xffffffff
xor edx, edx
push 5
pop ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
mov eax, dword [ebp - 0x20]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
add ecx, dword [ebp - 0x50]
jne 0x1002f357
xor eax, eax
mov ecx, eax
cmp dword [ebp - 0x50], eax
je 0x1002f359
mov ecx, esi
mov eax, dword [ebp - 0x40]
xor eax, eax
cmp ecx, esi
mov ecx, 0x93d0b548
setne al
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setle dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x50]
setle bl
xor ecx, ecx
cmp eax, 0xb772
setl cl
xor eax, eax
cmp ecx, ebx
setl al
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x40]
xor eax, eax
cmp dword [ebp - 0x50], eax
je 0x1002f3ba
mov dword [ebp - 0x18], 0xfffb
inc dword [ebp - 0x18]
jmp 0x1002f430
mov dword [ebp - 0x2c], 0x5866
mov dword [ebp - 0x18], 0xadcda6a4
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002f3d7
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov dword [ebp - 0x2c], 0x4bb9
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov eax, dword [ebp - 0x14]
setg cl
xor edx, edx
cmp ecx, eax
setne dl
xor ecx, ecx
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x50]
cmp edx, eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
setl cl
sub edx, ecx
xor ecx, ecx
cmp edx, eax
setg cl
sub ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x18]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], 0x745daf1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], esi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
cmp ecx, eax
setl dl
mov dword [ebp - 0x48], edx
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0x16
jle 0x1002f323
mov dword [ebp - 0x14], 0xfffffff2
cmp dword [ebp - 0x14], 0xffffffec
je 0x1002f4b2
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x1002f4a3
cmp dword [ebp - 0x14], eax
jne 0x1002f4a9
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f4a0
push 0x1c90
call dword [sym.imp.USER32.dll_GetQueueStatus]
xor eax, eax
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xfffffff3
je 0x1002f485
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffec
jne 0x1002f480
xor eax, eax
lea ecx, [ebp - 0x9f0]
push eax
call fcn.100162f3
inc dword [eax]
jne 0x1002f4c8
mov edx, esi
jmp 0x1002f4cc
xor eax, eax
mov edx, eax
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, dword [ebp - 0x28]
jne 0x1002f4e2
xor eax, eax
cmp dword [ebp - 0x3c], eax
je 0x1002f4e4
mov eax, esi
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x9f0]
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0x10
push 0
pop eax
je 0x1002ea78
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x34], 0xdde0bcd8
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f528
push 0x1660
push eax
call esi
xor eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f542
push eax
push 0x360
push eax
call ebx
xor eax, eax
mov dword [ebp - 0x34], 0xdde0bcd8
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f55c
push 0x1660
push eax
call esi
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f570
push eax
push 0x360
push eax
call ebx
xor eax, eax
mov dword [ebp - 0x34], 0xdde0bcd8
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f58a
push 0x1660
push eax
call esi
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f59e
push eax
push 0x360
push eax
call ebx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x18], 0x256915a
mov dword [ebp - 0x1c], eax
inc edx
cmp dword [ebp - 0x1c], edx
jge 0x1002f5c8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xddc], 0
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edx
jl 0x1002f5b0
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f5dd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edx, edx
xor eax, eax
inc edx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], eax
jl 0x1002f5f4
mov dword [ebp - 0x3c], 0x6e5c7a00
inc dword [ebp - 0x3c]
dec dword [ebp - 0x18]
jns 0x1002f5e5
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], 0x7110
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002f622
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x220], edx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1002f60d
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1002f763
mov dword [ebp - 0x14], 0x13717be9
mov dword [ebp - 0x4c], 0x5156be82
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0x220]
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x220], ecx
cmp ecx, dword [ebp - 0x14]
je 0x1002f6a0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x220]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0x220]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setne dl
cmp edx, dword [ebp + eax*4 - 0x220]
jne 0x1002f68f
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x220], 0
jne 0x1002f68f
xor edx, edx
xor eax, eax
inc edx
jmp 0x1002f694
xor edx, edx
inc edx
mov eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
jge 0x1002f6cd
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x34], 0x92e3f915
push 9
mov dword [ebp - 0x34], 0xe5809974
pop eax
mov dword [ebp - 0x34], eax
dec dword [ebp - 0x3c]
jmp 0x1002f760
mov dword [ebp - 0x18], 0xb96f
mov dword [ebp - 0x14], 0xfffffffc
cmp dword [ebp - 0x14], 0xffffffe8
jne 0x1002f70b
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f702
push 0x1c47
push eax
push eax
push eax
push 0x2682
push eax
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
xor eax, eax
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe8
je 0x1002f6e3
mov eax, dword [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 0x18], eax
jne 0x1002f722
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x220]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + eax*4 - 0x220]
mov ecx, dword [ebp - 0x28]
sub ecx, 0xfffffff8
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, edx
setge al
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + eax*4 - 0x220]
mov eax, dword [ebp - 0x14]
cmp eax, 0xbf7a
setg cl
sub ecx, edx
xor edx, edx
mov dword [ebp - 0x4c], ecx
inc edx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jle 0x1002f62a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x34], 0xdde0bcd8
mov dword [ebp - 0x18], 0xb32a831d
mov dword [ebp - 0x1c], eax
push 0xfffffffffffffff9
pop ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0x4b541145
mov dword [ebp - 0x1c], eax
jmp 0x1002f7a8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xb40], edx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1002f79b
mov eax, dword [ebp - 0xb3c]
mov dword [ebp - 0xb3c], eax
test eax, eax
jne 0x1002f7c8
cmp dword [ebp - 0xb3c], eax
jne 0x1002f7c8
mov edx, eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
add eax, dword [ebp - 0x18]
test eax, eax
push 3
setg cl
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xee0]
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov byte [ebp - 0x41], al
mov dword [ebp - 0x34], 0xfffffffd
mov dword [ebp - 0x34], 0x3606de71
mov dword [ebp - 0x34], 0x5d09ea9
mov dword [ebp - 0x34], 0xfffffffa
mov dword [ebp - 0x34], 0xfffffffe
mov dword [ebp - 0x34], 0xe8588d0d
call fcn.1001627b
xor eax, eax
mov dword [ebp - 4], 0xd
inc eax
lea ecx, [ebp - 0xa08]
mov dword [ebp - 0x34], eax
push eax
call fcn.1001627b
xor eax, eax
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002f878
push dword [ebp - 0x14]
lea ecx, [ebp - 0xee0]
call fcn.100162f3
mov dword [eax], 0x8c443eb6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1002f859
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1002f8a2
push dword [ebp - 0x14]
lea ecx, [ebp - 0xa08]
call fcn.100162f3
mov dword [eax], 0xfde7504e
xor eax, eax
inc dword [ebp - 0x14]
inc eax
cmp dword [ebp - 0x14], eax
jl 0x1002f881
xor eax, eax
push eax
lea ecx, [ebp - 0xa08]
call fcn.100162f3
lea ecx, [ebp - 0xa08]
inc dword [eax]
call fcn.100162d7
or eax, 0xffffffff
lea ecx, [ebp - 0xee0]
mov dword [ebp - 4], eax
call fcn.100162d7
cmp byte [ebp - 0x41], 0
je 0x1002f908
xor eax, eax
mov dword [ebp - 0x34], 0x2db58e46
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002f8ef
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002f900
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
push 0x1660
push eax
call esi
mov dword [ebp - 0x20], 0x73838a1f
or ecx, 0xffffffff
mov dword [ebp - 0x54], 0x30b63e91
xor eax, eax
mov dword [ebp - 0x3c], ecx
xor esi, esi
mov dword [ebp - 0x24], eax
inc esi
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], esi
jge 0x1002f93d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x70], ecx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1002f92c
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], eax
jl 0x1002fb47
jmp 0x1002f94d
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0xf11caf1e
mov dword [ebp - 0x1c], 0xf199e1f9
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x58], 0x93aa688e
mov eax, dword [ebp - 0x20]
push 0xfffffffffffffff9
mov eax, dword [ebp + eax*4 - 0x70]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
pop eax
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setne dl
xor ebx, ebx
mov eax, dword [ebp + eax*4 - 0x70]
cmp edx, eax
mov eax, dword [ebp - 0x20]
setle bl
xor ecx, ecx
neg ebx
mov eax, dword [ebp + eax*4 - 0x70]
cmp ebx, eax
mov eax, dword [ebp - 0x20]
setle cl
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x70]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setge dl
mov ecx, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x20]
imul ecx, edx
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x70]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setg dl
sub edx, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x20]
add edx, dword [ebp + eax*4 - 0x70]
mov dword [ebp - 0x14], edx
xor edx, edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x14]
cmp eax, 0x84ed
mov eax, dword [ebp - 0x20]
setge dl
sub edx, ecx
neg edx
sbb edx, edx
add edx, 0x66a089db
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setg cl
cmp ecx, 0xc422
je 0x1002fa40
mov dword [ebp - 0x4c], esi
xor ecx, ecx
mov dword [ebp - 0x28], 0x68dacb31
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xffff6d7f
setne cl
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
jmp 0x1002fa66
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x1002fa50
mov dword [ebp - 0x28], esi
inc dword [ebp - 0x28]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jle 0x1002fa47
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002fa68
call edi
push eax
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
cmp dword [ebp - 0x20], eax
jne 0x1002facf
mov eax, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
setle dl
cmp edx, 0xfffffffb
jne 0x1002fa94
xor eax, eax
mov ecx, eax
cmp dword [ebp - 0x20], eax
je 0x1002fa96
mov ecx, esi
mov eax, dword [ebp - 0x14]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
imul ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
imul ecx, ecx, 0x53ed
cmp ecx, eax
setle dl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
xor eax, eax
cmp dword [ebp - 0x54], eax
jne 0x1002fad7
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setne cl
cmp ecx, dword [ebp - 0x1c]
je 0x1002faff
xor eax, eax
cmp dword [ebp - 0x24], eax
je 0x1002fb01
mov eax, esi
or ecx, 0xffffffff
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x14]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setne cl
sub eax, ecx
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
jne 0x1002fb33
xor eax, eax
cmp dword [ebp - 0x24], eax
jne 0x1002fb33
cmp dword [ebp - 0x58], eax
je 0x1002fb35
mov eax, esi
mov dword [ebp - 0x24], eax
dec dword [ebp - 0x20]
jns 0x1002f94b
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x24], 0xb
jmp 0x1002fbab
push 2
lea ecx, [ebp - 0x7a4]
call fcn.1001627b
xor eax, eax
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x1c], eax
jmp 0x1002fb7c
push dword [ebp - 0x1c]
call fcn.100162f3
mov dword [eax], 9
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
lea ecx, [ebp - 0x7a4]
jl 0x1002fb6b
push esi
call fcn.100162f3
lea ecx, [ebp - 0x7a4]
inc dword [eax]
xor eax, eax
cmp dword [ebp - 0x3c], eax
jne 0x1002fbb3
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x1e
jg 0x1002fb50
jmp 0x1002fbbe
or eax, 0xffffffff
mov dword [ebp - 4], eax
call fcn.100162d7
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], 0x67fa5c62
mov dword [ebp - 0x54], 0xffffffe5
jmp 0x1002fc12
xor eax, eax
mov dword [ebp - 0x4c], 0x8070
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002fc09
push eax
push 0x9b8
push eax
push eax
push 0x24df
push 0x1647
push 0x1f6a
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0x1d
jg 0x1002fbd1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
xor eax, eax
mov byte [ebp - 0xd], al
mov dword [ebp - 0x30], 0x3b26bdde
mov dword [ebp - 0x18], 0x24891023
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x11
jne 0x1002fcd7
mov dword [ebp - 0x18], 0x7c04ccb6
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], 0xc39d
mov dword [ebp - 0x18], 0xffff
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
cmp eax, 0x6a7609fa
jg 0x1002fc72
xor eax, eax
mov edx, eax
cmp dword [ebp - 0x28], eax
je 0x1002fc74
mov edx, esi
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jg 0x1002fc90
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], al
je 0x1002fcc7
push eax
push eax
push eax
push 0x2518
push 0x1cb5
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentExPointA]
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0x11
push 0
pop eax
je 0x1002fc41
mov byte [ebp - 0x41], al
cmp byte [ebp - 0x41], 0
je 0x1002fce8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp byte [ebp - 0xd], 0
je 0x1002fdbf
mov dword [ebp - 0x1c], 0xf5540d7f
lea ecx, [ebp - 0xbe8]
push esi
call fcn.1001627b
xor eax, eax
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], esi
jge 0x1002fd30
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xbe8]
call fcn.100162f3
mov dword [eax], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1002fd16
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1002fd9d
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], eax
jl 0x1002fd9a
push dword [ebp - 0x28]
lea ecx, [ebp - 0xbe8]
call fcn.100162f3
cmp dword [eax], 0
je 0x1002fd80
xor eax, eax
mov dword [ebp - 0x18], 0x72a72759
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], eax
jl 0x1002fd7b
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x1002fd76
push eax
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
xor eax, eax
dec dword [ebp - 0x18]
jns 0x1002fd64
mov eax, dword [ebp - 0x28]
jmp 0x1002fd93
xor eax, eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], al
je 0x1002fd93
push eax
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
dec dword [ebp - 0x28]
jns 0x1002fd40
xor eax, eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x13
jg 0x1002fd35
or eax, 0xffffffff
lea ecx, [ebp - 0xbe8]
mov dword [ebp - 4], eax
call fcn.100162d7
xor eax, eax
push eax
push 0x360
push eax
call ebx
mov ebx, 0x2e91a049
lea ecx, [ebp - 0x90c]
mov dword [ebp - 0x54], ebx
push 3
call fcn.1001627b
mov dword [ebp - 4], 0x11
xor eax, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002fe08
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x90c]
call fcn.100162f3
mov dword [eax], 0xfffffffd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1002fde9
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 9
jne 0x1002fec1
jmp 0x1002fe19
xor eax, eax
mov dword [ebp - 0x30], esi
or ecx, 0xffffffff
mov dword [ebp - 0x18], 0xbf90350d
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x30], eax
je 0x1002fe5d
mov eax, dword [ebp - 0x30]
xor edx, edx
mov eax, dword [ebp - 0x54]
cmp eax, 0xfffffffb
mov eax, dword [ebp - 0x30]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x30]
test eax, eax
je 0x1002fe5b
xor eax, eax
cmp dword [ebp - 0x18], eax
jne 0x1002fe5f
xor eax, eax
mov esi, eax
push 2
lea ecx, [ebp - 0x90c]
call fcn.100162f3
xor ecx, ecx
mov dword [eax], esi
mov eax, dword [ebp - 0x30]
cmp esi, eax
setg cl
sub ecx, 5
sub ecx, dword [ebp - 0x30]
neg ecx
sbb ecx, ecx
xor esi, esi
inc ecx
inc esi
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x90c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
push esi
call fcn.100162f3
mov ecx, dword [ebp - 0x54]
xor edx, edx
push 9
cmp dword [eax], ecx
mov eax, dword [ebp - 0x30]
setle dl
xor ecx, ecx
cmp edx, eax
pop eax
setge cl
mov dword [ebp - 0x4c], ecx
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
je 0x1002fe17
or eax, 0xffffffff
lea ecx, [ebp - 0x90c]
mov dword [ebp - 4], eax
call fcn.100162d7
push 3
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x924]
pop ebx
push ebx
call fcn.1001627b
mov dword [ebp - 4], 0x12
xor eax, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jge 0x1002ff16
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x924]
call fcn.100162f3
mov dword [eax], 0xfffffffd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jl 0x1002fef8
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 9
jne 0x1002ffcf
jmp 0x1002ff27
xor eax, eax
mov dword [ebp - 0x30], esi
or ecx, 0xffffffff
mov dword [ebp - 0x18], 0xbf90350d
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x30], eax
je 0x1002ff6b
mov eax, dword [ebp - 0x30]
xor edx, edx
mov eax, dword [ebp - 0x54]
cmp eax, 0xfffffffb
mov eax, dword [ebp - 0x30]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x30]
test eax, eax
je 0x1002ff69
xor eax, eax
cmp dword [ebp - 0x18], eax
jne 0x1002ff6d
xor eax, eax
mov esi, eax
push 2
lea ecx, [ebp - 0x924]
call fcn.100162f3
xor ecx, ecx
mov dword [eax], esi
mov eax, dword [ebp - 0x30]
cmp esi, eax
setg cl
sub ecx, 5
sub ecx, dword [ebp - 0x30]
neg ecx
sbb ecx, ecx
xor esi, esi
inc ecx
inc esi
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x924]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
push esi
call fcn.100162f3
mov ecx, dword [ebp - 0x54]
xor edx, edx
push 9
cmp dword [eax], ecx
mov eax, dword [ebp - 0x30]
setle dl
xor ecx, ecx
cmp edx, eax
pop eax
setge cl
mov dword [ebp - 0x4c], ecx
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
je 0x1002ff25
or eax, 0xffffffff
lea ecx, [ebp - 0x924]
mov dword [ebp - 4], eax
call fcn.100162d7
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x52f34111
mov dword [ebp - 0x4c], 0xa5bc4220
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1003001c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf4], 0xac204e2d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10030003
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jge 0x1003003c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10e8], 0x6b933888
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x10030024
xor eax, eax
mov dword [ebp - 0xf4], eax
jmp 0x10030086
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x10030074
push eax
push 0x9b8
push eax
push eax
push 0x24df
push 0x1647
push 0x1f6a
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0xf4]
push 0
pop eax
cmp dword [ebp - 0xf4], 0xb
jg 0x10030044
mov dword [ebp - 0x18], 0xe974
xor edx, edx
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xf4]
setne dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setl dl
sub eax, edx
neg eax
sbb eax, eax
add eax, 0xffff78db
cmp eax, dword [ebp - 0xf0]
jne 0x100300dd
xor eax, eax
cmp dword [ebp - 0xf4], eax
je 0x100300df
mov eax, esi
jmp 0x100300df
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp dword [ebp - 0xf4], ecx
jg 0x1003010c
xor eax, eax
mov edx, eax
cmp dword [ebp - 0x18], eax
je 0x1003010e
mov edx, esi
mov eax, dword [ebp - 0x10e8]
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x52f34111
mov dword [ebp - 0x4c], 0xa5bc4220
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1003015a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xc8], 0xac204e2d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10030141
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jge 0x1003017a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10b8], 0x6b933888
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x10030162
xor eax, eax
mov dword [ebp - 0xc8], eax
jmp 0x100301c4
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x100301b2
push eax
push 0x9b8
push eax
push eax
push 0x24df
push 0x1647
push 0x1f6a
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0xc8]
push 0
pop eax
cmp dword [ebp - 0xc8], 0xb
jg 0x10030182
mov dword [ebp - 0x18], 0xe974
xor edx, edx
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc8]
setne dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setl dl
sub eax, edx
neg eax
sbb eax, eax
add eax, 0xffff78db
cmp eax, dword [ebp - 0xc4]
jne 0x1003021b
xor eax, eax
cmp dword [ebp - 0xc8], eax
je 0x1003021d
mov eax, esi
jmp 0x1003021d
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp dword [ebp - 0xc8], ecx
jg 0x1003024a
xor eax, eax
mov edx, eax
cmp dword [ebp - 0x18], eax
je 0x1003024c
mov edx, esi
mov eax, dword [ebp - 0x10b8]
xor ecx, ecx
cmp edx, eax
setle cl
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], 0x93c1
mov dword [ebp - 0x38], 0xfffffff6
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], al
je 0x1003028b
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [ebp - 0x18]
inc eax
neg eax
push 3
sbb eax, eax
inc eax
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
sete cl
xor ebx, ebx
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setg bl
xor ecx, ecx
cmp eax, 0x307b5ca9
mov eax, dword [ebp - 0x4c]
setne cl
imul ebx, ecx
dec ebx
neg ebx
sbb ebx, ebx
xor edx, edx
inc ebx
cmp ebx, eax
mov eax, dword [ebp - 0x58]
setl dl
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
or ebx, 0xffffffff
cmp ecx, ebx
lea ecx, [ebp - 0x93c]
setg al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x54], 0x2e91a049
call fcn.1001627b
mov dword [ebp - 4], 0x13
xor eax, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10030336
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x93c]
call fcn.100162f3
mov dword [eax], 0xfffffffd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x10030317
xor eax, eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 9
jne 0x100303ec
jmp 0x10030347
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], 0xbf90350d
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x30], eax
je 0x10030388
mov eax, dword [ebp - 0x30]
xor edx, edx
mov eax, dword [ebp - 0x54]
cmp eax, 0xfffffffb
mov eax, dword [ebp - 0x30]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x30]
test eax, eax
je 0x10030386
xor eax, eax
cmp dword [ebp - 0x18], eax
jne 0x1003038a
xor eax, eax
mov esi, eax
push 2
lea ecx, [ebp - 0x93c]
call fcn.100162f3
xor ecx, ecx
mov dword [eax], esi
mov eax, dword [ebp - 0x30]
cmp esi, eax
setg cl
sub ecx, 5
sub ecx, dword [ebp - 0x30]
neg ecx
sbb ecx, ecx
xor esi, esi
inc ecx
inc esi
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x93c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
push esi
call fcn.100162f3
mov ecx, dword [ebp - 0x54]
xor edx, edx
push 9
cmp dword [eax], ecx
mov eax, dword [ebp - 0x30]
setle dl
xor ecx, ecx
cmp edx, eax
pop eax
setge cl
mov dword [ebp - 0x4c], ecx
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
je 0x10030345
lea ecx, [ebp - 0x93c]
mov dword [ebp - 4], ebx
call fcn.100162d7
mov dword [ebp - 0x2c], 0xc4b4e126
xor eax, eax
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 0x54], 0x582f80c3
mov dword [ebp - 0x4c], 0x1efc39fa
mov dword [ebp - 0x1c], eax
jmp 0x1003042e
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xbc], 0x3f30b91e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1003041d
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp eax, esi
setle cl
imul ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x10030451
xor eax, eax
mov ecx, eax
cmp dword [ebp - 0x2c], eax
je 0x10030453
mov ecx, esi
dec dword [ebp - 0x54]
xor eax, eax
cmp ecx, 0x132d7af2
mov ebx, 0x13bf58aa
setne al
xor edx, edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
setg dl
xor ecx, ecx
cmp eax, edx
setge cl
xor edx, edx
cmp ecx, 0x4ca7
setle dl
xor ecx, ecx
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
mov eax, ebx
setne cl
xor edx, edx
sub eax, ecx
add eax, dword [ebp - 0x2c]
cmp eax, 0xfffffffb
mov eax, dword [ebp - 0x2c]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
mov dword [ebp - 0xbc], ecx
cmp dword [ebp - 0xbc], eax
je 0x10030524
mov ecx, dword [ebp - 0xbc]
xor edx, edx
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
setl dl
cmp edx, 0x56a759f3
jg 0x100304dc
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x54]
cmp ecx, eax
setle dl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xbc]
imul eax, dword [ebp - 0x2c], 0x64a0
test eax, eax
je 0x10030522
mov ecx, esi
jmp 0x10030526
xor eax, eax
mov ecx, eax
mov eax, dword [ebp - 0x2c]
sub ecx, eax
imul eax, ecx, 0x37d
xor ecx, ecx
cmp eax, 0x58b
mov eax, dword [ebp - 0xbc]
setge cl
xor edx, edx
cmp ecx, 0x1779538e
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x54]
setne cl
imul eax, dword [ebp - 0x2c]
imul eax, ecx
test eax, eax
je 0x1003056c
xor eax, eax
cmp dword [ebp - 0x14], eax
je 0x1003056e
mov eax, esi
jmp 0x1003056e
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [0x1007f88c]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x52f34111
mov dword [ebp - 0x4c], 0xa5bc4220
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100305b5
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xec], 0xac204e2d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1003059c
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100305d7
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1118], 0x6b933888
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x100305be
xor eax, eax
mov dword [ebp - 0xec], eax
jmp 0x10030621
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x1003060f
push eax
push 0x9b8
push eax
push eax
push 0x24df
push 0x1647
push 0x1f6a
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0xec]
push 0
pop eax
cmp dword [ebp - 0xec], 0xb
jg 0x100305df
mov dword [ebp - 0x18], 0xe974
xor edx, edx
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xec]
setne dl
imul ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setl dl
sub eax, edx
neg eax
sbb eax, eax
add eax, 0xffff78db
cmp eax, dword [ebp - 0xe8]
jne 0x10030678
xor eax, eax
cmp dword [ebp - 0xec], eax
je 0x1003067a
mov eax, esi
jmp 0x1003067a
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp dword [ebp - 0xec], ecx
jg 0x100306a7
xor eax, eax
mov edx, eax
cmp dword [ebp - 0x18], eax
je 0x100306a9
mov edx, esi
mov eax, dword [ebp - 0x1118]
xor ecx, ecx
cmp edx, eax
push 2
setle cl
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0xdc4]
call fcn.1001627b
push 2
lea ecx, [ebp - 0x508]
mov dword [ebp - 4], 0x14
call fcn.1001627b
mov byte [ebp - 4], 0x15
xor eax, eax
mov dword [ebp - 0x28], 0xa831eb23
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1003070f
push dword [ebp - 0x14]
lea ecx, [ebp - 0xdc4]
call fcn.100162f3
mov dword [eax], 0xd5e4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x100306f0
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10030733
push dword [ebp - 0x14]
lea ecx, [ebp - 0x508]
call fcn.100162f3
mov dword [eax], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10030718
xor eax, eax
push eax
lea ecx, [ebp - 0x508]
call fcn.100162f3
and dword [eax], 0
jmp 0x1003075e
xor eax, eax
mov dword [ebp - 0x34], 0x990069f3
push eax
lea ecx, [ebp - 0x508]
mov dword [ebp - 0x28], esi
call fcn.100162f3
inc dword [eax]
xor eax, eax
lea ecx, [ebp - 0x508]
push eax
call fcn.100162f3
cmp dword [eax], esi
jle 0x10030744
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x10030782
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], eax
jne 0x10030788
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0x19
jg 0x10030777
lea ecx, [ebp - 0x508]
call fcn.100162d7
or eax, 0xffffffff
lea ecx, [ebp - 0xdc4]
mov dword [ebp - 4], eax
call fcn.100162d7
mov dword [ebp - 0x50], 0x2e91a049
xor eax, eax
mov dword [ebp - 0x2c], 0xc4b4e126
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 0x24], 0x582f80c3
mov dword [ebp - 0x4c], 0x1efc39fa
mov dword [ebp - 0x1c], eax
jmp 0x100307df
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x94], 0x3f30b91e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x100307ce
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp eax, esi
setle cl
imul ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x10030802
xor eax, eax
mov ecx, eax
cmp dword [ebp - 0x2c], eax
je 0x10030804
mov ecx, esi
dec dword [ebp - 0x24]
xor eax, eax
cmp ecx, 0x132d7af2
setne al
xor edx, edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
setg dl
xor ecx, ecx
cmp eax, edx
setge cl
xor edx, edx
cmp ecx, 0x4ca7
setle dl
xor ecx, ecx
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
mov eax, ebx
setne cl
xor edx, edx
sub eax, ecx
add eax, dword [ebp - 0x2c]
cmp eax, 0xfffffffb
mov eax, dword [ebp - 0x2c]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], eax
je 0x100308d0
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
setl dl
cmp edx, 0x56a759f3
jg 0x10030888
mov ecx, eax
mov eax, dword [ebp - 0x2c]
sub ecx, eax
imul eax, ecx, 0x37d
xor ecx, ecx
cmp eax, 0x58b
mov eax, dword [ebp - 0x94]
setge cl
xor edx, edx
cmp ecx, 0x1779538e
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x24]
setne cl
imul eax, dword [ebp - 0x2c]
imul eax, ecx
test eax, eax
je 0x10030918