Function at 0x4c2250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f749d
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x5321d4]
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 dword [ebp - 4], 1
call fcn.004cc920
mov edi, eax
or ebx, 0xffffffff
test edi, edi
jne 0x4c229a
xor esi, esi
jmp 0x4c2717
lea eax, [ebp - 0x4c4]
push eax
call fcn.0040f8c0
mov ecx, eax
call fcn.00406e90
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00470520
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00470520
add esp, 0x18
call fcn.0040f8c0
push 0x103
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
call fcn.0040f8c0
push 0x103
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push 0x512a24
call fcn.004cc950
push eax
push str.type
push edi
call fcn.004cc550
add esp, 0x10
lea ecx, [ebp - 0x4a4]
push 0xfde9
push dword [ebp - 0x4c4]
call fcn.004c1db0
push dword [eax]
call fcn.004cc950
push eax
push 0x512a30
push edi
call fcn.004cc550
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a0]
add esp, 0x10
cmp eax, ecx
je 0x4c2366
push eax
call fcn.0049a28f
add esp, 4
push 0xfde9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.004c1db0
push dword [eax]
call fcn.004cc950
push eax
push 0x512a34
push edi
call fcn.004cc550
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a0]
add esp, 0x10
cmp eax, ecx
je 0x4c23ac
push eax
call fcn.0049a28f
add esp, 4
push 0xfde9
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.004c1db0
push dword [eax]
call fcn.004cc950
push eax
push str.mid2
push edi
call fcn.004cc550
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a0]
add esp, 0x10
cmp eax, ecx
je 0x4c23f2
push eax
call fcn.0049a28f
add esp, 4
push 0xfde9
push dword [ebp + 8]
lea ecx, [ebp - 0x4a4]
call fcn.004c1db0
push dword [eax]
call fcn.004cc950
push eax
push str.appver
push edi
call fcn.004cc550
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a0]
add esp, 0x10
cmp eax, ecx
je 0x4c2434
push eax
call fcn.0049a28f
add esp, 4
push 0xfde9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x4a4]
call fcn.004c1db0
push dword [eax]
call fcn.004cc950
push eax
push str.modver
push edi
call fcn.004cc550
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a0]
add esp, 0x10
cmp eax, ecx
je 0x4c2476
push eax
call fcn.0049a28f
add esp, 4
push str.anysearch
call fcn.004cc950
push eax
push 0x512a5c
push edi
call fcn.004cc550
add esp, 0x10
call fcn.0041d5d0
mov ecx, eax
test ecx, ecx
je 0x4c2772
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4b4], esi
push edi
mov byte [ebp - 4], 3
call fcn.004cce50
add esp, 4
mov dword [ebp - 0x4b0], eax
test eax, eax
je 0x4c25fc
push str.082a732b_e8bd_466b_a817_ac9f40b6cd50
lea ecx, [ebp - 0x4c0]
call fcn.004c1cc0
push dword [ebp - 0x4b0]
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 4
call fcn.004c1cc0
lea eax, [ebp - 0x4c0]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.004c4660
add esp, 0xc
mov edx, dword [eax]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 6
mov dword [ebp - 0x4c8], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x4b8], eax
cmp eax, ecx
je 0x4c258b
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4c2576
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4c2576
push dword [ebp - 0x4b8]
call fcn.00406260
add esp, 4
mov dword [ebp - 0x4b8], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4c256b
mov esi, dword [ebp - 0x4c8]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4b8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4b4], esi
jmp 0x4c258b
push dword [edx - 0xc]
lea ecx, [ebp - 0x4b4]
push edx
call fcn.00407b50
mov esi, dword [ebp - 0x4b4]
mov edx, dword [ebp - 0x4bc]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c25ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4ac]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c25cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c0]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c25ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x4b0]
call fcn.0049a28f
add esp, 4
push edi
call fcn.004ccae0
add esp, 4
call fcn.0041d5d0
mov ecx, eax
test ecx, ecx
je 0x4c277c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4b0], eax
lea eax, [ebp - 0x4bc]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x4a5]
call fcn.004c1fc0
push 0
push 0xbb8
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x4b4]
push ecx
push eax
call fcn.004c2790
mov edx, dword [ebp - 0x4bc]
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 7
mov eax, ebx
sete byte [ebp - 0x4a5]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2684
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x4a5], 0
mov edi, dword [ebp - 0x4b0]
je 0x4c269f
mov dword [ebp - 0x4ac], 0
jmp 0x4c26ba
push 0x512a88
push edi
call fcn.004a39ac
xor ecx, ecx
add esp, 8
test eax, eax
sete cl
mov dword [ebp - 0x4ac], ecx
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4c26d5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c26f0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c4]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2711
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp + 8]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2735
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4c2754
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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.0044474a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402ad0
push 0x80004005
call fcn.00402ad0
int3