Function at 0x462f30
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db3b6
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x51cca4]
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 edi, ecx
mov esi, dword [ebp + 8]
push str.Close
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x462f84
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4631ec
push str.EnableLog
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x462fb0
push str.c:pdanet.log
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x51f758], 1
jmp 0x4631ec
push str.Test
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x46306f
cmp dword [0x51f2dc], eax
jne 0x462fdf
push 0x10
push str.PdaNet
push str.Please_connect_PdaNet_first_before_performing_Internet_Test
jmp 0x4631e3
lea eax, [ebp - 0x420]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
push 2
lea eax, [edx + 0x19f]
mov dword [ebp - 0x414], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x418]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
call fcn.004897e6
mov esi, eax
add esp, 4
mov dword [ebp - 0x424], esi
test esi, esi
je 0x46304b
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi], vtable.InetTestThread.0
jmp 0x46304d
xor esi, esi
lea eax, [esi + 4]
mov byte [esi + 0xc], 1
push eax
push 0
push esi
push 0x464130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
jmp 0x4631ec
push str.CopyResult
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x46316b
push str.testResult
lea ecx, [ebp - 0x434]
mov word [ebp - 0x434], ax
call fcn.00460bb0
push 0
push 0
lea eax, [ebp - 0x434]
mov dword [ebp - 4], 0
push eax
push str.getCtlValue
lea eax, [ebp - 0x444]
mov ecx, edi
push eax
call fcn.00461560
push eax
lea ecx, [ebp - 0x420]
call fcn.00460650
push dword [ebp - 0x418]
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call fcn.00460620
mov ebx, dword [ebp - 0x418]
test ebx, ebx
je 0x46310b
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4630f1
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x46310f
xor eax, eax
jmp 0x463124
add esi, esi
mov eax, esi
call fcn.00489c90
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00461300
push eax
call fcn.00461920
add esp, 4
push 0x40
push str.PdaNet
push str.Connection_test_result_has_been_copied_to_clipboard.
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x424]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x434]
push eax
call esi
jmp 0x4631ec
push str.ShowRegistration
push esi
call fcn.004b7d68
add esp, 8
test eax, eax
jne 0x4631ec
cmp dword [0x51f5b0], eax
je 0x4631d7
cmp dword [0x51f5fc], 0x10
mov eax, 0x51f5e8
cmovae eax, dword [0x51f5e8]
push eax
lea eax, [ebp - 0x410]
push str.PdaNet_has_been_registered._It_was_licensed_to__n_s.__n_nDo_you_want_to_unregister_
push eax
call fcn.004646a0
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x24
push str.Registration_Info
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4631ec
push 1
mov ecx, 0x51f568
call fcn.004728b0
jmp 0x4631ec
push 0
push str.Registration_Info
push str.This_copy_of_PdaNet_is_not_registered_and_running_in_Trial_Mode
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x454]
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.00489c7b
mov esp, ebp
pop ebp
ret 4