Function at 0x10039563
Capabilities:
Encrypt data using speck
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063d32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3ac
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003aceb
lea eax, [ebp + 0x10]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x21c]
movzx eax, byte [eax]
test eax, eax
je 0x100395c5
push 0
push 0x1df0
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1003ace6
mov dword [ebp - 0x180], 0x396
mov dword [ebp - 0x240], 0x1000b658
cmp dword [ebp - 0x180], 0x5db
jle 0x1003967e
and dword [ebp - 0xcc], 0
jmp 0x100395ff
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x76a9
jge 0x1003967e
and dword [ebp - 0xd4], 0
jmp 0x10039621
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x78a7
jge 0x10039679
and dword [ebp - 0x74], 0
jmp 0x1003963a
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x47e
jge 0x10039677
mov eax, dword [ebp - 0xcc]
and eax, dword [ebp - 0xd4]
xor eax, dword [ebp - 0x74]
cdq
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], edx
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
mov ecx, 0x1060c3d8
call fcn.1001b57c
jmp 0x10039633
jmp 0x10039614
jmp 0x100395f2
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x80], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x180], 0x30c
jge 0x100396a7
mov edx, dword [ebp - 0x240]
mov ecx, 0x1060c3d8
call fcn.1001da87
jmp 0x100396c3
or dword [ebp - 4], 0xffffffff
jmp 0x100396cd
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2e8], 0x8993
mov dword [ebp - 0xb4], 0
jmp 0x1003970c
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jge 0x10039728
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x374], 0x8a012e1d
jmp 0x100396ff
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x10039738
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x17
jl 0x10039940
mov dword [ebp - 0x58], 0xa3df603f
mov dword [ebp - 0x40], 0x1e29ea41
mov dword [ebp - 0x114], 0x8376fbfc
mov dword [ebp - 0x58], 0xfffffff9
jmp 0x1003976a
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x17
jne 0x100397a3
mov dword [ebp - 0x1d0], 0xffffffff
push 0x5398
push 1
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push 0x14a7
call fcn.100229ff
add esp, 0x18
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1d0], eax
jmp 0x10039763
mov dword [ebp - 0x40], 2
jmp 0x100397b3
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1003993b
push 3
lea ecx, [ebp - 0x2a0]
call fcn.1001b7ad
mov dword [ebp - 4], 2
lea eax, [ebp - 0x320]
push eax
push 0x2885
lea eax, [ebp - 0x2a0]
push eax
push 0
call fcn.1003b14a
add esp, 0x10
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0x374]
mov dword [ebp - 0x358], eax
push 0
lea ecx, [ebp - 0x2a0]
call fcn.1001b84b
push 0
lea ecx, [ebp - 0x2a0]
call fcn.1001b84b
mov esi, eax
push 1
lea ecx, [ebp - 0x2a0]
call fcn.1001b84b
mov eax, dword [eax]
add eax, dword [esi]
jne 0x10039839
mov dword [ebp - 0x104], 1
jmp 0x10039840
and dword [ebp - 0x104], 0
imul eax, dword [ebp - 0x104], 0x7d1
cmp eax, 0x53fc
jle 0x1003985d
mov dword [ebp - 0x1b0], 1
jmp 0x10039864
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0xc0b333ee
ja 0x1003987c
mov dword [ebp - 0x15c], 1
jmp 0x10039883
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x15c], eax
jg 0x1003989d
mov dword [ebp - 0x10c], 1
jmp 0x100398a4
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x10c]
je 0x100398bb
mov dword [ebp - 0x19c], 1
jmp 0x100398c2
and dword [ebp - 0x19c], 0
imul eax, dword [ebp - 0x19c], 0xfffffff8
cmp eax, 0xfffffff9
jb 0x100398da
mov dword [ebp - 0x164], 1
jmp 0x100398e1
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x164], eax
jg 0x100398fb
mov dword [ebp - 0x11c], 1
jmp 0x10039902
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0xfffffff8
jle 0x10039917
mov dword [ebp - 0x18c], 1
jmp 0x1003991e
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x58], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
call fcn.1001b82f
jmp 0x100397ac
jmp 0x10039731
and dword [ebp - 0xdc], 0
jmp 0x1003995f
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xdc], eax
jge 0x1003ace6
mov dword [ebp - 0x68], 0x399841b3
mov dword [ebp - 0x4c], 0xfffffffe
mov dword [ebp - 0x2d8], 0x16efa42b
mov dword [ebp - 0x2e0], 0xffffffff
mov dword [ebp - 0x2d4], 0x74734688
mov dword [ebp - 0x2f0], 0x1afd061a
mov dword [ebp - 0x304], 4
mov dword [ebp - 0x7c], 0
jmp 0x100399c4
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x100399da
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x30c], 0xed890fc5
jmp 0x100399bd
mov dword [ebp - 0x68], 0xffffffec
jmp 0x100399ea
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xfffffff3
jle 0x10039ddb
mov dword [ebp - 0x1c0], 0x9feb
mov dword [ebp - 0x314], 0xadd63529
mov dword [ebp - 0x1e4], 0xffffffff
mov dword [ebp - 0x31c], 0xbc00eadd
mov dword [ebp - 0x324], 0xad901516
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x334], 0xff06982b
mov dword [ebp - 0x2dc], 0xee00b46f
mov dword [ebp - 0x328], 0xb66969e9
mov dword [ebp - 0x84], 0
jmp 0x10039a67
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jge 0x10039a83
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x38c], 0xffffffff
jmp 0x10039a5a
cmp dword [ebp - 0x1c0], 0
je 0x10039d64
mov dword [ebp - 0x25c], 0xfffffffa
mov dword [ebp - 0x2e4], 7
mov dword [ebp - 0x368], 0x89a5a40f
push 1
lea ecx, [ebp - 0x354]
call fcn.1001b7ad
mov dword [ebp - 4], 3
push 1
lea ecx, [ebp - 0x2c4]
call fcn.1001b7ad
mov byte [ebp - 4], 4
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x5ee3
push 0x38fe
push 0x65b5
push 0x6429
push 0x3aeb
push 1
push 1
call fcn.10021a6e
add esp, 0x24
mov dword [ebp - 0x60], 0
jmp 0x10039b13
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x10039b2f
push dword [ebp - 0x60]
lea ecx, [ebp - 0x2c4]
call fcn.1001b84b
mov dword [eax], 0x9611ca4b
jmp 0x10039b0c
push 0
push 1
push 0xed2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x40be
call fcn.100222ab
add esp, 0x18
mov dword [ebp - 0x124], 0x742b
mov dword [ebp - 0x1dc], 0x1000b6d8
cmp dword [ebp - 0x124], 0x7798
jle 0x10039c2d
and dword [ebp - 0xbc], 0
jmp 0x10039b8a
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xd3e
jge 0x10039c14
and dword [ebp - 0x8c], 0
jmp 0x10039bac
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x114f
jge 0x10039c0f
mov eax, dword [ebp - 0xbc]
and eax, dword [ebp - 0x8c]
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push dword [ebp - 0x254]
push dword [ebp - 0x258]
lea ecx, [ebp - 0x3a4]
call fcn.1000db9a
pop ecx
pop ecx
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x1d4]
call fcn.1001b55c
push eax
call fcn.1004de26
pop ecx
lea ecx, [ebp - 0x3a4]
call fcn.1001b552
jmp 0x10039b9f
jmp 0x10039b7d
push 0
push 0
push 0x14a2
push 0xb17
push 0x22b0
call dword [sym.imp.USER32.dll_ScrollWindow]
mov dword [ebp - 0x4c], 6
jmp 0x10039c3d
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffea
jl 0x10039cfc
mov dword [ebp - 0x2ec], 0xabbf
push 1
lea ecx, [ebp - 0x344]
call fcn.1001b7ad
mov byte [ebp - 4], 5
mov dword [ebp - 0x330], 0xc28
mov dword [ebp - 0x22c], 0xfffffffd
mov dword [ebp - 0xc8], 0
jmp 0x10039c8f
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 1
jge 0x10039cb1
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x344]
call fcn.1001b84b
mov dword [eax], 0xc865b49d
jmp 0x10039c82
lea eax, [ebp - 0x2c4]
push eax
push 0
push 1
call fcn.100394cf
add esp, 0xc
push 0
push 1
lea eax, [ebp - 0x22c]
push eax
push 1
push 0x20da
push 0x6dd
push 0xf4c
call fcn.10032552
add esp, 0x1c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x344]
call fcn.1001b82f
jmp 0x10039c36
mov byte [ebp - 4], 6
cmp dword [ebp - 0x124], 0x7420
jge 0x10039d18
push dword [ebp - 0x1dc]
call fcn.1004de26
pop ecx
jmp 0x10039d34
mov dword [ebp - 4], 4
jmp 0x10039d44
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.1001b82f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.1001b82f
jmp 0x10039dd6
mov dword [ebp - 0x280], 0xfffffff6
mov dword [ebp - 0x16c], 0xfffffffe
push 0x16a0
push 1
push 1
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x16c]
push eax
push 0x61cf
call fcn.10021d29
add esp, 0x1c
push 0
push 0x43c
push 0x1d5c
push 0x5e47
push 1
push 0x6cb2
push 0x4c14
push 1
push 0x5e81
lea eax, [ebp - 0x16c]
push eax
call fcn.1003b00a
add esp, 0x28
jmp 0x100399e3
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x44], 0xffff
mov dword [ebp - 0x94], 0xe9a07b30
mov dword [ebp - 0x194], 0xffffffff
push 4
lea ecx, [ebp - 0x1cc]
call fcn.1001b7ad
mov dword [ebp - 4], 8
push 1
lea ecx, [ebp - 0x2d0]
call fcn.1001b7ad
mov byte [ebp - 4], 9
push 0x2473
push 1
push 0x5aa8
push 1
lea eax, [ebp - 0x1cc]
push eax
push 0x54a2
push 0x87a
lea eax, [ebp - 0x18]
push eax
call fcn.10021f17
add esp, 0x20
mov dword [ebp - 0x18], 0
jmp 0x10039e5d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10039e79
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2d0]
call fcn.1001b84b
mov dword [eax], 0x370cc321
jmp 0x10039e56
mov dword [ebp - 0x18], 0
jmp 0x10039e89
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10039e9f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2fc], 0x52fb29d9
jmp 0x10039e82
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x6b34c266
jne 0x10039ec0
mov dword [ebp - 0x12c], 1
jmp 0x10039ec7
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0xcd3b
jge 0x10039ee8
cmp dword [ebp - 0x94], 0
je 0x10039ee8
mov dword [ebp - 0x1ac], 1
jmp 0x10039eef
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1ac], eax
jle 0x10039f06
mov dword [ebp - 0x234], 1
jmp 0x10039f0d
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x94], 0
je 0x10039f31
mov eax, 0x764ce34a
test eax, eax
jne 0x10039f31
and dword [ebp - 0x134], 0
jmp 0x10039f3b
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x134], eax
jg 0x10039f52
mov dword [ebp - 0x174], 1
jmp 0x10039f59
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0
jne 0x10039f6e
mov dword [ebp - 0x13c], 1
jmp 0x10039f75
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x300], eax
mov esi, dword [ebp - 0x34]
push 0
lea ecx, [ebp - 0x1cc]
call fcn.1001b84b
cmp esi, dword [eax]
jge 0x10039fb6
mov dword [ebp - 0x144], 1
jmp 0x10039fbd
and dword [ebp - 0x144], 0
push 1
lea ecx, [ebp - 0x1cc]
call fcn.1001b84b
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [eax]
jne 0x10039fe0
mov dword [ebp - 0xc4], 1
jmp 0x10039fe7
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x1cc]
call fcn.1001b84b
mov ecx, dword [ebp - 0xc4]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x2d0]
call fcn.1001b84b
mov ecx, dword [ebp - 0xc4]
mov dword [eax], ecx
cmp dword [ebp - 0xc4], 0
je 0x1003a02f
mov eax, 0x18f4
test eax, eax
je 0x1003a02f
mov dword [ebp - 0x17c], 1
jmp 0x1003a036
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x17c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x14c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax - 0x2fc], ecx
cmp dword [ebp - 0x14c], 0xfddf
jne 0x1003a074
mov dword [ebp - 0x1a4], 1
jmp 0x1003a07b
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1a4], eax
jg 0x1003a092
mov dword [ebp - 0x154], 1
jmp 0x1003a099
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x154]
jl 0x1003a0b0
mov dword [ebp - 0x184], 1
jmp 0x1003a0b7
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0x44]
jl 0x1003a0d2
mov dword [ebp - 0x100], 1
jmp 0x1003a0d9
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2d0]
call fcn.1001b82f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.1001b82f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1003a119
mov dword [ebp - 0x108], 1
jmp 0x1003a120
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1003a145
mov dword [ebp - 0x110], 1
jmp 0x1003a14c
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1003a171
mov dword [ebp - 0x118], 1
jmp 0x1003a178
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x50], 0xffffffe4
jmp 0x1003a19b
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffed
jg 0x1003a20d
mov dword [ebp - 0x1ec], 0xfffffffd
mov dword [ebp - 0x268], 0x7bb7ab61
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1003a1e3
push 0
push 1
push 0x4e6b
push 0x1178
push 0x189e
push 1
push 0x37d9
call fcn.1002b971
add esp, 0x1c
lea eax, [ebp - 0x1ec]
push eax
push 1
push 0x27ec
push 0x1246
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x268]
push eax
push 1
call fcn.10022023
add esp, 0x1c
jmp 0x1003a194
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1003a228
push 0x5d3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1003a25e
push 0x4000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x6c69
push 0x5151
call fcn.10044bca
pop ecx
pop ecx
call eax
jmp 0x10039949
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x9c], 6
jmp 0x1003a281
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0xfffffff0
jge 0x1003a2ae
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1003a2ac
push 1
push 0xc3
push 0
push 0x17c6
call fcn.10031730
add esp, 0x10
jmp 0x1003a274
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1003a2dc
push 1
push 0
push 0x77d
push 0x7175
push 0x62f8
push 0
push 0xf83
call fcn.1002b971
add esp, 0x1c
push dword [ebp - 0x14]
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x1f4]
push dword [ebp - 0x23c]
push 0
push dword [ebp - 0x1fc]
call fcn.1003b86d
add esp, 0x18
mov dword [ebp - 0x1c], 0xe0648261
mov dword [ebp - 0x24], 0x9034e105
push 2
lea ecx, [ebp - 0xf8]
call fcn.1001b7ad
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x78], 0x4a276ac1
mov dword [ebp - 0xe0], 0x2c160ec2
mov dword [ebp - 0x178], 0xffffffff
mov dword [ebp - 0x214], 0x93497140
mov dword [ebp - 0x250], 0xe1c21029
push 0x303f
push 0x66ad
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x338]
push eax
push 0
push 0
push 0x2637
call fcn.10032445
add esp, 0x1c
mov dword [ebp - 0x1c], 0
jmp 0x1003a38c
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jle 0x1003a7c0
mov dword [ebp - 0x120], 0x5715
mov dword [ebp - 0x294], 0x1000b718
cmp dword [ebp - 0x120], 0x5afb
jle 0x1003a440
and dword [ebp - 0xd0], 0
jmp 0x1003a3d0
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x320c
jge 0x1003a433
and dword [ebp - 0xa4], 0
jmp 0x1003a3f2
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x4f82
jge 0x1003a431
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xa4]
shl eax, cl
cdq
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], edx
push dword [ebp - 0x260]
push dword [ebp - 0x264]
mov ecx, 0x1060c3d8
call fcn.1001b57c
jmp 0x1003a3e5
jmp 0x1003a3c3
push 0
push 0x5c0
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [ebp - 0x3c], 0x37d45db3
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x120], 0x5546
jge 0x1003a467
mov edx, dword [ebp - 0x294]
mov ecx, 0x1060c3d8
call fcn.1001da87
jmp 0x1003a483
mov dword [ebp - 4], 0xa
jmp 0x1003a493
push 4
lea ecx, [ebp - 0x2ac]
call fcn.1001b7ad
mov byte [ebp - 4], 0xd
push 3
lea ecx, [ebp - 0x2b8]
call fcn.1001b7ad
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x48], 0
jmp 0x1003a4c5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1003a4db
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0xe4], 0xffffffff
jmp 0x1003a4be
mov dword [ebp - 0x128], 0x79b2
mov dword [ebp - 0x204], 0x1000b75c
cmp dword [ebp - 0x128], 0x7b1f
jle 0x1003a5c6
and dword [ebp - 0xd8], 0
jmp 0x1003a515
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x6711
jge 0x1003a5b9
and dword [ebp - 0xac], 0
jmp 0x1003a53b
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x4aa8
jge 0x1003a5b4
and dword [ebp - 0x6c], 0
jmp 0x1003a554
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x7d2c
jge 0x1003a5af
and dword [ebp - 0x70], 0
jmp 0x1003a56a
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x1a36
jge 0x1003a5ad
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x6c]
sar eax, cl
or eax, dword [ebp - 0x70]
cdq
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], edx
push dword [ebp - 0x26c]
push dword [ebp - 0x270]
mov ecx, 0x1060c3d8
call fcn.1001b57c
jmp 0x1003a563
jmp 0x1003a54d
jmp 0x1003a52e
jmp 0x1003a508
push 0
push 0x1aeb
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push 1
push 1
lea eax, [ebp - 0x2ac]
push eax
push 0x2980
lea eax, [ebp - 0x48]
push eax
call fcn.10033737
add esp, 0x18
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x128], 0x7775
jge 0x1003a604
mov edx, dword [ebp - 0x204]
mov ecx, 0x1060c3d8
call fcn.1001da87
jmp 0x1003a620
mov dword [ebp - 4], 0xe
jmp 0x1003a630
push 1
push 0x5c5a
lea eax, [ebp - 0x2b8]
push eax
push 0x40f4
push 1
lea eax, [ebp - 0x48]
push eax
call fcn.1002220f
add esp, 0x18
mov dword [ebp - 0x3c], 0
jmp 0x1003a661
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1003a79d
push 0
lea ecx, [ebp - 0x2ac]
call fcn.1001b84b
mov dword [eax], 0xffff028a
mov eax, 0xffff028a
test eax, eax
je 0x1003a6a0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0xe4], 0
je 0x1003a6a0
mov dword [ebp - 0x130], 1
jmp 0x1003a6a7
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x130]
sub ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + eax*4 - 0xe4]
jge 0x1003a6c8
mov dword [ebp - 0x138], 1
jmp 0x1003a6cf
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x138], eax
jg 0x1003a6e6
mov dword [ebp - 0x140], 1
jmp 0x1003a6ed
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x140]
cmp eax, 0xffff
jbe 0x1003a70a
mov dword [ebp - 0x244], 1
jmp 0x1003a711
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x308], eax
xor eax, eax
je 0x1003a73c
push 1
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
cmp dword [eax], 0
je 0x1003a73c
mov dword [ebp - 0xec], 1
jmp 0x1003a743
and dword [ebp - 0xec], 0
push 2
lea ecx, [ebp - 0x2b8]
call fcn.1001b84b
mov ecx, dword [ebp - 0xec]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp + eax*4 - 0xe4]
cmp eax, dword [ebp - 0xec]
jne 0x1003a785
push 0
lea ecx, [ebp - 0x2ac]
call fcn.1001b84b
cmp dword [eax], 0
jne 0x1003a785
and dword [ebp - 0x148], 0
jmp 0x1003a78f
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x78], eax
jmp 0x1003a65a
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2b8]
call fcn.1001b82f
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2ac]
call fcn.1001b82f
jmp 0x1003a385
cmp dword [ebp - 0x1c], 0
je 0x1003a7d8
cmp dword [ebp - 0x24], 0
je 0x1003a7d8
mov dword [ebp - 0x20c], 1
jmp 0x1003a7df
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x35c], eax
push 1
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0xe0], 0xf09d
jle 0x1003a819
mov dword [ebp - 0x150], 1
jmp 0x1003a820
and dword [ebp - 0x150], 0
mov dword [ebp - 0x78], 0xc01
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x150]
jle 0x1003a83e
mov dword [ebp - 0x158], 1
jmp 0x1003a845
and dword [ebp - 0x158], 0
push 1
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [eax]
jg 0x1003a868
mov dword [ebp - 0x160], 1
jmp 0x1003a86f
and dword [ebp - 0x160], 0
push 1
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [eax]
jne 0x1003a892
mov dword [ebp - 0x168], 1
jmp 0x1003a899
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x168], eax
jg 0x1003a8b3
mov dword [ebp - 0x170], 1
jmp 0x1003a8ba
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
cmp eax, dword [ebp - 0x24]
jle 0x1003a8f5
mov dword [ebp - 0x274], 1
jmp 0x1003a8fc
and dword [ebp - 0x274], 0
push 0
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
mov esi, dword [ebp - 0x78]
sub esi, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
cmp esi, dword [eax]
jne 0x1003a92c
mov dword [ebp - 0xfc], 1
jmp 0x1003a933
and dword [ebp - 0xfc], 0
push 1
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
mov esi, dword [ebp - 0xfc]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0xf8]
call fcn.1001b84b
cmp esi, dword [eax]
jg 0x1003a968
cmp dword [ebp - 0x1c], 0
jne 0x1003a968
and dword [ebp - 0x188], 0
jmp 0x1003a972
mov dword [ebp - 0x188], 1
imul eax, dword [ebp - 0x188], 0xffff
cmp eax, dword [ebp - 0x214]
jge 0x1003a990
mov dword [ebp - 0x190], 1
jmp 0x1003a997
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x250], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.1001b82f
push 0x5a2f
push dword [ebp - 0x80]
push 0
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp - 0x14]
push 0x14d6
push 0x680
push 1
push 1
push 0x7b2b
push 0x643a
push 0x6c85
push 0x2f67
push 0x58d5
push 0x2371
call fcn.10031331
add esp, 0x3c
cmp dword [ebp - 0x1a0], 0
jbe 0x1003ace1
mov dword [ebp - 0x20], 0xfffffffb
mov dword [ebp - 0x5c], 0xcb63e8e1
mov dword [ebp - 0x88], 0
jmp 0x1003aa2e
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 3
jge 0x1003aa4a
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x380], 0x26bd
jmp 0x1003aa21
mov dword [ebp - 0x20], 2
jmp 0x1003aa5a
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1003ac07
mov dword [ebp - 0x54], 0x18d58162
mov dword [ebp - 0x54], 2
jmp 0x1003aa7b
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x1003ac02
mov dword [ebp - 0x198], 0x36cd
mov dword [ebp - 0x1b4], 0x1000b780
cmp dword [ebp - 0x198], 0x3a48
jle 0x1003ab83
and dword [ebp - 0x90], 0
jmp 0x1003aabf
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x6052
jge 0x1003ab83
and dword [ebp - 0x98], 0
jmp 0x1003aae5
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x2f09
jge 0x1003ab7e
and dword [ebp - 0xa0], 0
jmp 0x1003ab0b
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x3363
jge 0x1003ab79
and dword [ebp - 0xa8], 0
jmp 0x1003ab2d
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x5243
jge 0x1003ab77
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0x98]
and eax, dword [ebp - 0xa0]
or eax, dword [ebp - 0xa8]
cdq
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], edx
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
mov ecx, 0x1060c3d8
call fcn.1001b57c
jmp 0x1003ab20
jmp 0x1003aafe
jmp 0x1003aad8
jmp 0x1003aab2
mov dword [ebp - 0x28c], 0xffff
mov dword [ebp - 4], 0x11
cmp dword [ebp - 0x198], 0x36bf
jge 0x1003abb0
mov edx, dword [ebp - 0x1b4]
mov ecx, 0x1060c3d8
call fcn.1001da87
jmp 0x1003abcc
or dword [ebp - 4], 0xffffffff
jmp 0x1003abd6
lea eax, [ebp - 0x28c]
push eax
push 0
push 0x2231
lea eax, [ebp - 0x5c]
push eax
push 0x3d67
call fcn.1003afdb
add esp, 0x14
cmp dword [ebp - 0x54], 0
je 0x1003abfd
jmp 0x1003ac02
jmp 0x1003aa74
jmp 0x1003aa53
mov dword [ebp - 0x5c], 0
jmp 0x1003ac17
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x10
jg 0x1003acb5
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1003ac4d
push 0xb29
push 1
push 0x14f5
push 0x27f1
push 0x3c74
push 1
call fcn.10022362
add esp, 0x18
mov dword [ebp - 0x20], 0
jmp 0x1003ac5d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1b
jg 0x1003acb0
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x64], 0
jmp 0x1003ac7a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jg 0x1003acae
mov eax, dword [ebp - 0x64]
cmp dword [ebp + eax*4 - 0x380], 0
je 0x1003ac8f
jmp 0x1003acae
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1003acac
push 1
push 1
push 0x13b2
call fcn.100224fa
add esp, 0xc
jmp 0x1003ac73
jmp 0x1003ac56
jmp 0x1003ac10
lea eax, [ebp - 0x360]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x6c69
push 0x5817
call fcn.10044bca
pop ecx
pop ecx
call eax
jmp 0x10039949
jmp 0x1003af1d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1bc]
movzx eax, byte [eax]
test eax, eax
je 0x1003af12
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x1a8], 0x789d
mov dword [ebp - 0x1f8], 0x1000b7c4
cmp dword [ebp - 0x1a8], 0x7bea
jle 0x1003ae46
and dword [ebp - 0xc0], 0
jmp 0x1003ad87
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x7244
jge 0x1003ae46
and dword [ebp - 0xb0], 0
jmp 0x1003adad
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x18d0
jge 0x1003ae41
and dword [ebp - 0xb8], 0
jmp 0x1003add3
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x2431
jge 0x1003ae3c
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xb8]
xor eax, dword [ebp - 0xc0]
cdq
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], edx
push dword [ebp - 0x284]
push dword [ebp - 0x288]
lea ecx, [ebp - 0x3bc]
call fcn.1000db9a
pop ecx
pop ecx
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
call fcn.1001b55c
push eax
call fcn.1004de26
pop ecx
lea ecx, [ebp - 0x3bc]
call fcn.1001b552
jmp 0x1003adc6
jmp 0x1003ada0
jmp 0x1003ad7a
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0x1a8], 0x75a1
jge 0x1003ae71
push dword [ebp - 0x1f8]
call fcn.1004de26
pop ecx
jmp 0x1003ae8d
or dword [ebp - 4], 0xffffffff
jmp 0x1003ae97
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov eax, dword [eax]
neg eax
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
push 8
pop eax
cmp eax, 0xfffffff7
jne 0x1003aeed
mov dword [ebp - 0xe8], 1
jmp 0x1003aef4
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0xe8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xe8]
mov dword [eax], ecx
jmp 0x1003af1d
push 0x2ac
call dword [sym.imp.USER32.dll_ShowCaret]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret