Function at 0x42dae0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537ac7
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x596634]
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.00413f10
mov edi, eax
test edi, edi
je 0x42ded5
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x94]
call fcn.00421590
push dword [eax]
call fcn.00413f40
push eax
push str.type
push edi
call fcn.00413b40
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42db64
push eax
call fcn.00507cd4
add esp, 4
push 0
push dword [ebx + 8]
lea ecx, [ebp - 0x94]
call fcn.00421590
push dword [eax]
call fcn.00413f40
push eax
push str.content
push edi
call fcn.00413b40
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42dba3
push eax
call fcn.00507cd4
add esp, 4
push 0
push dword [ebx + 0x1c]
lea ecx, [ebp - 0x94]
call fcn.00421590
push dword [eax]
call fcn.00413f40
push eax
push 0x54fe08
push edi
call fcn.00413b40
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42dbe2
push eax
call fcn.00507cd4
add esp, 4
push 0
push dword [ebx + 0x14]
lea ecx, [ebp - 0x94]
call fcn.00421590
push dword [eax]
call fcn.00413f40
push eax
push 0x54fdfc
push edi
call fcn.00413b40
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42dc21
push eax
call fcn.00507cd4
add esp, 4
push 0
push dword [ebx + 0x18]
lea ecx, [ebp - 0x94]
call fcn.00421590
push dword [eax]
call fcn.00413f40
push eax
push str.mid2
push edi
call fcn.00413b40
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42dc60
push eax
call fcn.00507cd4
add esp, 4
push 0
push dword [ebx + 0x10]
lea ecx, [ebp - 0x94]
call fcn.00421590
push dword [eax]
call fcn.00413f40
push eax
push str.appver
push edi
call fcn.00413b40
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42dc9f
push eax
call fcn.00507cd4
add esp, 4
push 0
push dword [ebx + 0xc]
lea ecx, [ebp - 0x94]
call fcn.00421590
push dword [eax]
call fcn.00413f40
push eax
push str.modver
push edi
call fcn.00413b40
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42dcde
push eax
call fcn.00507cd4
add esp, 4
push 0x5506bc
call fcn.00413f40
push eax
push str.askver
push edi
call fcn.00413b40
push edi
call fcn.00414440
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x42decc
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42dd10
sub ecx, edx
je 0x42decc
call fcn.004126e0
mov ecx, eax
test ecx, ecx
je 0x42def1
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 0x42dd60
movzx eax, ax
push eax
call fcn.0040da20
jmp 0x42dd6c
push 0x24
push str.9c2bfc39_1034_421b_999e_e55c69ab7a2c
call fcn.0040de70
mov dword [ebp - 4], 1
call fcn.004126e0
mov ecx, eax
test ecx, ecx
je 0x42defb
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 0x42ddad
movzx eax, bx
lea ecx, [ebp - 0x98]
push eax
call fcn.0040da20
jmp 0x42de28
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 0x42de1d
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 0x42ddee
push esi
lea ecx, [ebp - 0x98]
call fcn.0040cad0
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 0x42df05
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x98]
mov word [eax + esi*2], cx
jmp 0x42de28
lea ecx, [ebp - 0x98]
call fcn.00417850
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.004a0f80
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
push eax
add ecx, 0x20
mov byte [ebp - 4], 4
call fcn.00416260
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 0x42de80
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 0x42dea1
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 0x42dec3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.00507cd4
add esp, 4
push edi
call fcn.004140d0
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.00496d46
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040af60
push 0x80004005
call fcn.0040af60
push 0x80070057
call fcn.0040af60
int3