Function at 0x4215c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5bc7
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x52965c]
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 - 0xa4], ebx
call fcn.00411720
mov edi, eax
test edi, edi
je 0x4219b5
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x94]
call fcn.0041c6e0
push dword [eax]
call fcn.00411750
push eax
push str.type
push edi
call fcn.00411350
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x421644
push eax
call fcn.0048faa8
add esp, 4
push 0
push dword [ebx + 8]
lea ecx, [ebp - 0x94]
call fcn.0041c6e0
push dword [eax]
call fcn.00411750
push eax
push str.content
push edi
call fcn.00411350
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x421683
push eax
call fcn.0048faa8
add esp, 4
push 0
push dword [ebx + 0x1c]
lea ecx, [ebp - 0x94]
call fcn.0041c6e0
push dword [eax]
call fcn.00411750
push eax
push 0x4f446c
push edi
call fcn.00411350
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4216c2
push eax
call fcn.0048faa8
add esp, 4
push 0
push dword [ebx + 0x14]
lea ecx, [ebp - 0x94]
call fcn.0041c6e0
push dword [eax]
call fcn.00411750
push eax
push 0x4f4470
push edi
call fcn.00411350
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x421701
push eax
call fcn.0048faa8
add esp, 4
push 0
push dword [ebx + 0x18]
lea ecx, [ebp - 0x94]
call fcn.0041c6e0
push dword [eax]
call fcn.00411750
push eax
push str.mid2
push edi
call fcn.00411350
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x421740
push eax
call fcn.0048faa8
add esp, 4
push 0
push dword [ebx + 0x10]
lea ecx, [ebp - 0x94]
call fcn.0041c6e0
push dword [eax]
call fcn.00411750
push eax
push str.appver
push edi
call fcn.00411350
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42177f
push eax
call fcn.0048faa8
add esp, 4
push 0
push dword [ebx + 0xc]
lea ecx, [ebp - 0x94]
call fcn.0041c6e0
push dword [eax]
call fcn.00411750
push eax
push str.modver
push edi
call fcn.00411350
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x4217be
push eax
call fcn.0048faa8
add esp, 4
push 0x4f45a4
call fcn.00411750
push eax
push str.askver
push edi
call fcn.00411350
push edi
call fcn.00411c50
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4219ac
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4217f0
sub ecx, edx
je 0x4219ac
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x4219d1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov eax, str.9c2bfc39_1034_421b_999e_e55c69ab7a2c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
test eax, 0xffff0000
jne 0x421840
movzx eax, ax
push eax
call fcn.004066f0
jmp 0x42184c
push 0x24
push str.9c2bfc39_1034_421b_999e_e55c69ab7a2c
call fcn.004068a0
mov dword [ebp - 4], 1
call fcn.00405e40
mov ecx, eax
test ecx, ecx
je 0x4219db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 2
test ebx, 0xffff0000
jne 0x42188d
movzx eax, bx
lea ecx, [ebp - 0x98]
push eax
call fcn.004066f0
jmp 0x421908
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [eax - 1]
test esi, esi
jle 0x4218fd
mov ecx, dword [ebp - 0x98]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x4218ce
push esi
lea ecx, [ebp - 0x98]
call fcn.00404800
mov ecx, dword [ebp - 0x98]
push esi
push ecx
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x98]
cmp esi, dword [eax - 8]
jg 0x4219e5
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x98]
mov word [eax + esi*2], cx
jmp 0x421908
lea ecx, [ebp - 0x98]
call fcn.00414c70
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00468810
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
push eax
add ecx, 0x20
mov byte [ebp - 4], 4
call fcn.004138e0
mov edx, dword [ebp - 0xa0]
or esi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421960
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421981
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4219a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.0048faa8
add esp, 4
push edi
call fcn.004118e0
add esp, 4
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.0045e5d8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004043b0
push 0x80004005
call fcn.004043b0
push 0x80070057
call fcn.004043b0
int3