Function at 0x10024525
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100251b2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xf69f7fd1
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x48], 0xffffffff
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1002456e
push 0
push 0xc87
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp - 4], 0
jne 0x100245ac
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c4], eax
xor eax, eax
inc eax
je 0x100245a3
cmp dword [ebp - 4], 0
jne 0x100245ac
and dword [ebp - 0xb8], 0
jmp 0x100245b6
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 4]
je 0x100245d0
mov dword [ebp - 0x110], 1
jmp 0x100245d7
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
je 0x10024647
mov dword [ebp - 0x60], 0
jmp 0x100245f5
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1002460b
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x134], 0x392f
jmp 0x100245ee
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0xc]
cmp eax, 0x5206
jg 0x10024624
mov dword [ebp - 0x10c], 1
jmp 0x1002462b
and dword [ebp - 0x10c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x134]
imul eax, dword [ebp - 0x10c]
mov dword [ebp - 0xc], eax
jmp 0x100246df
mov dword [ebp - 0x168], 0xc5540fff
mov dword [ebp - 0x160], 0xfffffff9
mov dword [ebp - 0xc], 0xcadd635
mov dword [ebp - 0x48], 0
jmp 0x10024672
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xb
jg 0x100246df
mov dword [ebp - 4], 0xffffffec
jmp 0x10024688
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x16
je 0x100246dd
mov dword [ebp - 0xc], 0xfffffff6
jmp 0x1002469e
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffe6
jge 0x100246db
push 0x7396
lea eax, [ebp - 0xc]
push eax
push 0x6c07
push 0x6bf1
push 0
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x160]
push eax
push 0x3588
push 0x3d66
call fcn.1002b628
add esp, 0x24
jmp 0x10024697
jmp 0x10024681
jmp 0x1002466b
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x97a4a12b
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x58], 0
jmp 0x10024715
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1002472b
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x174], 0xe2799ac7
jmp 0x1002470e
mov dword [ebp - 0x14], 0
jmp 0x1002473b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10024751
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x174], 0xe8b72fd4
jmp 0x10024734
mov dword [ebp - 0x14], 0xfffffffa
jmp 0x10024761
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
jne 0x1002478a
push 0x6624
push 1
call fcn.100243d4
pop ecx
pop ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x174]
mov dword [ebp - 0x14c], eax
jmp 0x1002475a
and dword [ebp - 0x74], 0
jmp 0x100247a0
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x74], eax
jge 0x100251b0
mov dword [ebp - 0x38], 0x2961
mov dword [ebp - 0x12c], 3
mov dword [ebp - 0x178], 0xde9a
mov dword [ebp - 0x70], 0
jmp 0x100247dd
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x100247f3
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x124], 0xf1860ec0
jmp 0x100247d6
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002480d
push 0
push 0x6314
call fcn.100269d8
pop ecx
pop ecx
cmp dword [ebp - 0x38], 0
je 0x100248b4
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x38], eax
jne 0x1002482b
mov dword [ebp - 0x94], 1
jmp 0x10024832
and dword [ebp - 0x94], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x124]
cmp dword [ebp - 0x94], eax
je 0x10024853
mov dword [ebp - 0xd4], 1
jmp 0x1002485a
and dword [ebp - 0xd4], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x124], 0xfffffff6
jne 0x10024876
mov dword [ebp - 0x9c], 1
jmp 0x1002487d
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x38]
jge 0x1002489a
mov dword [ebp - 0xf4], 1
jmp 0x100248a1
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
add eax, 0x38390e03
cmp eax, dword [ebp - 0x12c]
jne 0x100248c2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x124], 0
cmp dword [ebp - 0x38], 0
je 0x100248e4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x124], 0
je 0x100248e4
mov dword [ebp - 0x16c], 1
jmp 0x100248eb
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x184], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x124], 0xfffffff8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002491e
mov dword [ebp - 0xa4], 1
jmp 0x10024925
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x154], 0xfffffff9
mov dword [ebp - 0x144], 0xba028ea3
mov dword [ebp - 0x13c], 0x3e45bbbd
mov dword [ebp - 0x114], 0x6b719d87
mov dword [ebp - 0x164], 0xffffffff
mov dword [ebp - 0x1c8], 0x268dd2ac
mov dword [ebp - 0x18c], 0xbecc33ba
mov dword [ebp - 0x1b4], 0x6660b256
mov dword [ebp - 0x194], 0xc8c6dcff
mov dword [ebp - 0x1d0], 0xffffffff
mov dword [ebp - 0x19c], 0x9fa1
mov dword [ebp - 0x1c0], 0xd978029
mov dword [ebp - 0x1a4], 0xd700d1a0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x50], 0
jmp 0x100249cd
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x100249e3
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1fc], 0x7f20bab1
jmp 0x100249c6
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
call fcn.1002930d
add esp, 0x18
push 0x14f8
lea eax, [ebp - 0x15c]
push eax
push 1
call fcn.10024431
add esp, 0xc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x10024a3f
mov dword [ebp - 0xdc], 1
jmp 0x10024a46
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xec], 0xcc099843
mov dword [ebp - 0x2c], 0
jmp 0x10024a7a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xa
jne 0x10024cad
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x128], 0xbedfa90e
mov dword [ebp - 0x6c], 0
jmp 0x10024aa5
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x10024abb
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
jmp 0x10024a9e
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp + eax - 0x8c], ecx
je 0x10024ad9
mov dword [ebp - 0xac], 1
jmp 0x10024ae0
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
add eax, dword [ebp - 0xac]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0x13
jmp 0x10024b0c
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffff6
jl 0x10024ca8
mov dword [ebp - 0x3c], 0x905b8b78
mov dword [ebp - 0x10], 0
jmp 0x10024b2d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10024c9b
mov dword [ebp - 0x104], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x8c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x104], eax
jge 0x10024c29
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x8c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x8c], ecx
cmp dword [ebp - 0xb4], 0
jne 0x10024c08
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10024bb0
cmp dword [ebp - 0x3c], 0
jne 0x10024bb0
and dword [ebp - 0xe4], 0
jmp 0x10024bba
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xe4], eax
jg 0x10024bd1
mov dword [ebp - 0x118], 1
jmp 0x10024bd8
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x3c], 0xfff7
jb 0x10024bed
mov dword [ebp - 0xbc], 1
jmp 0x10024bf4
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xbc], eax
jle 0x10024c08
and dword [ebp - 0xfc], 0
jmp 0x10024c12
mov dword [ebp - 0xfc], 1
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xfc], eax
jg 0x10024c29
mov dword [ebp - 0xc4], 1
jmp 0x10024c30
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xc6f7
jle 0x10024c54
mov dword [ebp - 0xcc], 1
jmp 0x10024c5b
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xcc], eax
jge 0x10024c78
mov eax, 0x8fab8d23
test eax, eax
jne 0x10024c78
and dword [ebp - 0x84], 0
jmp 0x10024c82
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x3c], 0
je 0x10024c96
jmp 0x10024c9b
jmp 0x10024b26
push 0
call fcn.10025234
pop ecx
jmp 0x10024b05
jmp 0x10024a73
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x10024cc6
mov dword [ebp - 0x90], 1
jmp 0x10024ccd
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x68], 0
jmp 0x10024cf0
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x10024d06
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x1ec], 1
jmp 0x10024ce9
mov dword [ebp - 0x40], 0
jmp 0x10024d16
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x10024d2c
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1ec], 0xfe7d
jmp 0x10024d0f
mov byte [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.100251c5
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x10024e27
push 0x4000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0xf4bc
push 0x11350
call fcn.100222ad
pop ecx
pop ecx
call eax
mov dword [ebp - 0x180], 0xfffffffb
mov dword [ebp - 0x188], 0xffffffff
mov dword [ebp - 0x138], 0xad95e17c
mov dword [ebp - 0x190], 0xf390197f
mov dword [ebp - 0x44], 0xd8530de9
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x54], 0
jmp 0x10024dbb
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10024dd1
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x198], 6
jmp 0x10024db4
push 0x222d
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.10024473
add esp, 0xc
mov dword [ebp - 0x44], 0xffffffff
jmp 0x10024df4
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x14
jg 0x10024e22
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10024e20
push 0
push 0x1bfc
call fcn.10024525
pop ecx
pop ecx
jmp 0x10024ded
jmp 0x10024790
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x20], 0xfffffffa
mov dword [ebp - 0x18], 0
jmp 0x10024e45
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10024e5b
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1bc], 0xffffffff
jmp 0x10024e3e
mov dword [ebp - 0x18], 0
jmp 0x10024e6b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10024e81
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1dc], 0xfffffffc
jmp 0x10024e64
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x10024e9b
push 0x5c8b
push 1
call fcn.100244d9
pop ecx
pop ecx
cmp dword [ebp - 0x4c], 0
je 0x10024faf
cmp dword [ebp - 0x4c], 0
je 0x10024f94
cmp dword [ebp - 0x20], 0
jne 0x10024f5b
cmp dword [ebp - 0x20], 0xffffffff
jge 0x10024ecb
mov dword [ebp - 0x98], 1
jmp 0x10024ed2
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, 6
cmp eax, dword [ebp - 0x20]
jle 0x10024eec
mov dword [ebp - 0xa0], 1
jmp 0x10024ef3
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xa0]
je 0x10024f14
xor eax, eax
je 0x10024f14
mov dword [ebp - 0xa8], 1
jmp 0x10024f1b
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
sub eax, 0xe2632c5
imul eax, eax, 0xfffffffe
test eax, eax
je 0x10024f3f
cmp dword [ebp - 0x20], 0
je 0x10024f3f
mov dword [ebp - 0xb0], 1
jmp 0x10024f46
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0xb0]
sub eax, 7
jne 0x10024f5b
and dword [ebp - 0x80], 0
jmp 0x10024f62
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x80], eax
je 0x10024f76
mov dword [ebp - 0xc0], 1
jmp 0x10024f7d
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc0], eax
je 0x10024f94
mov dword [ebp - 0xc8], 1
jmp 0x10024f9b
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xc8], eax
jl 0x10024faf
mov dword [ebp - 0x78], 1
jmp 0x10024fb3
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0x1bc], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0x1dc], ecx
push dword [ebp - 0x140]
push 0x1220
push dword [ebp - 0x148]
push 0
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 8]
push dword [ebp - 0x150]
call fcn.10025e81
add esp, 0x1c
push dword [ebp - 0x5c]
push dword [ebp - 8]
push 0x2695
lea eax, [ebp - 0x108]
push eax
push 0x38d8
push 0
call fcn.10025330
add esp, 0x18
cmp dword [ebp - 0x108], 0
jbe 0x100251ab
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x64], 0
jmp 0x10025043
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x10025059
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0xf8], 0x2799ac78
jmp 0x1002503c
mov dword [ebp - 0x1c], 0
jmp 0x10025069
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x10025153
mov dword [ebp - 0x7c], 0x62c9cc14
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x100250a6
push 0
push 0x561
push 0x1e22
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
cmp dword [ebp - 0x7c], 1
je 0x100250b8
mov dword [ebp - 0xd0], 1
jmp 0x100250bf
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd0], eax
jge 0x100250d6
mov dword [ebp - 0xd8], 1
jmp 0x100250dd
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd8], eax
jle 0x100250f4
mov dword [ebp - 0xe0], 1
jmp 0x100250fb
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0
je 0x10025116
cmp dword [ebp - 0x7c], 0
je 0x10025116
mov dword [ebp - 0xe8], 1
jmp 0x1002511d
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0xe8]
je 0x10025134
mov dword [ebp - 0xf0], 1
jmp 0x1002513b
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
sub eax, 7
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + ecx*4 - 0xf8], eax
jmp 0x10025062
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf8], 0
jne 0x1002516f
mov dword [ebp - 0x100], 1
jmp 0x10025176
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp - 0x158]
push dword [ebp - 0x108]
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0xf4bc
push 0x11af5
call fcn.100222ad
pop ecx
pop ecx
call eax
jmp 0x10024790
jmp 0x100251c1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esp, ebp
pop ebp
ret