Function at 0x4d86f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e635
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x550204]
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.004d9580
mov edi, eax
or ebx, 0xffffffff
test edi, edi
jne 0x4d873a
xor esi, esi
jmp 0x4d8cf2
mov ecx, dword [0x555fc8]
test ecx, ecx
jne 0x4d87a0
push 0x54edd0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x555fc8], 0
jne 0x4d878f
push 0x28
call fcn.0041f240
add esp, 4
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4d8779
mov ecx, eax
call fcn.00406400
jmp 0x4d877b
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x555fc8], eax
push 0x54edd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x555fc8]
lea eax, [ebp - 0xbc]
push eax
call fcn.00408920
mov byte [ebp - 4], 3
call fcn.0041f5a0
mov ecx, eax
test ecx, ecx
je 0x4d8d4d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 4
call fcn.0041f5a0
mov ecx, eax
test ecx, ecx
je 0x4d8d57
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 5
call fcn.00408770
mov ecx, eax
call fcn.0044f950
mov edx, eax
test edx, edx
jne 0x4d8808
xor ecx, ecx
jmp 0x4d881f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d8810
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb0]
call fcn.00409b60
call fcn.00408770
mov ecx, eax
call fcn.0044f930
mov edx, eax
test edx, edx
jne 0x4d8842
xor ecx, ecx
jmp 0x4d8856
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d8847
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.00409b60
push 0x52d8e4
call fcn.004d95b0
push eax
push str.type
push edi
call fcn.004d91b0
add esp, 0x10
lea ecx, [ebp - 0x94]
push 0xfde9
push dword [ebp - 0xbc]
call fcn.004d80e0
push dword [eax]
call fcn.004d95b0
push eax
push 0x52d8f0
push edi
call fcn.004d91b0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4d88c1
push eax
call fcn.004a442b
add esp, 4
push 0xfde9
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x94]
call fcn.004d80e0
push dword [eax]
call fcn.004d95b0
push eax
push 0x52d8f4
push edi
call fcn.004d91b0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4d8906
push eax
call fcn.004a442b
add esp, 4
push 0xfde9
push dword [ebp - 0xac]
lea ecx, [ebp - 0x94]
call fcn.004d80e0
push dword [eax]
call fcn.004d95b0
push eax
push str.mid2
push edi
call fcn.004d91b0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4d894b
push eax
call fcn.004a442b
add esp, 4
push 0xfde9
push dword [ebp + 8]
lea ecx, [ebp - 0x94]
call fcn.004d80e0
push dword [eax]
call fcn.004d95b0
push eax
push str.appver
push edi
call fcn.004d91b0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4d898d
push eax
call fcn.004a442b
add esp, 4
push 0xfde9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x94]
call fcn.004d80e0
push dword [eax]
call fcn.004d95b0
push eax
push str.modver
push edi
call fcn.004d91b0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4d89cf
push eax
call fcn.004a442b
add esp, 4
push str.magic
call fcn.004d95b0
push eax
push 0x52d918
push edi
call fcn.004d91b0
add esp, 0x10
call fcn.0041f5a0
mov ecx, eax
test ecx, ecx
je 0x4d8d61
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.004d9ab0
add esp, 4
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x4d8b55
push str.082a732b_e8bd_466b_a817_ac9f40b6cd50
lea ecx, [ebp - 0xb8]
call fcn.004d7ff0
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.004d7ff0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004dbc30
add esp, 0xc
mov edx, dword [eax]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0xc4], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0xb4], eax
cmp eax, ecx
je 0x4d8ae4
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4d8acf
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4d8acf
push dword [ebp - 0xb4]
call fcn.00407db0
add esp, 4
mov dword [ebp - 0xb4], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4d8ac4
mov esi, dword [ebp - 0xc4]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0xb4]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
jmp 0x4d8ae4
push dword [edx - 0xc]
lea ecx, [ebp - 0xa4]
push edx
call fcn.00409b60
mov esi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xc0]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8b05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x9c]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8b26
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], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8b47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa0]
call fcn.004a442b
add esp, 4
push edi
call fcn.004d9740
add esp, 4
lea ecx, [ebp - 0x95]
call fcn.004d82e0
push eax
lea ecx, [ebp - 0xa8]
call fcn.00406360
cmp byte [ebp + 0x10], 0
mov byte [ebp - 4], 0xa
je 0x4d8bbc
lea ecx, [ebp - 0x95]
call fcn.004d83c0
mov edx, eax
test edx, edx
jne 0x4d8b94
xor ecx, ecx
jmp 0x4d8baf
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d8ba0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00409b60
call fcn.0041f5a0
mov ecx, eax
test ecx, ecx
je 0x4d8d6b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa0], eax
push 0
push 0xbb8
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004d8d80
mov edi, dword [ebp - 0xa0]
add esp, 0x14
test eax, eax
jne 0x4d8c17
mov dword [ebp - 0x9c], 0
jmp 0x4d8c32
push 0x52d944
push edi
call fcn.004e5aad
xor ecx, ecx
add esp, 8
test eax, eax
sete cl
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 0xa
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4d8c4d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa8]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8c6e
mov ecx, dword [edx]
push edx
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 0x4d8c89
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xac]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8caa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb0]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8ccb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xbc]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4d8cec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x9c]
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 0x4d8d10
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 0x4d8d2f
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.0044d79a
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
int3