Function at 0x10001ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012160b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x10182624]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov dword [ebp - 0x10], 0x100000
mov dword [ebp - 0x20], 5
mov eax, dword [ebp - 0x20]
shl eax, 0x14
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10001b32
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001b5d
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.10001010
add esp, 4
mov dword [ebp - 4], 0
push 0
call fcn.10005160
add esp, 4
push eax
call fcn.10104f43
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x118], 1
jmp 0x10001baf
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 5
jg 0x10001bd5
mov eax, dword [ebp - 0x118]
add eax, 1
imul eax, dword [ebp - 0x118]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
jmp 0x10001ba0
lea ecx, [ebp - 0x2c]
push ecx
push 0x10008310
push 0x100082f0
push 0x100082c0
push 0x100082a0
push 0x10001a80
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10008320
add esp, 0x20
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x11c], 0
jmp 0x10001c2c
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x14]
jge 0x10001c58
call fcn.10104f55
and eax, 0x80000001
jns 0x10001c48
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x100]
add ecx, dword [ebp - 0x11c]
mov byte [ecx], al
jmp 0x10001c1d
mov dword [ebp - 0x120], 0
jmp 0x10001c73
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
cmp dword [ebp - 0x120], 4
jge 0x10001d2b
call fcn.10104f55
cdq
mov ecx, 0x14
idiv ecx
mov dword [ebp - 0x124], edx
call fcn.10104f55
xor edx, edx
mov ecx, 7
div ecx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], 0
jmp 0x10001cc2
mov edx, dword [ebp - 0x12c]
add edx, 1
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 0x14
jge 0x10001d26
mov eax, dword [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x110]
call fcn.100052c0
mov ecx, eax
call fcn.10005400
mov edx, dword [ebp - 0x128]
mov cl, byte [edx + str.WRBAMGO]
mov byte [eax], cl
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x110]
call fcn.100052c0
mov ecx, eax
call fcn.10005400
mov byte [eax], 0x20
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001cb3
jmp 0x10001c64
push 1
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.10009000
add esp, 8
mov dword [ebp - 0x28], eax
push 2
push 1
call dword [ebp - 0x28]
add esp, 8
push eax
push 0
call fcn.10105024
add esp, 8
mov edx, dword [ebp - 0x114]
push edx
call fcn.10009310
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10005220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret