Function at 0x1002a87e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008054f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002b773
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x104], 4
mov dword [ebp - 0xa0], 0x7cd95da2
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x18c], 0xfffffffb
mov dword [ebp - 0x8c], 0xfffffff7
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x20c], 0xfffffffc
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x18], 0
jmp 0x1002a90e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002a924
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x268], 0x4e8fe752
jmp 0x1002a907
mov dword [ebp - 0x18], 0
jmp 0x1002a934
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002a94a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x120], 0x8d20
jmp 0x1002a92d
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x1f8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x120]
dec eax
mov dword [ebp - 0x90], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0x120], ecx
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x90]
je 0x1002a9ec
cmp dword [ebp - 0x168], 0x498b94be
je 0x1002a9ac
cmp dword [ebp - 0x18c], 0
je 0x1002a9ac
mov dword [ebp - 0x114], 1
jmp 0x1002a9b3
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0xd8]
jge 0x1002a9d7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x120], 0
je 0x1002a9ec
mov eax, 0x370cc321
test eax, eax
je 0x1002a9ec
mov dword [ebp - 0x194], 1
jmp 0x1002a9f3
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0xd8], eax
je 0x1002aa0d
mov dword [ebp - 0x98], 1
jmp 0x1002aa14
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x98], eax
jg 0x1002aa2e
mov dword [ebp - 0x190], 1
jmp 0x1002aa35
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x200], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x120]
sub eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x208], 0xc204e2db
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1002aa8d
push 0
call fcn.1002ce67
pop ecx
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002aad0
push 0x6493
push 0x2fab
push 0x1f95
push 0x2ebe
push 0x4572
push 0
push 0x71d7
push 0x5803
push 0xa81
push 0x1a58
call fcn.1002dbe2
add esp, 0x28
and dword [ebp - 0x68], 0
jmp 0x1002aae6
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x68], eax
jge 0x1002b771
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x184], 0x37400631
mov dword [ebp - 0x148], 0xe8b0d193
mov dword [ebp - 0x178], 0xffffffff
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x148]
push eax
push 1
call fcn.10029d3f
add esp, 0x14
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x1002ab70
push 1
push 0x2bb5
push 0x106e
push 0x5400
push 0x5187
call fcn.10029e00
add esp, 0x14
mov dword [ebp - 0x30], 0xf5540d7f
mov dword [ebp - 0x130], 0xce9d05ba
mov dword [ebp - 0x12c], 0xce9d05ba
mov dword [ebp - 0x128], 0xce9d05ba
mov dword [ebp - 0x124], 0xce9d05ba
mov dword [ebp - 0x5c], 0xf433c8a0
push 2
lea ecx, [ebp - 0x228]
call fcn.10016f46
and dword [ebp - 4], 0
mov dword [ebp - 0x210], 0xeca74b80
mov dword [ebp - 0x58], 0
jmp 0x1002abd1
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1002abea
push dword [ebp - 0x58]
lea ecx, [ebp - 0x228]
call fcn.10016fb3
and dword [eax], 0
jmp 0x1002abca
mov dword [ebp - 0x30], 0x1c
jmp 0x1002abfa
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffe7
jle 0x1002af78
mov dword [ebp - 0x38], 0x3ff82ff4
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x38], 0
jmp 0x1002ac25
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x1002af73
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x60], 0
jmp 0x1002ac49
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1002ac5c
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x80], 0xfffffff8
jmp 0x1002ac42
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x80], 3
jmp 0x1002ac81
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x80], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
jl 0x1002ae2b
mov dword [ebp - 0x34], 0xffff
mov dword [ebp - 0x19c], 0xd28e487
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x30], eax
jl 0x1002acb7
mov dword [ebp - 0xe0], 1
jmp 0x1002acbe
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe0]
sub ecx, dword [ebp + eax - 0x130]
cmp ecx, 6
jae 0x1002ace2
mov dword [ebp - 0xa8], 1
jmp 0x1002ace9
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
mov eax, dword [ebp + eax*4 - 0x130]
mov ecx, dword [ebp - 0xa8]
lea eax, [ecx + eax + 1]
cmp eax, 0xfffffffc
je 0x1002ad15
mov dword [ebp - 0x100], 1
jmp 0x1002ad1c
and dword [ebp - 0x100], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
push 4
pop ecx
shl ecx, 1
mov edx, dword [ebp - 0x100]
sub edx, dword [ebp + ecx - 0x130]
cmp dword [ebp + eax*4 - 0x130], edx
jg 0x1002ad4d
mov dword [ebp - 0xb0], 1
jmp 0x1002ad54
and dword [ebp - 0xb0], 0
mov dword [ebp - 0x34], 0xf084
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xb0]
jge 0x1002ad72
mov dword [ebp - 0xe8], 1
jmp 0x1002ad79
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
mov eax, dword [ebp + eax*4 - 0x130]
cmp eax, dword [ebp - 0xe8]
jl 0x1002ae0c
mov dword [ebp - 0x218], 0xc12f
mov dword [ebp - 0x34], 0
jmp 0x1002adac
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x28
je 0x1002ae0a
mov dword [ebp - 0x4c], 0
jmp 0x1002adc2
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x1002add8
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x274], 0xffffffff
jmp 0x1002adbb
xor eax, eax
inc eax
je 0x1002adf5
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x80], 0
je 0x1002adf5
mov dword [ebp - 0xb8], 1
jmp 0x1002adfc
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x19c], eax
jmp 0x1002ada5
jmp 0x1002ae26
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002ae26
push 0x2c71
push 0
call fcn.1002a87e
pop ecx
pop ecx
jmp 0x1002ac6c
mov dword [ebp - 0x5c], 0x19
jmp 0x1002ae3b
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffee
jne 0x1002af6e
mov dword [ebp - 0x70], 6
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x198], 0xba309ce0
cmp dword [ebp - 0x70], 1
je 0x1002ae6f
mov dword [ebp - 0x110], 1
jmp 0x1002ae76
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0xfffffff6
jl 0x1002ae8b
mov dword [ebp - 0xc0], 1
jmp 0x1002ae92
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0xc0], eax
jg 0x1002aea9
mov dword [ebp - 0xf0], 1
jmp 0x1002aeb0
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 1
jge 0x1002aec5
mov dword [ebp - 0xc8], 1
jmp 0x1002aecc
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x108], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x108]
mov dword [ebp + eax - 0x80], ecx
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x70]
sub eax, 0x2a9
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x150]
jg 0x1002af13
mov dword [ebp - 0xd0], 1
jmp 0x1002af1a
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x180]
cmp dword [ebp - 0xd0], eax
je 0x1002af38
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x1002af38
and dword [ebp - 0x158], 0
jmp 0x1002af42
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x38], eax
jge 0x1002af56
mov dword [ebp - 0xf8], 1
jmp 0x1002af5d
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x198], eax
jmp 0x1002ae34
jmp 0x1002ac1e
jmp 0x1002abf3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10016fae
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002afa0
mov dword [ebp - 0x88], 1
jmp 0x1002afa7
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002afcc
mov dword [ebp - 0x94], 1
jmp 0x1002afd3
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x250], 0xc204e2db
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1002b009
push 0x2855
push 0
push 0x5bab
call fcn.1002bfc8
add esp, 0xc
push 0
call fcn.1002ee7d
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002b02a
mov dword [ebp - 0x9c], 1
jmp 0x1002b031
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x74], 5
push 2
lea ecx, [ebp - 0x1b8]
call fcn.10016f46
mov dword [ebp - 4], 1
mov dword [ebp - 0x188], 0
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0
push 0x563f
push 0x5b77
call fcn.1002d1b3
add esp, 0x14
mov dword [ebp - 0x2c], 0xfffffff6
jmp 0x1002b09b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1a
jge 0x1002b0d8
mov dword [ebp - 0x160], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x798
push 0x14cd
push 1
call fcn.10029e8e
add esp, 0x18
cmp dword [ebp - 0x74], 0
je 0x1002b0d6
jmp 0x1002b0d8
jmp 0x1002b094
push 0xd2b
lea eax, [ebp - 0x188]
push eax
push 0x254b
lea eax, [ebp - 0x74]
push eax
push 1
push 0x740b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.10029f50
add esp, 0x20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.10016fae
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002b14c
push 0x4000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x52c9
push 0x33c1
call fcn.1002549c
pop ecx
pop ecx
call eax
jmp 0x1002aad6
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x1d4], 7
mov dword [ebp - 0x40], 0
jmp 0x1002b16d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x1002b180
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x54], 1
jmp 0x1002b166
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jg 0x1002b197
mov dword [ebp - 0xa4], 1
jmp 0x1002b19e
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa4], eax
jle 0x1002b1b5
mov dword [ebp - 0xac], 1
jmp 0x1002b1bc
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xac]
je 0x1002b1d3
mov dword [ebp - 0xb4], 1
jmp 0x1002b1da
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
cmp eax, 0x46c2
jge 0x1002b1fa
mov dword [ebp - 0xbc], 1
jmp 0x1002b201
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x54], 1
cmp dword [ebp - 0xbc], 1
jl 0x1002b224
mov dword [ebp - 0xc4], 1
jmp 0x1002b22b
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xd5493e
je 0x1002b24d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x54], 0
jne 0x1002b24d
and dword [ebp - 0x134], 0
jmp 0x1002b257
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x23c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jne 0x1002b281
mov dword [ebp - 0xcc], 1
jmp 0x1002b288
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xcc]
je 0x1002b2a9
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x54], 0
jne 0x1002b2a9
and dword [ebp - 0xd4], 0
jmp 0x1002b2b3
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xd4], eax
jge 0x1002b306
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002b2de
push 0x6b76
push 0x20f5
push 0
call fcn.1002d339
add esp, 0xc
push 0x3314
push 0x6123
push 0x356b
push 0
push 0x1250
push 0x6b5a
call fcn.1002ff17
add esp, 0x18
jmp 0x1002b3e2
mov dword [ebp - 0x64], 0x72737ae9
mov dword [ebp - 0x1a0], 0xffffffff
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1002b337
push 0x2302
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x10], eax
jle 0x1002b34b
mov dword [ebp - 0xe4], 1
jmp 0x1002b352
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0x64], 0
jne 0x1002b366
xor eax, eax
inc eax
jne 0x1002b366
and dword [ebp - 0xdc], 0
jmp 0x1002b370
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0x64]
jne 0x1002b38d
mov eax, 0x752b
test eax, eax
jne 0x1002b38d
and dword [ebp - 0xec], 0
jmp 0x1002b397
mov dword [ebp - 0xec], 1
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xec]
jge 0x1002b3b1
mov dword [ebp - 0xf4], 1
jmp 0x1002b3b8
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xf4], eax
jl 0x1002b3cf
mov dword [ebp - 0xfc], 1
jmp 0x1002b3d6
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x170]
push eax
push 0x30bb
push 0
push 0x5ab9
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.1002eefc
add esp, 0x20
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x1dc], 0x525d2d91
mov dword [ebp - 0x214], 0xe13a6c9c
mov dword [ebp - 0x1e4], 0xb44cf592
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x164], 0xfffffff7
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x1ec], 0x1a7a81a8
mov dword [ebp - 0x16c], 0xfffffffe
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1f4], eax
mov eax, 0x94643cdf
test eax, eax
je 0x1002b5dd
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x230], 0xfffffffb
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x22c], 0xd06bde64
mov dword [ebp - 0x14c], 0xfffffffb
mov dword [ebp - 0x28], 3
jmp 0x1002b4ec
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1002b5c2
push 2
lea ecx, [ebp - 0x1c4]
call fcn.10016f46
mov dword [ebp - 4], 2
mov dword [ebp - 0x144], 8
mov dword [ebp - 0x3c], 0
jmp 0x1002b524
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1002b53a
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x25c], 0xfffffffd
jmp 0x1002b51d
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x6f02
lea eax, [ebp - 0x1c4]
push eax
push 0x587a
call fcn.1002d3a0
add esp, 0x14
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x25c], 0
je 0x1002b587
push 0
lea ecx, [ebp - 0x1c4]
call fcn.10016fb3
cmp dword [eax], 0
je 0x1002b587
mov dword [ebp - 0x84], 1
jmp 0x1002b58e
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1002b5ae
push 0
call fcn.1002d8c5
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.10016fae
jmp 0x1002b4e5
push 0
push 0x4028
lea eax, [ebp - 0x14c]
push eax
call fcn.1002b818
add esp, 0xc
jmp 0x1002b679
push 1
lea ecx, [ebp - 0x1ac]
call fcn.10016f46
mov dword [ebp - 4], 3
mov dword [ebp - 0x15c], 0xffffffff
mov dword [ebp - 0x44], 0
jmp 0x1002b60b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1002b627
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1ac]
call fcn.10016fb3
mov dword [eax], 0x5dbc2a41
jmp 0x1002b604
push 0
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.1002d4b1
add esp, 0x14
lea eax, [ebp - 0x1ac]
push eax
push 0
lea eax, [ebp - 0x16c]
push eax
push 0x509e
call fcn.1002ce84
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.10016fae
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x237f
push 0
call fcn.1002d566
add esp, 0x14
cmp dword [ebp - 0x10c], 0
jbe 0x1002b76c
mov dword [ebp - 0x204], 1
mov dword [ebp - 0x234], 0xcdbe8e56
mov dword [ebp - 0x1cc], 0x318d5816
mov dword [ebp - 0x1d0], 1
mov dword [ebp - 0x1d8], 0x5de05dae
mov dword [ebp - 0x174], 6
mov dword [ebp - 0x1e0], 0xcf33
mov dword [ebp - 0x50], 0
jmp 0x1002b6fa
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1002b710
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1e8], 0x585b7f3
jmp 0x1002b6f3
lea eax, [ebp - 0x174]
push eax
push 0
call fcn.1002fe6f
pop ecx
pop ecx
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1002b740
push 0x54de
push 0x576f
push 1
call fcn.1002a812
add esp, 0xc
lea eax, [ebp - 0x1f0]
push eax
push dword [ebp - 0x17c]
push dword [ebp - 0x10c]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x52c9
push 0x2e95
call fcn.1002549c
pop ecx
pop ecx
call eax
jmp 0x1002aad6
jmp 0x1002b793
push 0
push 0x1402
push 0x247c
push 0
push 0x28f
push 0x1a71
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret