Function at 0x40ad30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cd91
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ecx
push ecx
push ecx
push edx
lea edi, [esi + 4]
push 0x4b
add eax, 8
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push ecx
push 0x50000000
push ecx
push str.Static
push ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0x4b
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi], eax
call ebx
mov eax, dword [edi]
push 0x403ba0
push 0xfffffffffffffffc
push eax
call ebx
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x1c], 0
push 0x18
mov dword [esi], vtable.SettingsComposite.0
mov dword [esi + 0x30], eax
call fcn.0040fafb
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40ae4f
mov ecx, dword [ebp + 0xc]
add ecx, 0x264
push ecx
mov esi, str.LAUNCH_ON_WINDOWS_STARTUP
call fcn.00404060
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov edx, dword [ebp + 0x10]
push 0
push 0
push 0
push ecx
push 0x19
push edx
push 0
push 0
push 0x50000003
push eax
push str.Button
push 0
mov dword [ebx + 4], esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], 0x19
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [ebx], eax
mov esi, dword [esi]
push esi
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 8]
jmp 0x40ae51
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x24], ebx
mov al, byte [eax + 1]
mov ebx, dword [ebx]
xor ecx, ecx
test al, al
setne cl
push 0
push ecx
push 0xf1
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x18
call fcn.0040fafb
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
test ebx, ebx
je 0x40af03
mov edx, dword [ebp + 0xc]
add edx, 0x264
push edx
mov esi, str.OPEN_TORRENT_VIA_ZONA
call fcn.00404060
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov edx, dword [ebp + 0x10]
push 0
push 0
push 0
push ecx
push 0x19
push edx
push 0x19
push 0
push 0x50000003
push eax
push str.Button
push 0
mov dword [ebx + 4], esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], 0x19
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x19
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [ebx], eax
mov esi, dword [esi]
push esi
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 8]
jmp 0x40af05
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x28], ebx
mov al, byte [eax + 2]
mov ebx, dword [ebx]
xor ecx, ecx
test al, al
setne cl
push 0
push ecx
push 0xf1
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x18
call fcn.0040fafb
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 2
test ebx, ebx
je 0x40afb7
mov edx, dword [ebp + 0xc]
add edx, 0x264
push edx
mov esi, str.ADD_FIREWALL_EXCEPTION
call fcn.00404060
mov edi, dword [edi]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 8]
mov ecx, dword [ebp + 0x10]
push 0
push 0
push 0
push edi
push 0x19
push ecx
push 0x32
push 0
push 0x50000003
push eax
push str.Button
push 0
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], 0x19
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x32
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [ebx], eax
mov edx, dword [esi]
push edx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 8]
jmp 0x40afb9
xor ebx, ebx
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [esi + 0x2c], ebx
cmp byte [ecx + 3], al
mov edx, dword [ebx]
setne al
push 0
push eax
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x1c], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10