Function at 0x445ca0
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov edx, dword [0x468ec0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [eax*8]
push edi
sub ecx, eax
mov edi, dword [edx + ecx*8 + 8]
mov ebx, dword [edi + 0x24]
mov eax, dword [edi + 4]
push edi
push esi
push ebx
mov dword [esp + 0x44], eax
call fcn.0040ac80
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x446016
cmp dword [0x476bc4], eax
je 0x445f93
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x445e41
mov ecx, dword [edi + 0x18]
fld qword [esi + ecx*8]
sub esp, 8
fadd qword [0x466d60]
fstp qword [esp]
call sub.MSVCR100.dll_floor
fst qword [ebx]
add esp, 8
fcomp qword [0x4802c0]
fnstsw ax
test ah, 0x41
jne 0x445e41
push str.ID_must_be_no_more_than_12_digits_long_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
cmp dword [0x4a5b3c], 0
je 0x445db7
cmp dword [0x489ad0], 0
je 0x445db7
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x445d89
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll__ftelli64]
add esp, 4
push edx
push eax
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x445da7
mov ecx, dword [0x489ad0]
push str.__body___html__n
push ecx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov edx, dword [0x489ad0]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov eax, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push eax
call esi
mov ecx, dword [0x4899d8]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802bc]
add esp, 4
push edx
call esi
mov eax, dword [0x4802cc]
add esp, 4
push eax
call esi
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x445e39
call fcn.00409900
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x445ff1
mov edx, dword [edi + 0x1c]
fld qword [esi + edx*8]
sub esp, 8
fadd qword [0x466d60]
fstp qword [esp]
call sub.MSVCR100.dll_floor
fst qword [ebx]
add esp, 8
fcomp qword [0x4802c0]
fnstsw ax
test ah, 0x41
jne 0x445ff1
push str.ID_must_be_no_more_than_12_digits_long_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
cmp dword [0x4a5b3c], 0
je 0x445f08
cmp dword [0x489ad0], 0
je 0x445f08
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x445edb
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov ecx, dword [0x489ad0]
add esp, 4
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x445ef9
mov edx, dword [0x489ad0]
push str.__body___html__n
push edx
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 8
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
mov edx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push edx
call esi
mov eax, dword [0x4899d8]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802bc]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802cc]
add esp, 4
push edx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x445f8b
call fcn.00409900
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x445fc2
mov eax, dword [edi + 0x18]
imul eax, eax, 0xd
add eax, ebx
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x445fa2
mov esi, dword [ebp + 0x10]
mov eax, 0xc
call fcn.00409670
mov eax, esi
mov esi, dword [ebp + 0xc]
mov byte [eax + 0xc], 0
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x445ff1
mov eax, dword [edi + 0x1c]
imul eax, eax, 0xd
add eax, ebx
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x445fd1
mov esi, dword [ebp + 0x14]
mov eax, 0xc
call fcn.00409670
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov byte [ecx + 0xc], 0
xor eax, eax
cmp dword [edi + 0x14], eax
jle 0x446016
jmp 0x446000
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + eax*4]
fld qword [esi + ecx*8]
mov edx, dword [ebp + 8]
fstp qword [edx + eax*8]
inc eax
cmp eax, dword [edi + 0x14]
jl 0x446000
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret