Function at 0x1001af26
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060f22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x124
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001b382
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x1001afe2
push 0x61b
push 0x1cb2
push 0x1a50
push 0x1da9
push 0x913
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
jmp 0x1001b37d
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x54], 0x5c03
mov dword [ebp - 0xc4], 0x10008a84
cmp dword [ebp - 0x54], 0x5c52
jle 0x1001b13f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and dword [ebp - 0x30], 0
jmp 0x1001b077
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x280f
jge 0x1001b132
and dword [ebp - 0x2c], 0
jmp 0x1001b091
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x608b
jge 0x1001b12d
and dword [ebp - 0x28], 0
jmp 0x1001b0ab
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1e5e
jge 0x1001b128
and dword [ebp - 0x1c], 0
jmp 0x1001b0c1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5c1
jge 0x1001b123
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x1c]
or eax, ecx
cdq
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
lea ecx, [ebp - 0x134]
call fcn.1000d000
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
call fcn.1000f5af
push eax
call fcn.1004b356
pop ecx
lea ecx, [ebp - 0x134]
call fcn.1000f5a5
jmp 0x1001b0ba
jmp 0x1001b0a4
jmp 0x1001b08a
jmp 0x1001b070
push 0xf3c
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xb0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0x5ae9
jge 0x1001b164
push dword [ebp - 0xc4]
call fcn.1004b356
pop ecx
jmp 0x1001b180
or dword [ebp - 4], 0xffffffff
jmp 0x1001b18a
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x6c]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x38]
call fcn.1000f782
cmp esi, dword [eax]
jg 0x1001b20e
mov dword [ebp - 0x7c], 1
jmp 0x1001b212
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
mov eax, 0x4674
cmp eax, 7
jne 0x1001b230
mov dword [ebp - 0x4c], 1
jmp 0x1001b234
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jg 0x1001b263
push 0
mov ecx, dword [ebp - 0x38]
call fcn.1000f782
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.1000f782
cmp dword [eax], 0
je 0x1001b263
mov dword [ebp - 0x8c], 1
jmp 0x1001b26a
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x8c]
neg eax
jne 0x1001b292
push 1
mov ecx, dword [ebp - 0xc0]
call fcn.1000f782
cmp dword [eax], 0
jne 0x1001b292
and dword [ebp - 0x34], 0
jmp 0x1001b299
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx]
jle 0x1001b2ba
mov dword [ebp - 0x40], 1
jmp 0x1001b2be
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
jge 0x1001b2d5
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
je 0x1001b2d5
mov dword [ebp - 0x5c], 1
jmp 0x1001b2d9
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x2309
jge 0x1001b2ee
mov dword [ebp - 0x84], 1
jmp 0x1001b2f5
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
cmp dword [ebp - 0x84], eax
jle 0x1001b30e
mov dword [ebp - 0x64], 1
jmp 0x1001b312
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x136b8055
jl 0x1001b324
mov dword [ebp - 0x44], 1
jmp 0x1001b328
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x44]
jle 0x1001b33c
mov dword [ebp - 0xd0], 1
jmp 0x1001b343
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x38]
call fcn.1000f782
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.1000f782
cmp esi, dword [eax]
jl 0x1001b36c
mov dword [ebp - 0xd8], 1
jmp 0x1001b373
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1001b51e
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x70], 0x7d0fa516
mov dword [ebp - 0xe0], 4
mov dword [ebp - 0x18], 0xfffd
mov dword [ebp - 0x24], 0
jmp 0x1001b3c3
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1001b3d9
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x118], 0x273d
jmp 0x1001b3bc
cmp dword [ebp - 0x14], 9
ja 0x1001b3e8
mov dword [ebp - 0x68], 1
jmp 0x1001b3ec
and dword [ebp - 0x68], 0
or eax, 0xffffffff
je 0x1001b3f7
cmp dword [ebp - 0x14], 0
jne 0x1001b401
xor eax, eax
jne 0x1001b401
and dword [ebp - 0x50], 0
jmp 0x1001b408
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x50], eax
jle 0x1001b419
mov dword [ebp - 0x58], 1
jmp 0x1001b41d
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xfff6
jae 0x1001b42f
mov dword [ebp - 0x60], 1
jmp 0x1001b433
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x60]
je 0x1001b44a
cmp dword [ebp - 0x14], 0
je 0x1001b44a
mov dword [ebp - 0x78], 1
jmp 0x1001b44e
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x78]
cmp eax, 0xfffffffa
jge 0x1001b468
mov dword [ebp - 0x80], 1
jmp 0x1001b46c
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x80], eax
jle 0x1001b480
mov dword [ebp - 0x88], 1
jmp 0x1001b487
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x14]
cmp eax, 7
jg 0x1001b4a1
mov dword [ebp - 0x90], 1
jmp 0x1001b4a8
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0
jmp 0x1001b4ce
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1001b4e5
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x118], 0
je 0x1001b4e3
jmp 0x1001b4e5
jmp 0x1001b4c7
push 0x516d
push 0x2e29
push 0x9ff
push dword [ebp - 0xe8]
push 0
push 0x1e1a
push 0x77f4
push dword [ebp - 0xf0]
push 0x2cc1
push 0x2d96
call fcn.10017fd8
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret