Function at 0x4086d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8595
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x5c], ebx
lea edx, [ebp + 8]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00406830
lea edx, [ebp + 0x20]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00406830
lea edx, [ebp + 0x38]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00406830
mov byte [ebp - 4], 5
mov ecx, dword [ebx]
push str.OnNotify
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + 0xc]
add edx, 0x10
call fcn.0043c610
mov esi, dword [ebx]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
test edx, edx
jne 0x408768
mov eax, dword [esi + 0xc]
mov byte [eax + 8], dl
jmp 0x40877c
mov ecx, esi
call fcn.0044da40
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov al, byte [eax + 4]
or al, 0x40
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
cmp dword [eax + 0xc], 0
jle 0x408790
mov ecx, esi
call fcn.0044bba0
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebx]
cmovae edx, edi
test edx, edx
jne 0x4087ab
mov eax, dword [esi + 0xc]
mov byte [eax + 8], dl
jmp 0x4087c2
mov ecx, esi
call fcn.0044da40
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x58]
mov dword [ecx], eax
mov al, byte [eax + 4]
or al, 0x40
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
cmp dword [eax + 0xc], 0
jle 0x4087d6
mov ecx, esi
call fcn.0044bba0
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x40]
cmovae edx, ebx
mov esi, dword [esi]
test edx, edx
jne 0x4087f4
mov eax, dword [esi + 0xc]
mov byte [eax + 8], dl
jmp 0x40880b
mov ecx, esi
call fcn.0044da40
mov ecx, dword [esi + 0xc]
mov ebx, dword [ebp - 0x40]
mov dword [ecx], eax
mov al, byte [eax + 4]
or al, 0x40
mov byte [ecx + 8], al
mov eax, dword [esi + 0x10]
add dword [esi + 0xc], 0x10
cmp dword [eax + 0xc], 0
jle 0x40881f
mov ecx, esi
call fcn.0044bba0
mov esi, dword [ebp - 0x5c]
mov edx, 3
push 0
push 0
push 0
mov ecx, dword [esi]
push 0
call fcn.0043cc70
add esp, 0x10
test eax, eax
je 0x408870
mov ecx, dword [esi]
or edx, 0xffffffff
push 0
push 0x515b10
push 0
call fcn.0043c3a0
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esi]
mov edx, 0xfffffffe
call fcn.0043bf40
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4088a3
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x408899
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089f8
push ecx
push ebx
call fcn.00476a87
add esp, 8
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4088d6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4088cc
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089f8
push ecx
push edi
call fcn.00476a87
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40890c
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x408902
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089f8
push ecx
push edx
call fcn.00476a87
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x408946
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40893c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089f8
push edx
push ecx
call fcn.00476a87
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x408990
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089f8
push edx
push ecx
call fcn.00476a87
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x4089da
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4089d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089f8
push edx
push ecx
call fcn.00476a87
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
ret 0x48
call fcn.004ca66d
int3