Function at 0x4c2350
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f78a0
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x535224]
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.004c31f0
mov edi, eax
or ebx, 0xffffffff
test edi, edi
jne 0x4c239a
xor esi, esi
jmp 0x4c294d
mov ecx, dword [0x53a848]
test ecx, ecx
jne 0x4c2400
push 0x533df0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x53a848], 0
jne 0x4c23ef
push 0x20
call fcn.0041b9a0
add esp, 4
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4c23d9
mov ecx, eax
call fcn.00405ae0
jmp 0x4c23db
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x53a848], eax
push 0x533df0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x53a848]
lea eax, [ebp - 0xb8]
push eax
call fcn.00406a50
mov byte [ebp - 4], 3
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x4c29a8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 4
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x4c29b2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 5
call fcn.004068a0
mov ecx, eax
call fcn.004469a0
mov edx, eax
test edx, edx
jne 0x4c2468
xor ecx, ecx
jmp 0x4c247f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2470
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.00407a00
call fcn.004068a0
mov ecx, eax
call fcn.00446980
mov edx, eax
test edx, edx
jne 0x4c24a2
xor ecx, ecx
jmp 0x4c24b6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c24a7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00407a00
push 0x514254
call fcn.004c3220
push eax
push str.type
push edi
call fcn.004c2e20
add esp, 0x10
lea ecx, [ebp - 0x94]
push 0xfde9
push dword [ebp - 0xb8]
call fcn.004c1fb0
push dword [eax]
call fcn.004c3220
push eax
push 0x514260
push edi
call fcn.004c2e20
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4c2521
push eax
call fcn.00492e7f
add esp, 4
push 0xfde9
push dword [ebp - 0xac]
lea ecx, [ebp - 0x94]
call fcn.004c1fb0
push dword [eax]
call fcn.004c3220
push eax
push 0x514264
push edi
call fcn.004c2e20
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4c2566
push eax
call fcn.00492e7f
add esp, 4
push 0xfde9
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x94]
call fcn.004c1fb0
push dword [eax]
call fcn.004c3220
push eax
push str.mid2
push edi
call fcn.004c2e20
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4c25ab
push eax
call fcn.00492e7f
add esp, 4
push 0xfde9
push dword [ebp + 8]
lea ecx, [ebp - 0x94]
call fcn.004c1fb0
push dword [eax]
call fcn.004c3220
push eax
push str.appver
push edi
call fcn.004c2e20
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4c25ed
push eax
call fcn.00492e7f
add esp, 4
push 0xfde9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x94]
call fcn.004c1fb0
push dword [eax]
call fcn.004c3220
push eax
push str.modver
push edi
call fcn.004c2e20
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4c262f
push eax
call fcn.00492e7f
add esp, 4
push str.aswrite
call fcn.004c3220
push eax
push 0x514288
push edi
call fcn.004c2e20
add esp, 0x10
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x4c29bc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
push edi
mov byte [ebp - 4], 6
call fcn.004c3720
add esp, 4
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x4c27b5
push str.082a732b_e8bd_466b_a817_ac9f40b6cd50
lea ecx, [ebp - 0xb4]
call fcn.004c1ec0
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.004c1ec0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004c6460
add esp, 0xc
mov edx, dword [eax]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0xc0], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0xb0], eax
cmp eax, ecx
je 0x4c2744
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4c272f
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4c272f
push dword [ebp - 0xb0]
call fcn.00405fa0
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4c2724
mov esi, dword [ebp - 0xc0]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xb0]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
jmp 0x4c2744
push dword [edx - 0xc]
lea ecx, [ebp - 0xa4]
push edx
call fcn.00407a00
mov esi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xbc]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2765
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2786
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb4]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c27a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa0]
call fcn.00492e7f
add esp, 4
push edi
call fcn.004c33b0
add esp, 4
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x4c29c6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0xa
call fcn.0041bd00
mov ecx, eax
test ecx, ecx
je 0x4c29d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
push str.http:__api.love2work.cn_pc_ud_eva
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.00405e70
test al, al
jne 0x4c2826
push 0x21
push str.http:__api.love2work.cn_pc_ud_eva
lea ecx, [ebp - 0x98]
call fcn.00407a00
push 0
push 0x7530
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004c29e0
mov edx, dword [ebp - 0x98]
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 0xa
mov eax, ebx
sete byte [ebp - 0x99]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2878
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x99], 0
mov edi, dword [ebp - 0xa0]
je 0x4c2893
mov dword [ebp - 0x98], 0
jmp 0x4c28ae
push 0x5142fc
push edi
call fcn.004d03ed
xor ecx, ecx
add esp, 8
test eax, eax
sete cl
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4c28c9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c28e4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa8]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2905
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2926
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb8]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c2947
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x98]
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 0x4c296b
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 0x4c298a
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.004447da
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
push 0x80004005
call fcn.00402ae0
int3