Function at 0x1004f850
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126107
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x10167c60]
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 esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x140]
push eax
call fcn.1009c4d0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x120], 0
call fcn.1009c6b0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x140]
call fcn.1009c6b0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x1004fb23
push dword [ebp - 0x120]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x3c]
mov esi, eax
test esi, esi
je 0x1004fb23
call fcn.10097460
mov ebx, eax
mov dword [ebp - 0x11c], ebx
test ebx, ebx
je 0x1004fb23
mov ecx, dword [esi]
lea eax, [ebp - 0x134]
push eax
push esi
call dword [ecx]
mov eax, dword [esi]
lea ecx, [ebp - 0x130]
push ecx
push esi
mov dword [ebp - 4], 0
call dword [eax + 4]
mov byte [ebp - 4], 1
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1004fb41
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x124], edi
mov byte [ebp - 4], 2
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1004fb4b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x128], esi
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 3
test eax, eax
je 0x1004f97f
push eax
lea ecx, [ebp - 0x124]
call fcn.10008380
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x1004f99b
push eax
lea ecx, [ebp - 0x128]
call fcn.10008380
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.10041930
push dword [eax]
call fcn.10097490
push eax
push 0x10134e54
push ebx
call fcn.10097350
mov edx, dword [ebp - 0x118]
or ebx, 0xffffffff
add esp, 0x18
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004f9de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.10041930
push dword [eax]
call fcn.10097490
push eax
push 0x10134e58
push dword [ebp - 0x11c]
call fcn.10097350
mov edx, dword [ebp - 0x118]
add esp, 0x18
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004fa23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x11c]
call fcn.100976e0
add esp, 4
mov dword [ebp - 0x138], eax
test eax, eax
je 0x1004facb
lea ecx, [ebp - 0x110]
push 0xfde9
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x114]
push eax
call fcn.10030850
push dword [ebp - 0x114]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.100079a0
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x1004fa8e
push eax
call fcn.100e9f68
add esp, 4
push dword [ebp - 0x118]
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x138]
call fcn.100e9f68
mov edx, dword [ebp - 0x118]
add esp, 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004facb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x11c]
call fcn.10097510
add esp, 4
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004faf4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1004fb0d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x130]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x134]
call esi
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.100c495f
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
int3