Function at 0x42d950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538537
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x597644]
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.00413d50
mov edi, eax
test edi, edi
je 0x42dd45
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x94]
call fcn.004213f0
push dword [eax]
call fcn.00413d80
push eax
push str.type
push edi
call fcn.00413980
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42d9d4
push eax
call fcn.00508734
add esp, 4
push 0
push dword [ebx + 8]
lea ecx, [ebp - 0x94]
call fcn.004213f0
push dword [eax]
call fcn.00413d80
push eax
push str.content
push edi
call fcn.00413980
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42da13
push eax
call fcn.00508734
add esp, 4
push 0
push dword [ebx + 0x1c]
lea ecx, [ebp - 0x94]
call fcn.004213f0
push dword [eax]
call fcn.00413d80
push eax
push 0x550df8
push edi
call fcn.00413980
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42da52
push eax
call fcn.00508734
add esp, 4
push 0
push dword [ebx + 0x14]
lea ecx, [ebp - 0x94]
call fcn.004213f0
push dword [eax]
call fcn.00413d80
push eax
push 0x550dec
push edi
call fcn.00413980
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42da91
push eax
call fcn.00508734
add esp, 4
push 0
push dword [ebx + 0x18]
lea ecx, [ebp - 0x94]
call fcn.004213f0
push dword [eax]
call fcn.00413d80
push eax
push str.mid2
push edi
call fcn.00413980
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42dad0
push eax
call fcn.00508734
add esp, 4
push 0
push dword [ebx + 0x10]
lea ecx, [ebp - 0x94]
call fcn.004213f0
push dword [eax]
call fcn.00413d80
push eax
push str.appver
push edi
call fcn.00413980
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42db0f
push eax
call fcn.00508734
add esp, 4
push 0
push dword [ebx + 0xc]
lea ecx, [ebp - 0x94]
call fcn.004213f0
push dword [eax]
call fcn.00413d80
push eax
push str.modver
push edi
call fcn.00413980
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
add esp, 0x10
cmp eax, ecx
je 0x42db4e
push eax
call fcn.00508734
add esp, 4
push 0x5516d4
call fcn.00413d80
push eax
push str.askver
push edi
call fcn.00413980
push edi
call fcn.00414280
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x42dd3c
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42db80
sub ecx, edx
je 0x42dd3c
call fcn.00412520
mov ecx, eax
test ecx, ecx
je 0x42dd61
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 0x42dbd0
movzx eax, ax
push eax
call fcn.0040d860
jmp 0x42dbdc
push 0x24
push str.9c2bfc39_1034_421b_999e_e55c69ab7a2c
call fcn.0040dcb0
mov dword [ebp - 4], 1
call fcn.00412520
mov ecx, eax
test ecx, ecx
je 0x42dd6b
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 0x42dc1d
movzx eax, bx
lea ecx, [ebp - 0x98]
push eax
call fcn.0040d860
jmp 0x42dc98
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 0x42dc8d
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 0x42dc5e
push esi
lea ecx, [ebp - 0x98]
call fcn.0040c910
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 0x42dd75
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x98]
mov word [eax + esi*2], cx
jmp 0x42dc98
lea ecx, [ebp - 0x98]
call fcn.00417690
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.004a2530
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
push eax
add ecx, 0x20
mov byte [ebp - 4], 4
call fcn.004160a0
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 0x42dcf0
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 0x42dd11
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 0x42dd33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.00508734
add esp, 4
push edi
call fcn.00413f10
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.004982ff
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ada0
push 0x80004005
call fcn.0040ada0
push 0x80070057
call fcn.0040ada0
int3