Function at 0x422e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e59c
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edi, [ebx + 4]
mov dword [ebp - 0x41c], edx
mov edx, dword [esi + 8]
mov dword [edi + 4], edx
xor edx, edx
push edx
push edx
push edx
push ecx
push 0x4b
push eax
push edx
push edx
push 0x50000000
push edx
push str.Static
push edx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x420], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0x4b
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
push 0x4184b0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x41c]
xor edx, edx
mov dword [edi + 0x1c], edx
mov dword [ebx], vtable.SettingsComposite.0
mov dword [ebx + 0x30], eax
mov esi, dword [esi + 0x10]
mov dword [ebp - 0x414], edx
mov ecx, 0x47ac5a
lea esp, [esp]
movzx eax, word [ecx - 2]
shl edx, 5
sub edx, dword [ebp - 0x414]
add ecx, 0xa
add eax, edx
mov edx, eax
shl edx, 5
sub edx, eax
movzx eax, word [ecx - 0xa]
add edx, eax
mov eax, edx
shl eax, 5
sub eax, edx
movzx edx, word [ecx - 8]
add eax, edx
mov edx, eax
shl edx, 5
sub edx, eax
movzx eax, word [ecx - 6]
add edx, eax
mov eax, edx
shl eax, 5
sub eax, edx
movzx edx, word [ecx - 4]
add edx, eax
mov dword [ebp - 0x414], edx
cmp ecx, str.PEN_TORRENT_VIA_ZONA
jl 0x422ec0
mov dword [ebp - 0x414], edx
lea edx, [ebp - 0x414]
mov eax, esi
call fcn.00418af0
mov eax, dword [eax]
test eax, eax
jne 0x422f32
mov eax, str.LAUNCH_ON_WINDOWS_STARTUP
push 0x47ac4c
push eax
push 0x200
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0045102c
push 0x18
call fcn.00450883
mov esi, eax
xor edx, edx
add esp, 0x18
cmp esi, edx
je 0x422fc1
mov eax, dword [edi]
mov ecx, dword [ebx + 8]
push edx
push edx
push edx
push eax
push 0x19
mov dword [ebp - 0x414], ecx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x420]
push ecx
push edx
push edx
push 0x50000003
mov dword [esi + 8], ecx
lea ecx, [ebp - 0x410]
push ecx
push str.Button
push 0x8000000
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x414]
push 1
mov dword [esi], eax
mov ecx, dword [edx]
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x422fc3
xor esi, esi
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x24], esi
mov al, byte [eax + 1]
mov esi, dword [esi]
xor ecx, ecx
test al, al
setne cl
push 0
push ecx
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x18
call fcn.00450883
add esp, 4
mov dword [ebp - 0x424], eax
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x4230b7
mov edx, dword [ebp - 0x428]
mov eax, dword [edx + 0x10]
push str.PEN_TORRENT_VIA_ZONA
push 0x47acb8
mov dword [ebp - 0x418], eax
call fcn.00405c30
add esp, 8
mov esi, eax
call fcn.0041ae80
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x414]
call fcn.00418af0
mov edx, dword [eax]
test edx, edx
jne 0x42304b
mov edx, esi
mov eax, dword [edi]
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 0x424]
push 0
push 0
push 0
push eax
push 0x19
mov dword [ebp - 0x418], ecx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x420]
push ecx
push 0x19
push 0
push 0x50000003
push edx
push str.Button
push 0x8000000
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x19
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x418]
push 1
mov dword [esi], eax
mov ecx, dword [ecx]
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x28], esi
mov al, byte [edx + 2]
mov esi, dword [esi]
xor ecx, ecx
test al, al
setne cl
push 0
push ecx
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x18
call fcn.00450883
add esp, 4
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4231aa
mov edx, dword [ebp - 0x428]
mov eax, dword [edx + 0x10]
push 0x47acbc
push 0x47a52c
mov dword [ebp - 0x418], eax
call fcn.00405c30
add esp, 8
mov esi, eax
call fcn.0041ae80
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x424]
call fcn.00418af0
mov edx, dword [eax]
test edx, edx
jne 0x423148
mov edx, esi
mov eax, dword [edi]
mov ecx, dword [ebp - 0x420]
mov edi, dword [ebx + 8]
mov esi, dword [ebp - 0x414]
push 0
push 0
push 0
push eax
push 0x19
push ecx
push 0x32
push 0
push 0x50000003
push edx
push str.Button
push 0x8000000
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x19
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x32
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
mov dword [esi], eax
mov ecx, dword [edi]
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4231ac
xor esi, esi
mov eax, dword [ebp - 0x41c]
xor edx, edx
mov dword [ebx + 0x2c], esi
cmp byte [eax + 3], dl
mov ecx, dword [esi]
setne dl
push 0
push edx
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x1c], ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 8